0s autopkgtest [21:46:07]: starting date and time: 2024-03-19 21:46:07+0000 0s autopkgtest [21:46:07]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [21:46:07]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.mijv4jio/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glib2.0,src:elfutils --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-s390x-14.secgroup --name adt-noble-s390x-glib2.0-20240319-214607-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 150s autopkgtest [21:48:37]: testbed dpkg architecture: s390x 150s autopkgtest [21:48:37]: testbed apt version: 2.7.12 150s autopkgtest [21:48:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 151s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 152s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.7 kB] 152s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3757 kB] 154s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 154s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [493 kB] 154s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [649 kB] 154s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 154s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 154s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 154s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3984 kB] 155s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 155s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [34.4 kB] 155s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 156s Fetched 9105 kB in 4s (2146 kB/s) 157s Reading package lists... 160s Reading package lists... 160s Building dependency tree... 160s Reading state information... 160s Calculating upgrade... 160s The following packages will be REMOVED: 160s libglib2.0-0 160s The following NEW packages will be installed: 160s libglib2.0-0t64 xdg-user-dirs 160s The following packages will be upgraded: 160s gir1.2-glib-2.0 libglib2.0-data 161s 2 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 161s Need to get 1811 kB of archives. 161s After this operation, 159 kB of additional disk space will be used. 161s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-glib-2.0 s390x 2.79.3-3ubuntu5 [180 kB] 161s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-0t64 s390x 2.79.3-3ubuntu5 [1566 kB] 162s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 162s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x xdg-user-dirs s390x 0.18-1 [18.5 kB] 162s Fetched 1811 kB in 2s (1114 kB/s) 163s (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 ... 52171 files and directories currently installed.) 163s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_s390x.deb ... 163s Unpacking gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 163s dpkg: libglib2.0-0:s390x: dependency problems, but removing anyway as you requested: 163s udisks2 depends on libglib2.0-0 (>= 2.77.0). 163s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 163s s390-tools depends on libglib2.0-0 (>= 2.77.0). 163s python3-gi depends on libglib2.0-0 (>= 2.77.0). 163s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 163s netplan.io depends on libglib2.0-0 (>= 2.70.0). 163s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 163s libxmlb2:s390x depends on libglib2.0-0 (>= 2.54.0). 163s libvolume-key1:s390x depends on libglib2.0-0 (>= 2.18.0). 163s libudisks2-0:s390x depends on libglib2.0-0 (>= 2.75.3). 163s libqrtr-glib0:s390x depends on libglib2.0-0 (>= 2.56). 163s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 163s libqmi-glib5:s390x depends on libglib2.0-0 (>= 2.54.0). 163s libpolkit-gobject-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 163s libpolkit-agent-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 163s libnetplan0:s390x depends on libglib2.0-0 (>= 2.75.3). 163s libmm-glib0:s390x depends on libglib2.0-0 (>= 2.62.0). 163s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 163s libmbim-glib4:s390x depends on libglib2.0-0 (>= 2.56). 163s libjson-glib-1.0-0:s390x depends on libglib2.0-0 (>= 2.75.3). 163s libjcat1:s390x depends on libglib2.0-0 (>= 2.75.3). 163s libgusb2:s390x depends on libglib2.0-0 (>= 2.75.3). 163s libgudev-1.0-0:s390x depends on libglib2.0-0 (>= 2.38.0). 163s libgirepository-1.0-1:s390x depends on libglib2.0-0 (>= 2.79.0). 163s libfwupd2:s390x depends on libglib2.0-0 (>= 2.79.0). 163s libblockdev3:s390x depends on libglib2.0-0 (>= 2.42.2). 163s libblockdev-utils3:s390x depends on libglib2.0-0 (>= 2.75.3). 163s libblockdev-swap3:s390x depends on libglib2.0-0 (>= 2.42.2). 163s libblockdev-part3:s390x depends on libglib2.0-0 (>= 2.42.2). 163s libblockdev-nvme3:s390x depends on libglib2.0-0 (>= 2.42.2). 163s libblockdev-mdraid3:s390x depends on libglib2.0-0 (>= 2.42.2). 163s libblockdev-loop3:s390x depends on libglib2.0-0 (>= 2.42.2). 163s libblockdev-fs3:s390x depends on libglib2.0-0 (>= 2.42.2). 163s libblockdev-crypto3:s390x depends on libglib2.0-0 (>= 2.42.2). 163s fwupd depends on libglib2.0-0 (>= 2.79.0). 163s bolt depends on libglib2.0-0 (>= 2.56.0). 163s 163s (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 ... 52171 files and directories currently installed.) 163s Removing libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 163s Selecting previously unselected package libglib2.0-0t64:s390x. 163s (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 ... 52146 files and directories currently installed.) 163s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_s390x.deb ... 163s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:s390x.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 163s removed '/var/lib/dpkg/info/libglib2.0-0:s390x.postrm' 163s Unpacking libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 163s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 163s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 163s Selecting previously unselected package xdg-user-dirs. 163s Preparing to unpack .../xdg-user-dirs_0.18-1_s390x.deb ... 163s Unpacking xdg-user-dirs (0.18-1) ... 163s Setting up xdg-user-dirs (0.18-1) ... 163s Setting up libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 163s No schema files found: doing nothing. 163s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 163s Setting up gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) ... 163s Processing triggers for man-db (2.12.0-3) ... 163s Processing triggers for libc-bin (2.39-0ubuntu2) ... 164s Reading package lists... 164s Building dependency tree... 164s Reading state information... 164s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 165s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 165s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 165s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 165s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 166s Reading package lists... 167s Reading package lists... 167s Building dependency tree... 167s Reading state information... 167s Calculating upgrade... 167s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 167s Reading package lists... 167s Building dependency tree... 167s Reading state information... 168s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 170s autopkgtest [21:48:57]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 171s autopkgtest [21:48:58]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 181s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (dsc) [4537 B] 181s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (tar) [263 kB] 181s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (tar) [5507 kB] 181s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (diff) [129 kB] 181s gpgv: Signature made Mon Mar 11 01:27:21 2024 UTC 181s gpgv: using RSA key AC483F68DE728F43F2202FCA568D30F321B2133D 181s gpgv: issuer "steve.langasek@ubuntu.com" 181s gpgv: Can't check signature: No public key 181s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.3-3ubuntu5.dsc: no acceptable signature found 182s autopkgtest [21:49:09]: testing package glib2.0 version 2.79.3-3ubuntu5 184s autopkgtest [21:49:11]: build not needed 200s autopkgtest [21:49:27]: test build: preparing testbed 201s Reading package lists... 201s Building dependency tree... 202s Reading state information... 202s Starting pkgProblemResolver with broken count: 0 202s Starting 2 pkgProblemResolver with broken count: 0 202s Done 202s The following additional packages will be installed: 202s build-essential cpp cpp-13 cpp-13-s390x-linux-gnu cpp-s390x-linux-gnu g++ 202s g++-13 g++-13-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-13 202s gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libatomic1 libblkid-dev 202s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 libffi-dev 202s libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 202s libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev libmpc3 libnsl-dev 202s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 202s libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev libubsan1 202s linux-libc-dev pkgconf pkgconf-bin python3-packaging rpcsvc-proto uuid-dev 202s zlib1g-dev 202s Suggested packages: 202s cpp-doc gcc-13-locales cpp-13-doc g++-multilib g++-13-multilib gcc-13-doc 202s gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc 202s gcc-13-multilib gdb-s390x-linux-gnu glibc-doc gir1.2-glib-2.0-dev 202s libglib2.0-doc libgdk-pixbuf2.0-bin libxml2-utils libstdc++-13-doc 202s Recommended packages: 202s manpages manpages-dev libc-devtools 202s The following packages will be REMOVED: 202s libelf1 202s The following NEW packages will be installed: 202s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-s390x-linux-gnu 202s cpp-s390x-linux-gnu g++ g++-13 g++-13-s390x-linux-gnu g++-s390x-linux-gnu 202s gcc gcc-13 gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libatomic1 202s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 202s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 202s libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev libmpc3 libnsl-dev 202s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 202s libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev libubsan1 202s linux-libc-dev pkgconf pkgconf-bin python3-packaging rpcsvc-proto uuid-dev 202s zlib1g-dev 202s 0 upgraded, 51 newly installed, 1 to remove and 0 not upgraded. 202s Need to get 58.6 MB/58.6 MB of archives. 202s After this operation, 202 MB of additional disk space will be used. 202s Get:1 /tmp/autopkgtest.bRsZmz/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [720 B] 202s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libelf1t64 s390x 0.190-1.1build2 [69.7 kB] 203s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libc-dev-bin s390x 2.39-0ubuntu2 [20.2 kB] 203s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x linux-libc-dev s390x 6.8.0-11.11 [1590 kB] 204s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt-dev s390x 1:4.4.36-4 [135 kB] 204s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libtirpc-dev s390x 1.3.4+ds-1build1 [225 kB] 204s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libnsl-dev s390x 1.3.0-3 [73.5 kB] 204s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB] 204s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libc6-dev s390x 2.39-0ubuntu2 [1629 kB] 204s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libisl23 s390x 0.26-3 [722 kB] 205s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x libmpc3 s390x 1.3.1-1 [54.9 kB] 205s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13-s390x-linux-gnu s390x 13.2.0-17ubuntu2 [9929 kB] 206s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13 s390x 13.2.0-17ubuntu2 [1026 B] 206s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x cpp-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [5308 B] 206s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x cpp s390x 4:13.2.0-7ubuntu1 [22.4 kB] 206s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libcc1-0 s390x 14-20240303-1ubuntu1 [49.9 kB] 206s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x libgomp1 s390x 14-20240303-1ubuntu1 [151 kB] 206s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x libitm1 s390x 14-20240303-1ubuntu1 [31.1 kB] 206s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x libatomic1 s390x 14-20240303-1ubuntu1 [9392 B] 206s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libasan8 s390x 14-20240303-1ubuntu1 [2998 kB] 207s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x libubsan1 s390x 14-20240303-1ubuntu1 [1186 kB] 207s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-13-dev s390x 13.2.0-17ubuntu2 [1003 kB] 207s Get:23 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-s390x-linux-gnu s390x 13.2.0-17ubuntu2 [19.1 MB] 208s Get:24 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13 s390x 13.2.0-17ubuntu2 [467 kB] 208s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x gcc-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1208 B] 208s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x gcc s390x 4:13.2.0-7ubuntu1 [5014 B] 208s Get:27 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++-13-dev s390x 13.2.0-17ubuntu2 [2430 kB] 208s Get:28 http://ftpmaster.internal/ubuntu noble/main s390x g++-13-s390x-linux-gnu s390x 13.2.0-17ubuntu2 [11.3 MB] 209s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x g++-13 s390x 13.2.0-17ubuntu2 [14.4 kB] 209s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x g++-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [956 B] 209s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x g++ s390x 4:13.2.0-7ubuntu1 [1096 B] 209s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 209s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgirepository-2.0-0 s390x 2.79.3-3ubuntu5 [75.4 kB] 209s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-bin s390x 2.79.3-3ubuntu5 [101 kB] 209s Get:35 http://ftpmaster.internal/ubuntu noble/main s390x libffi-dev s390x 3.4.6-1 [58.8 kB] 209s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 209s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-dev-bin s390x 2.79.3-3ubuntu5 [225 kB] 209s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x uuid-dev s390x 2.39.3-6ubuntu2 [34.2 kB] 209s Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libblkid-dev s390x 2.39.3-6ubuntu2 [213 kB] 209s Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libsepol-dev s390x 3.5-2 [395 kB] 209s Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-16-0 s390x 10.42-4ubuntu1 [229 kB] 209s Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-32-0 s390x 10.42-4ubuntu1 [217 kB] 209s Get:43 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-posix3 s390x 10.42-4ubuntu1 [6704 B] 209s Get:44 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-dev s390x 10.42-4ubuntu1 [805 kB] 209s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x libselinux1-dev s390x 3.5-2build1 [168 kB] 209s Get:46 http://ftpmaster.internal/ubuntu noble/main s390x libmount-dev s390x 2.39.3-6ubuntu2 [14.9 kB] 209s Get:47 http://ftpmaster.internal/ubuntu noble/main s390x libpkgconf3 s390x 1.8.1-2 [30.4 kB] 209s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf-bin s390x 1.8.1-2 [20.8 kB] 209s Get:49 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf s390x 1.8.1-2 [16.7 kB] 209s Get:50 http://ftpmaster.internal/ubuntu noble/main s390x zlib1g-dev s390x 1:1.3.dfsg-3ubuntu1 [905 kB] 209s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-dev s390x 2.79.3-3ubuntu5 [1820 kB] 210s Fetched 58.6 MB in 7s (8320 kB/s) 210s dpkg: libelf1:s390x: dependency problems, but removing anyway as you requested: 210s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 210s libbpf1:s390x depends on libelf1 (>= 0.144). 210s iproute2 depends on libelf1 (>= 0.131). 210s 210s (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 ... 52185 files and directories currently installed.) 210s Removing libelf1:s390x (0.190-1) ... 210s Selecting previously unselected package libelf1t64:s390x. 210s (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 ... 52180 files and directories currently installed.) 210s Preparing to unpack .../00-libelf1t64_0.190-1.1build2_s390x.deb ... 210s Unpacking libelf1t64:s390x (0.190-1.1build2) ... 210s Selecting previously unselected package libc-dev-bin. 210s Preparing to unpack .../01-libc-dev-bin_2.39-0ubuntu2_s390x.deb ... 210s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 210s Selecting previously unselected package linux-libc-dev:s390x. 210s Preparing to unpack .../02-linux-libc-dev_6.8.0-11.11_s390x.deb ... 210s Unpacking linux-libc-dev:s390x (6.8.0-11.11) ... 210s Selecting previously unselected package libcrypt-dev:s390x. 210s Preparing to unpack .../03-libcrypt-dev_1%3a4.4.36-4_s390x.deb ... 210s Unpacking libcrypt-dev:s390x (1:4.4.36-4) ... 210s Selecting previously unselected package libtirpc-dev:s390x. 210s Preparing to unpack .../04-libtirpc-dev_1.3.4+ds-1build1_s390x.deb ... 210s Unpacking libtirpc-dev:s390x (1.3.4+ds-1build1) ... 210s Selecting previously unselected package libnsl-dev:s390x. 210s Preparing to unpack .../05-libnsl-dev_1.3.0-3_s390x.deb ... 210s Unpacking libnsl-dev:s390x (1.3.0-3) ... 210s Selecting previously unselected package rpcsvc-proto. 210s Preparing to unpack .../06-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ... 210s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 210s Selecting previously unselected package libc6-dev:s390x. 210s Preparing to unpack .../07-libc6-dev_2.39-0ubuntu2_s390x.deb ... 210s Unpacking libc6-dev:s390x (2.39-0ubuntu2) ... 210s Selecting previously unselected package libisl23:s390x. 210s Preparing to unpack .../08-libisl23_0.26-3_s390x.deb ... 210s Unpacking libisl23:s390x (0.26-3) ... 210s Selecting previously unselected package libmpc3:s390x. 210s Preparing to unpack .../09-libmpc3_1.3.1-1_s390x.deb ... 210s Unpacking libmpc3:s390x (1.3.1-1) ... 210s Selecting previously unselected package cpp-13-s390x-linux-gnu. 210s Preparing to unpack .../10-cpp-13-s390x-linux-gnu_13.2.0-17ubuntu2_s390x.deb ... 210s Unpacking cpp-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 210s Selecting previously unselected package cpp-13. 210s Preparing to unpack .../11-cpp-13_13.2.0-17ubuntu2_s390x.deb ... 210s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 210s Selecting previously unselected package cpp-s390x-linux-gnu. 210s Preparing to unpack .../12-cpp-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 210s Unpacking cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 210s Selecting previously unselected package cpp. 210s Preparing to unpack .../13-cpp_4%3a13.2.0-7ubuntu1_s390x.deb ... 210s Unpacking cpp (4:13.2.0-7ubuntu1) ... 210s Selecting previously unselected package libcc1-0:s390x. 210s Preparing to unpack .../14-libcc1-0_14-20240303-1ubuntu1_s390x.deb ... 210s Unpacking libcc1-0:s390x (14-20240303-1ubuntu1) ... 210s Selecting previously unselected package libgomp1:s390x. 210s Preparing to unpack .../15-libgomp1_14-20240303-1ubuntu1_s390x.deb ... 210s Unpacking libgomp1:s390x (14-20240303-1ubuntu1) ... 211s Selecting previously unselected package libitm1:s390x. 211s Preparing to unpack .../16-libitm1_14-20240303-1ubuntu1_s390x.deb ... 211s Unpacking libitm1:s390x (14-20240303-1ubuntu1) ... 211s Selecting previously unselected package libatomic1:s390x. 211s Preparing to unpack .../17-libatomic1_14-20240303-1ubuntu1_s390x.deb ... 211s Unpacking libatomic1:s390x (14-20240303-1ubuntu1) ... 211s Selecting previously unselected package libasan8:s390x. 211s Preparing to unpack .../18-libasan8_14-20240303-1ubuntu1_s390x.deb ... 211s Unpacking libasan8:s390x (14-20240303-1ubuntu1) ... 211s Selecting previously unselected package libubsan1:s390x. 211s Preparing to unpack .../19-libubsan1_14-20240303-1ubuntu1_s390x.deb ... 211s Unpacking libubsan1:s390x (14-20240303-1ubuntu1) ... 211s Selecting previously unselected package libgcc-13-dev:s390x. 211s Preparing to unpack .../20-libgcc-13-dev_13.2.0-17ubuntu2_s390x.deb ... 211s Unpacking libgcc-13-dev:s390x (13.2.0-17ubuntu2) ... 211s Selecting previously unselected package gcc-13-s390x-linux-gnu. 211s Preparing to unpack .../21-gcc-13-s390x-linux-gnu_13.2.0-17ubuntu2_s390x.deb ... 211s Unpacking gcc-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 211s Selecting previously unselected package gcc-13. 211s Preparing to unpack .../22-gcc-13_13.2.0-17ubuntu2_s390x.deb ... 211s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 211s Selecting previously unselected package gcc-s390x-linux-gnu. 211s Preparing to unpack .../23-gcc-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 211s Unpacking gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 211s Selecting previously unselected package gcc. 211s Preparing to unpack .../24-gcc_4%3a13.2.0-7ubuntu1_s390x.deb ... 211s Unpacking gcc (4:13.2.0-7ubuntu1) ... 211s Selecting previously unselected package libstdc++-13-dev:s390x. 211s Preparing to unpack .../25-libstdc++-13-dev_13.2.0-17ubuntu2_s390x.deb ... 211s Unpacking libstdc++-13-dev:s390x (13.2.0-17ubuntu2) ... 212s Selecting previously unselected package g++-13-s390x-linux-gnu. 212s Preparing to unpack .../26-g++-13-s390x-linux-gnu_13.2.0-17ubuntu2_s390x.deb ... 212s Unpacking g++-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 212s Selecting previously unselected package g++-13. 212s Preparing to unpack .../27-g++-13_13.2.0-17ubuntu2_s390x.deb ... 212s Unpacking g++-13 (13.2.0-17ubuntu2) ... 212s Selecting previously unselected package g++-s390x-linux-gnu. 212s Preparing to unpack .../28-g++-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 212s Unpacking g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 212s Selecting previously unselected package g++. 212s Preparing to unpack .../29-g++_4%3a13.2.0-7ubuntu1_s390x.deb ... 212s Unpacking g++ (4:13.2.0-7ubuntu1) ... 212s Selecting previously unselected package build-essential. 212s Preparing to unpack .../30-build-essential_12.10ubuntu1_s390x.deb ... 212s Unpacking build-essential (12.10ubuntu1) ... 212s Selecting previously unselected package libgirepository-2.0-0:s390x. 212s Preparing to unpack .../31-libgirepository-2.0-0_2.79.3-3ubuntu5_s390x.deb ... 212s Unpacking libgirepository-2.0-0:s390x (2.79.3-3ubuntu5) ... 212s Selecting previously unselected package libglib2.0-bin. 212s Preparing to unpack .../32-libglib2.0-bin_2.79.3-3ubuntu5_s390x.deb ... 212s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 212s Selecting previously unselected package libffi-dev:s390x. 212s Preparing to unpack .../33-libffi-dev_3.4.6-1_s390x.deb ... 212s Unpacking libffi-dev:s390x (3.4.6-1) ... 212s Selecting previously unselected package python3-packaging. 212s Preparing to unpack .../34-python3-packaging_23.2-1_all.deb ... 212s Unpacking python3-packaging (23.2-1) ... 212s Selecting previously unselected package libglib2.0-dev-bin. 212s Preparing to unpack .../35-libglib2.0-dev-bin_2.79.3-3ubuntu5_s390x.deb ... 212s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 212s Selecting previously unselected package uuid-dev:s390x. 212s Preparing to unpack .../36-uuid-dev_2.39.3-6ubuntu2_s390x.deb ... 212s Unpacking uuid-dev:s390x (2.39.3-6ubuntu2) ... 212s Selecting previously unselected package libblkid-dev:s390x. 212s Preparing to unpack .../37-libblkid-dev_2.39.3-6ubuntu2_s390x.deb ... 212s Unpacking libblkid-dev:s390x (2.39.3-6ubuntu2) ... 212s Selecting previously unselected package libsepol-dev:s390x. 212s Preparing to unpack .../38-libsepol-dev_3.5-2_s390x.deb ... 212s Unpacking libsepol-dev:s390x (3.5-2) ... 212s Selecting previously unselected package libpcre2-16-0:s390x. 212s Preparing to unpack .../39-libpcre2-16-0_10.42-4ubuntu1_s390x.deb ... 212s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu1) ... 212s Selecting previously unselected package libpcre2-32-0:s390x. 212s Preparing to unpack .../40-libpcre2-32-0_10.42-4ubuntu1_s390x.deb ... 212s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu1) ... 212s Selecting previously unselected package libpcre2-posix3:s390x. 212s Preparing to unpack .../41-libpcre2-posix3_10.42-4ubuntu1_s390x.deb ... 212s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu1) ... 212s Selecting previously unselected package libpcre2-dev:s390x. 212s Preparing to unpack .../42-libpcre2-dev_10.42-4ubuntu1_s390x.deb ... 212s Unpacking libpcre2-dev:s390x (10.42-4ubuntu1) ... 212s Selecting previously unselected package libselinux1-dev:s390x. 212s Preparing to unpack .../43-libselinux1-dev_3.5-2build1_s390x.deb ... 212s Unpacking libselinux1-dev:s390x (3.5-2build1) ... 212s Selecting previously unselected package libmount-dev:s390x. 212s Preparing to unpack .../44-libmount-dev_2.39.3-6ubuntu2_s390x.deb ... 212s Unpacking libmount-dev:s390x (2.39.3-6ubuntu2) ... 212s Selecting previously unselected package libpkgconf3:s390x. 212s Preparing to unpack .../45-libpkgconf3_1.8.1-2_s390x.deb ... 212s Unpacking libpkgconf3:s390x (1.8.1-2) ... 212s Selecting previously unselected package pkgconf-bin. 212s Preparing to unpack .../46-pkgconf-bin_1.8.1-2_s390x.deb ... 212s Unpacking pkgconf-bin (1.8.1-2) ... 212s Selecting previously unselected package pkgconf:s390x. 212s Preparing to unpack .../47-pkgconf_1.8.1-2_s390x.deb ... 212s Unpacking pkgconf:s390x (1.8.1-2) ... 212s Selecting previously unselected package zlib1g-dev:s390x. 212s Preparing to unpack .../48-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_s390x.deb ... 212s Unpacking zlib1g-dev:s390x (1:1.3.dfsg-3ubuntu1) ... 212s Selecting previously unselected package libglib2.0-dev:s390x. 212s Preparing to unpack .../49-libglib2.0-dev_2.79.3-3ubuntu5_s390x.deb ... 212s Unpacking libglib2.0-dev:s390x (2.79.3-3ubuntu5) ... 212s Selecting previously unselected package autopkgtest-satdep. 212s Preparing to unpack .../50-1-autopkgtest-satdep.deb ... 212s Unpacking autopkgtest-satdep (0) ... 212s Setting up libgirepository-2.0-0:s390x (2.79.3-3ubuntu5) ... 212s Setting up linux-libc-dev:s390x (6.8.0-11.11) ... 212s Setting up libgomp1:s390x (14-20240303-1ubuntu1) ... 212s Setting up libffi-dev:s390x (3.4.6-1) ... 212s Setting up libpcre2-16-0:s390x (10.42-4ubuntu1) ... 212s Setting up libelf1t64:s390x (0.190-1.1build2) ... 212s Setting up libpcre2-32-0:s390x (10.42-4ubuntu1) ... 212s Setting up python3-packaging (23.2-1) ... 213s Setting up libtirpc-dev:s390x (1.3.4+ds-1build1) ... 213s Setting up libpkgconf3:s390x (1.8.1-2) ... 213s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 213s Setting up libmpc3:s390x (1.3.1-1) ... 213s Setting up libatomic1:s390x (14-20240303-1ubuntu1) ... 213s Setting up libsepol-dev:s390x (3.5-2) ... 213s Setting up pkgconf-bin (1.8.1-2) ... 213s Setting up libubsan1:s390x (14-20240303-1ubuntu1) ... 213s Setting up libpcre2-posix3:s390x (10.42-4ubuntu1) ... 213s Setting up libnsl-dev:s390x (1.3.0-3) ... 213s Setting up libcrypt-dev:s390x (1:4.4.36-4) ... 213s Setting up libasan8:s390x (14-20240303-1ubuntu1) ... 213s Setting up libisl23:s390x (0.26-3) ... 213s Setting up libc-dev-bin (2.39-0ubuntu2) ... 213s Setting up libcc1-0:s390x (14-20240303-1ubuntu1) ... 213s Setting up libitm1:s390x (14-20240303-1ubuntu1) ... 213s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 213s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 213s Setting up pkgconf:s390x (1.8.1-2) ... 213s Setting up cpp-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 213s Setting up libgcc-13-dev:s390x (13.2.0-17ubuntu2) ... 213s Setting up libc6-dev:s390x (2.39-0ubuntu2) ... 213s Setting up libstdc++-13-dev:s390x (13.2.0-17ubuntu2) ... 213s Setting up libpcre2-dev:s390x (10.42-4ubuntu1) ... 213s Setting up cpp-13 (13.2.0-17ubuntu2) ... 213s Setting up cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 213s Setting up libselinux1-dev:s390x (3.5-2build1) ... 213s Setting up gcc-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 213s Setting up gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 213s Setting up uuid-dev:s390x (2.39.3-6ubuntu2) ... 213s Setting up g++-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 213s Setting up gcc-13 (13.2.0-17ubuntu2) ... 213s Setting up zlib1g-dev:s390x (1:1.3.dfsg-3ubuntu1) ... 213s Setting up cpp (4:13.2.0-7ubuntu1) ... 213s Setting up libblkid-dev:s390x (2.39.3-6ubuntu2) ... 213s Setting up g++-13 (13.2.0-17ubuntu2) ... 213s Setting up g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 213s Setting up gcc (4:13.2.0-7ubuntu1) ... 213s Setting up g++ (4:13.2.0-7ubuntu1) ... 213s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 213s Setting up build-essential (12.10ubuntu1) ... 213s Setting up libmount-dev:s390x (2.39.3-6ubuntu2) ... 213s Setting up libglib2.0-dev:s390x (2.79.3-3ubuntu5) ... 213s Processing triggers for libc-bin (2.39-0ubuntu2) ... 213s Processing triggers for man-db (2.12.0-3) ... 214s Processing triggers for libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 214s No schema files found: doing nothing. 214s Processing triggers for install-info (7.1-3) ... 214s Setting up autopkgtest-satdep (0) ... 216s (Reading database ... 55975 files and directories currently installed.) 216s Removing autopkgtest-satdep (0) ... 217s autopkgtest [21:49:44]: test build: [----------------------- 217s + mode=dynamic 217s + getopt -o --long static -n debian/tests/build -- 217s + getopt_temp= -- 217s + eval set -- -- 217s + set -- -- 217s + true 217s + shift 217s + break 217s + mktemp -d 217s + WORKDIR=/tmp/tmp.M3f6nOyj8d 217s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 217s + cd /tmp/tmp.M3f6nOyj8d 217s + [ -n ] 217s + CROSS_COMPILE= 217s + cat 217s + cat 217s + cat 217s + cat 217s + cat 217s + cat 217s + cflags= 217s + pcflags= 217s + packages=glib-2.0 217s + pkg-config --cflags --libs glib-2.0 217s + 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 217s + echo build (glib, dynamic): OK 217s + [ -x glib-dynamic ] 217s + foo=bar ./glib-dynamic 217s build (glib, dynamic): OK 217s run (glib, dynamic): OK 217s + echo run (glib, dynamic): OK 217s + cflags= 217s + pcflags= 217s + packages=gobject-2.0 217s + pkg-config --cflags --libs gobject-2.0 217s + 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 217s build (gobject, dynamic): OK 217s + echo build (gobject, dynamic): OK 217s + [ -x gobject-dynamic ] 217s + foo=bar ./gobject-dynamic 217s + echo run (gobject, dynamic): OKrun (gobject, dynamic): OK 217s 217s + cflags= 217s + pcflags= 217s + packages=gio-2.0 217s + pkg-config --cflags --libs gio-2.0 217s + 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 217s + build (gio, dynamic): OK 217s echo build (gio, dynamic): OK 217s + [ -x gio-dynamic ] 217s + foo=bar ./gio-dynamic 217s + echo run (gio, dynamic): OK 217s + run (gio, dynamic): OK 217s cflags= 217s + pcflags= 217s + packages=gio-unix-2.0 217s + pkg-config --cflags --libs gio-unix-2.0 217s + 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 217s + build (gio-unix, dynamic): OK 217s echo build (gio-unix, dynamic): OK 217s + [ -x gio-unix-dynamic ] 217s + foo=bar ./gio-unix-dynamic 217s run (gio-unix, dynamic): OK 217s + echo run (gio-unix, dynamic): OK 217s + cflags= 217s + pcflags= 217s + packages=gmodule-2.0 217s + pkg-config --cflags --libs gmodule-2.0 217s + 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 217s build (gmodule, dynamic): OK 217s + echo build (gmodule, dynamic): OK 217s + [ -x gmodule-dynamic ] 217s + foo=bar ./gmodule-dynamic 217s + echorun (gmodule, dynamic): OK 217s run (gmodule, dynamic): OK 217s + cflags= 217s + pcflags= 217s + packages=gthread-2.0 217s + pkg-config --cflags --libs gthread-2.0 217s + 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 218s build (gthread, dynamic): OK 218s + echo build (gthread, dynamic): OK 218s + [ -x gthread-dynamic ] 218s + foo=bar ./gthread-dynamic 218s run (gthread, dynamic): OK 218s + echo run (gthread, dynamic): OK 218s + rm -rf /tmp/tmp.M3f6nOyj8d 218s autopkgtest [21:49:45]: test build: -----------------------] 218s build PASS (superficial) 218s autopkgtest [21:49:45]: test build: - - - - - - - - - - results - - - - - - - - - - 219s autopkgtest [21:49:46]: test build-static: preparing testbed 221s Reading package lists... 221s Building dependency tree... 221s Reading state information... 221s Starting pkgProblemResolver with broken count: 0 221s Starting 2 pkgProblemResolver with broken count: 0 221s Done 221s The following NEW packages will be installed: 221s autopkgtest-satdep 222s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 222s Need to get 0 B/724 B of archives. 222s After this operation, 0 B of additional disk space will be used. 222s Get:1 /tmp/autopkgtest.bRsZmz/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [724 B] 222s Selecting previously unselected package autopkgtest-satdep. 222s (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 ... 55975 files and directories currently installed.) 222s Preparing to unpack .../2-autopkgtest-satdep.deb ... 222s Unpacking autopkgtest-satdep (0) ... 222s Setting up autopkgtest-satdep (0) ... 224s (Reading database ... 55975 files and directories currently installed.) 224s Removing autopkgtest-satdep (0) ... 225s autopkgtest [21:49:52]: test build-static: [----------------------- 225s + mode=dynamic 225s + getopt -o --long static -n debian/tests/build -- --static 225s + getopt_temp= --static -- 225s + eval set -- --static -- 225s + set -- --static -- 225s + true 225s + mode=static 225s + shift 225s + continue 225s + true 225s + shift 225s + break 225s + mktemp -d 225s + WORKDIR=/tmp/tmp.lyszPhzsN0 225s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 225s + cd /tmp/tmp.lyszPhzsN0 225s + [ -n ] 225s + CROSS_COMPILE= 225s + cat 225s + cat 225s + cat 225s + cat 225s + cat 225s + cat 225s + cflags= 225s + pcflags= 225s + packages=glib-2.0 225s + cflags=-static 225s + pcflags=--static 225s + pkg-config --static --cflags --libs glib-2.0 225s + 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 225s /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': 225s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 225s /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 225s /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 225s + echo build (glib, static): OK 225s + [ -x glib-static ] 225s + foo=bar ./glib-static 225s + echobuild (glib, static): OK 225s run (glib, static): OK 225s run (glib, static): OK 225s + cflags= 225s + pcflags= 225s + packages=gobject-2.0 225s + cflags=-static 225s + pcflags=--static 225s + pkg-config --static --cflags --libs gobject-2.0 225s + 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 225s /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': 225s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 225s /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 225s /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 225s + echo build (gobject, static): OK 225s + [build (gobject, static): OK 225s -x gobject-static ] 225s + foo=bar ./gobject-static 225s + echo run (gobject, static): OK 225s + cflags=run (gobject, static): OK 225s 225s + pcflags= 225s + packages=gio-2.0 225s + cflags=-static 225s + pcflags=--static 225s + continue 225s + cflags= 225s + pcflags= 225s + packages=gio-unix-2.0 225s + cflags=-static 225s + pcflags=--static 225s + continue 225s + cflags= 225s + pcflags= 225s + packages=gmodule-2.0 225s + cflags=-static 225s + pcflags=--static 225s + pkg-config --static --cflags --libs gmodule-2.0 225s + 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 225s /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': 225s (.text+0x6b4): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 225s /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': 225s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 225s /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 225s /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 225s + echo build (gmodule, static): OK 225s + [ -x gmodule-static ] 225s + foo=bar ./gmodule-static 225s + echo run (gmodule, static): OK 225s + cflags= 225s build (gmodule, static): OK 225s run (gmodule, static): OK 225s + pcflags= 225s + packages=gthread-2.0 225s + cflags=-static 225s + pcflags=--static 225s + pkg-config --static --cflags --libs gthread-2.0 225s + 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 225s /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': 225s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 225s /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 225s /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 225s + echo build (gthread, static): OK 225s + [ -x gthread-staticbuild (gthread, static): OK 225s ] 225s + foo=bar ./gthread-static 225s + echo run (gthread, static): OK 225s + run (gthread, static): OK 225s rm -rf /tmp/tmp.lyszPhzsN0 226s autopkgtest [21:49:53]: test build-static: -----------------------] 226s autopkgtest [21:49:53]: test build-static: - - - - - - - - - - results - - - - - - - - - - 226s build-static PASS (superficial) 227s autopkgtest [21:49:54]: test installed-tests: preparing testbed 354s autopkgtest [21:52:01]: testbed dpkg architecture: s390x 354s autopkgtest [21:52:01]: testbed apt version: 2.7.12 354s autopkgtest [21:52:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 355s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 356s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 356s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [493 kB] 356s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3757 kB] 356s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.7 kB] 356s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [649 kB] 356s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 356s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 356s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 356s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3984 kB] 356s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 356s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [34.4 kB] 356s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 359s Fetched 9105 kB in 3s (3485 kB/s) 359s Reading package lists... 362s Reading package lists... 362s Building dependency tree... 362s Reading state information... 362s Calculating upgrade... 362s The following packages will be REMOVED: 362s libglib2.0-0 362s The following NEW packages will be installed: 362s libglib2.0-0t64 xdg-user-dirs 362s The following packages will be upgraded: 362s gir1.2-glib-2.0 libglib2.0-data 362s 2 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 362s Need to get 1811 kB of archives. 362s After this operation, 159 kB of additional disk space will be used. 362s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-glib-2.0 s390x 2.79.3-3ubuntu5 [180 kB] 363s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-0t64 s390x 2.79.3-3ubuntu5 [1566 kB] 364s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 364s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x xdg-user-dirs s390x 0.18-1 [18.5 kB] 364s Fetched 1811 kB in 1s (1284 kB/s) 364s (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 ... 52171 files and directories currently installed.) 364s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_s390x.deb ... 364s Unpacking gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 364s dpkg: libglib2.0-0:s390x: dependency problems, but removing anyway as you requested: 364s udisks2 depends on libglib2.0-0 (>= 2.77.0). 364s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 364s s390-tools depends on libglib2.0-0 (>= 2.77.0). 364s python3-gi depends on libglib2.0-0 (>= 2.77.0). 364s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 364s netplan.io depends on libglib2.0-0 (>= 2.70.0). 364s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 364s libxmlb2:s390x depends on libglib2.0-0 (>= 2.54.0). 364s libvolume-key1:s390x depends on libglib2.0-0 (>= 2.18.0). 364s libudisks2-0:s390x depends on libglib2.0-0 (>= 2.75.3). 364s libqrtr-glib0:s390x depends on libglib2.0-0 (>= 2.56). 364s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 364s libqmi-glib5:s390x depends on libglib2.0-0 (>= 2.54.0). 364s libpolkit-gobject-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 364s libpolkit-agent-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 364s libnetplan0:s390x depends on libglib2.0-0 (>= 2.75.3). 364s libmm-glib0:s390x depends on libglib2.0-0 (>= 2.62.0). 364s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 364s libmbim-glib4:s390x depends on libglib2.0-0 (>= 2.56). 364s libjson-glib-1.0-0:s390x depends on libglib2.0-0 (>= 2.75.3). 364s libjcat1:s390x depends on libglib2.0-0 (>= 2.75.3). 364s libgusb2:s390x depends on libglib2.0-0 (>= 2.75.3). 364s libgudev-1.0-0:s390x depends on libglib2.0-0 (>= 2.38.0). 364s libgirepository-1.0-1:s390x depends on libglib2.0-0 (>= 2.79.0). 364s libfwupd2:s390x depends on libglib2.0-0 (>= 2.79.0). 364s libblockdev3:s390x depends on libglib2.0-0 (>= 2.42.2). 364s libblockdev-utils3:s390x depends on libglib2.0-0 (>= 2.75.3). 364s libblockdev-swap3:s390x depends on libglib2.0-0 (>= 2.42.2). 364s libblockdev-part3:s390x depends on libglib2.0-0 (>= 2.42.2). 364s libblockdev-nvme3:s390x depends on libglib2.0-0 (>= 2.42.2). 364s libblockdev-mdraid3:s390x depends on libglib2.0-0 (>= 2.42.2). 364s libblockdev-loop3:s390x depends on libglib2.0-0 (>= 2.42.2). 364s libblockdev-fs3:s390x depends on libglib2.0-0 (>= 2.42.2). 364s libblockdev-crypto3:s390x depends on libglib2.0-0 (>= 2.42.2). 364s fwupd depends on libglib2.0-0 (>= 2.79.0). 364s bolt depends on libglib2.0-0 (>= 2.56.0). 364s 364s (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 ... 52171 files and directories currently installed.) 364s Removing libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 364s Selecting previously unselected package libglib2.0-0t64:s390x. 364s (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 ... 52146 files and directories currently installed.) 364s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_s390x.deb ... 364s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:s390x.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 364s removed '/var/lib/dpkg/info/libglib2.0-0:s390x.postrm' 364s Unpacking libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 364s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 364s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 364s Selecting previously unselected package xdg-user-dirs. 364s Preparing to unpack .../xdg-user-dirs_0.18-1_s390x.deb ... 364s Unpacking xdg-user-dirs (0.18-1) ... 364s Setting up xdg-user-dirs (0.18-1) ... 364s Setting up libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 364s No schema files found: doing nothing. 364s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 364s Setting up gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) ... 364s Processing triggers for man-db (2.12.0-3) ... 365s Processing triggers for libc-bin (2.39-0ubuntu2) ... 365s Reading package lists... 365s Building dependency tree... 365s Reading state information... 365s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 366s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 366s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 366s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 366s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 368s Reading package lists... 368s Reading package lists... 368s Building dependency tree... 368s Reading state information... 368s Calculating upgrade... 368s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 368s Reading package lists... 369s Building dependency tree... 369s Reading state information... 369s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 373s Reading package lists... 374s Building dependency tree... 374s Reading state information... 374s Starting pkgProblemResolver with broken count: 0 374s Starting 2 pkgProblemResolver with broken count: 0 374s Done 375s The following additional packages will be installed: 375s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 375s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libfreetype6 375s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 375s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 375s libllvm17 libpixman-1-0 libsm6 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 375s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 375s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 375s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 375s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 375s Suggested packages: 375s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 375s Recommended packages: 375s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 375s xfonts-base 375s The following packages will be REMOVED: 375s libelf1 375s The following NEW packages will be installed: 375s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 375s libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 375s libfreetype6 libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa 375s libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 375s libglx0 libice6 libllvm17 libpixman-1-0 libsm6 libvulkan1 libx11-xcb1 375s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 375s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 375s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 375s libxxf86vm1 python3-dbusmock python3-packaging x11-common x11-xkb-utils 375s xserver-common xvfb 375s 0 upgraded, 51 newly installed, 1 to remove and 0 not upgraded. 375s Need to get 44.6 MB/44.6 MB of archives. 375s After this operation, 214 MB of additional disk space will be used. 375s Get:1 /tmp/autopkgtest.bRsZmz/3-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 375s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libelf1t64 s390x 0.190-1.1build2 [69.7 kB] 375s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x dbus-x11 s390x 1.14.10-4ubuntu1 [24.0 kB] 375s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x desktop-file-utils s390x 0.26-1ubuntu5 [54.4 kB] 375s Get:5 http://ftpmaster.internal/ubuntu noble/universe s390x gnome-desktop-testing s390x 2021.1-3 [15.9 kB] 375s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-amdgpu1 s390x 2.4.120-2 [21.1 kB] 375s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-nouveau2 s390x 2.4.120-2 [18.5 kB] 375s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-radeon1 s390x 2.4.120-2 [22.7 kB] 375s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libfontenc1 s390x 1:1.1.8-1 [14.8 kB] 375s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libfreetype6 s390x 2.13.2+dfsg-1 [431 kB] 375s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgirepository-2.0-0 s390x 2.79.3-3ubuntu5 [75.4 kB] 375s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libvulkan1 s390x 1.3.275.0-1 [155 kB] 376s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libglapi-mesa s390x 24.0.1-1ubuntu1 [68.7 kB] 376s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x libllvm17 s390x 1:17.0.6-5build1 [31.2 MB] 379s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri3-0 s390x 1.15-1 [7270 B] 379s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libgl1-mesa-dri s390x 24.0.1-1ubuntu1 [7184 kB] 380s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-bin s390x 2.79.3-3ubuntu5 [101 kB] 380s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 380s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-dev-bin s390x 2.79.3-3ubuntu5 [225 kB] 380s Get:20 http://ftpmaster.internal/ubuntu noble/universe s390x python3-dbusmock all 0.31.1-1 [85.5 kB] 380s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libglib2.0-tests s390x 2.79.3-3ubuntu5 [2169 kB] 380s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libx11-xcb1 s390x 2:1.8.7-1 [7778 B] 380s Get:23 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri2-0 s390x 1.15-1 [7426 B] 380s Get:24 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-glx0 s390x 1.15-1 [25.8 kB] 380s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-present0 s390x 1.15-1 [5752 B] 380s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-randr0 s390x 1.15-1 [19.0 kB] 380s Get:27 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-shm0 s390x 1.15-1 [5782 B] 380s Get:28 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-sync1 s390x 1.15-1 [9392 B] 380s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xfixes0 s390x 1.15-1 [10.5 kB] 380s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x libxfixes3 s390x 1:6.0.0-2 [10.6 kB] 380s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x libxshmfence1 s390x 1.3-1build4 [5334 B] 380s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x libxxf86vm1 s390x 1:1.1.4-1build3 [9900 B] 380s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x libglx-mesa0 s390x 24.0.1-1ubuntu1 [182 kB] 380s Get:34 http://ftpmaster.internal/ubuntu noble/main s390x x11-common all 1:7.7+23ubuntu2 [23.4 kB] 380s Get:35 http://ftpmaster.internal/ubuntu noble/main s390x libice6 s390x 2:1.0.10-1build2 [40.8 kB] 380s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x libpixman-1-0 s390x 0.42.2-1 [173 kB] 380s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x libsm6 s390x 2:1.2.3-1build2 [16.9 kB] 380s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x libxt6 s390x 1:1.2.1-1.1 [166 kB] 380s Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libxmu6 s390x 2:1.1.3-3 [49.3 kB] 380s Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libxpm4 s390x 1:3.5.17-1 [40.9 kB] 380s Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libxaw7 s390x 2:1.0.14-1 [186 kB] 380s Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libxfont2 s390x 1:2.0.6-1 [89.7 kB] 380s Get:43 http://ftpmaster.internal/ubuntu noble/main s390x libxkbfile1 s390x 1:1.1.0-1build3 [74.0 kB] 380s Get:44 http://ftpmaster.internal/ubuntu noble/main s390x libxrender1 s390x 1:0.9.10-1.1 [19.4 kB] 380s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x libxrandr2 s390x 2:1.5.2-2 [19.5 kB] 380s Get:46 http://ftpmaster.internal/ubuntu noble/main s390x x11-xkb-utils s390x 7.7+8 [170 kB] 380s Get:47 http://ftpmaster.internal/ubuntu noble/main s390x xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 380s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x libglvnd0 s390x 1.7.0-1 [106 kB] 380s Get:49 http://ftpmaster.internal/ubuntu noble/main s390x libglx0 s390x 1.7.0-1 [31.4 kB] 380s Get:50 http://ftpmaster.internal/ubuntu noble/main s390x libgl1 s390x 1.7.0-1 [137 kB] 380s Get:51 http://ftpmaster.internal/ubuntu noble/universe s390x xvfb s390x 2:21.1.11-2ubuntu1 [956 kB] 381s Fetched 44.6 MB in 6s (7982 kB/s) 381s dpkg: libelf1:s390x: dependency problems, but removing anyway as you requested: 381s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 381s libbpf1:s390x depends on libelf1 (>= 0.144). 381s iproute2 depends on libelf1 (>= 0.131). 381s 381s (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 ... 52185 files and directories currently installed.) 381s Removing libelf1:s390x (0.190-1) ... 381s Selecting previously unselected package libelf1t64:s390x. 381s (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 ... 52180 files and directories currently installed.) 381s Preparing to unpack .../00-libelf1t64_0.190-1.1build2_s390x.deb ... 381s Unpacking libelf1t64:s390x (0.190-1.1build2) ... 381s Selecting previously unselected package dbus-x11. 381s Preparing to unpack .../01-dbus-x11_1.14.10-4ubuntu1_s390x.deb ... 381s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 381s Selecting previously unselected package desktop-file-utils. 381s Preparing to unpack .../02-desktop-file-utils_0.26-1ubuntu5_s390x.deb ... 381s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 381s Selecting previously unselected package gnome-desktop-testing. 381s Preparing to unpack .../03-gnome-desktop-testing_2021.1-3_s390x.deb ... 381s Unpacking gnome-desktop-testing (2021.1-3) ... 381s Selecting previously unselected package libdrm-amdgpu1:s390x. 381s Preparing to unpack .../04-libdrm-amdgpu1_2.4.120-2_s390x.deb ... 381s Unpacking libdrm-amdgpu1:s390x (2.4.120-2) ... 381s Selecting previously unselected package libdrm-nouveau2:s390x. 381s Preparing to unpack .../05-libdrm-nouveau2_2.4.120-2_s390x.deb ... 381s Unpacking libdrm-nouveau2:s390x (2.4.120-2) ... 381s Selecting previously unselected package libdrm-radeon1:s390x. 381s Preparing to unpack .../06-libdrm-radeon1_2.4.120-2_s390x.deb ... 381s Unpacking libdrm-radeon1:s390x (2.4.120-2) ... 381s Selecting previously unselected package libfontenc1:s390x. 381s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1_s390x.deb ... 381s Unpacking libfontenc1:s390x (1:1.1.8-1) ... 381s Selecting previously unselected package libfreetype6:s390x. 381s Preparing to unpack .../08-libfreetype6_2.13.2+dfsg-1_s390x.deb ... 381s Unpacking libfreetype6:s390x (2.13.2+dfsg-1) ... 381s Selecting previously unselected package libgirepository-2.0-0:s390x. 381s Preparing to unpack .../09-libgirepository-2.0-0_2.79.3-3ubuntu5_s390x.deb ... 381s Unpacking libgirepository-2.0-0:s390x (2.79.3-3ubuntu5) ... 381s Selecting previously unselected package libvulkan1:s390x. 381s Preparing to unpack .../10-libvulkan1_1.3.275.0-1_s390x.deb ... 381s Unpacking libvulkan1:s390x (1.3.275.0-1) ... 381s Selecting previously unselected package libglapi-mesa:s390x. 381s Preparing to unpack .../11-libglapi-mesa_24.0.1-1ubuntu1_s390x.deb ... 381s Unpacking libglapi-mesa:s390x (24.0.1-1ubuntu1) ... 381s Selecting previously unselected package libllvm17:s390x. 381s Preparing to unpack .../12-libllvm17_1%3a17.0.6-5build1_s390x.deb ... 381s Unpacking libllvm17:s390x (1:17.0.6-5build1) ... 382s Selecting previously unselected package libxcb-dri3-0:s390x. 382s Preparing to unpack .../13-libxcb-dri3-0_1.15-1_s390x.deb ... 382s Unpacking libxcb-dri3-0:s390x (1.15-1) ... 382s Selecting previously unselected package libgl1-mesa-dri:s390x. 382s Preparing to unpack .../14-libgl1-mesa-dri_24.0.1-1ubuntu1_s390x.deb ... 382s Unpacking libgl1-mesa-dri:s390x (24.0.1-1ubuntu1) ... 383s Selecting previously unselected package libglib2.0-bin. 383s Preparing to unpack .../15-libglib2.0-bin_2.79.3-3ubuntu5_s390x.deb ... 383s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 383s Selecting previously unselected package python3-packaging. 383s Preparing to unpack .../16-python3-packaging_23.2-1_all.deb ... 383s Unpacking python3-packaging (23.2-1) ... 383s Selecting previously unselected package libglib2.0-dev-bin. 383s Preparing to unpack .../17-libglib2.0-dev-bin_2.79.3-3ubuntu5_s390x.deb ... 383s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 383s Selecting previously unselected package python3-dbusmock. 383s Preparing to unpack .../18-python3-dbusmock_0.31.1-1_all.deb ... 383s Unpacking python3-dbusmock (0.31.1-1) ... 383s Selecting previously unselected package libglib2.0-tests. 383s Preparing to unpack .../19-libglib2.0-tests_2.79.3-3ubuntu5_s390x.deb ... 383s Unpacking libglib2.0-tests (2.79.3-3ubuntu5) ... 383s Selecting previously unselected package libx11-xcb1:s390x. 383s Preparing to unpack .../20-libx11-xcb1_2%3a1.8.7-1_s390x.deb ... 383s Unpacking libx11-xcb1:s390x (2:1.8.7-1) ... 383s Selecting previously unselected package libxcb-dri2-0:s390x. 383s Preparing to unpack .../21-libxcb-dri2-0_1.15-1_s390x.deb ... 383s Unpacking libxcb-dri2-0:s390x (1.15-1) ... 383s Selecting previously unselected package libxcb-glx0:s390x. 383s Preparing to unpack .../22-libxcb-glx0_1.15-1_s390x.deb ... 383s Unpacking libxcb-glx0:s390x (1.15-1) ... 383s Selecting previously unselected package libxcb-present0:s390x. 383s Preparing to unpack .../23-libxcb-present0_1.15-1_s390x.deb ... 383s Unpacking libxcb-present0:s390x (1.15-1) ... 383s Selecting previously unselected package libxcb-randr0:s390x. 383s Preparing to unpack .../24-libxcb-randr0_1.15-1_s390x.deb ... 383s Unpacking libxcb-randr0:s390x (1.15-1) ... 383s Selecting previously unselected package libxcb-shm0:s390x. 383s Preparing to unpack .../25-libxcb-shm0_1.15-1_s390x.deb ... 383s Unpacking libxcb-shm0:s390x (1.15-1) ... 383s Selecting previously unselected package libxcb-sync1:s390x. 383s Preparing to unpack .../26-libxcb-sync1_1.15-1_s390x.deb ... 383s Unpacking libxcb-sync1:s390x (1.15-1) ... 383s Selecting previously unselected package libxcb-xfixes0:s390x. 383s Preparing to unpack .../27-libxcb-xfixes0_1.15-1_s390x.deb ... 383s Unpacking libxcb-xfixes0:s390x (1.15-1) ... 383s Selecting previously unselected package libxfixes3:s390x. 383s Preparing to unpack .../28-libxfixes3_1%3a6.0.0-2_s390x.deb ... 383s Unpacking libxfixes3:s390x (1:6.0.0-2) ... 383s Selecting previously unselected package libxshmfence1:s390x. 383s Preparing to unpack .../29-libxshmfence1_1.3-1build4_s390x.deb ... 383s Unpacking libxshmfence1:s390x (1.3-1build4) ... 383s Selecting previously unselected package libxxf86vm1:s390x. 383s Preparing to unpack .../30-libxxf86vm1_1%3a1.1.4-1build3_s390x.deb ... 383s Unpacking libxxf86vm1:s390x (1:1.1.4-1build3) ... 383s Selecting previously unselected package libglx-mesa0:s390x. 383s Preparing to unpack .../31-libglx-mesa0_24.0.1-1ubuntu1_s390x.deb ... 383s Unpacking libglx-mesa0:s390x (24.0.1-1ubuntu1) ... 383s Selecting previously unselected package x11-common. 383s Preparing to unpack .../32-x11-common_1%3a7.7+23ubuntu2_all.deb ... 383s Unpacking x11-common (1:7.7+23ubuntu2) ... 383s Selecting previously unselected package libice6:s390x. 383s Preparing to unpack .../33-libice6_2%3a1.0.10-1build2_s390x.deb ... 383s Unpacking libice6:s390x (2:1.0.10-1build2) ... 383s Selecting previously unselected package libpixman-1-0:s390x. 383s Preparing to unpack .../34-libpixman-1-0_0.42.2-1_s390x.deb ... 383s Unpacking libpixman-1-0:s390x (0.42.2-1) ... 383s Selecting previously unselected package libsm6:s390x. 383s Preparing to unpack .../35-libsm6_2%3a1.2.3-1build2_s390x.deb ... 383s Unpacking libsm6:s390x (2:1.2.3-1build2) ... 383s Selecting previously unselected package libxt6:s390x. 383s Preparing to unpack .../36-libxt6_1%3a1.2.1-1.1_s390x.deb ... 383s Unpacking libxt6:s390x (1:1.2.1-1.1) ... 383s Selecting previously unselected package libxmu6:s390x. 383s Preparing to unpack .../37-libxmu6_2%3a1.1.3-3_s390x.deb ... 383s Unpacking libxmu6:s390x (2:1.1.3-3) ... 383s Selecting previously unselected package libxpm4:s390x. 383s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1_s390x.deb ... 383s Unpacking libxpm4:s390x (1:3.5.17-1) ... 383s Selecting previously unselected package libxaw7:s390x. 383s Preparing to unpack .../39-libxaw7_2%3a1.0.14-1_s390x.deb ... 383s Unpacking libxaw7:s390x (2:1.0.14-1) ... 383s Selecting previously unselected package libxfont2:s390x. 383s Preparing to unpack .../40-libxfont2_1%3a2.0.6-1_s390x.deb ... 383s Unpacking libxfont2:s390x (1:2.0.6-1) ... 383s Selecting previously unselected package libxkbfile1:s390x. 383s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build3_s390x.deb ... 383s Unpacking libxkbfile1:s390x (1:1.1.0-1build3) ... 383s Selecting previously unselected package libxrender1:s390x. 383s Preparing to unpack .../42-libxrender1_1%3a0.9.10-1.1_s390x.deb ... 383s Unpacking libxrender1:s390x (1:0.9.10-1.1) ... 383s Selecting previously unselected package libxrandr2:s390x. 383s Preparing to unpack .../43-libxrandr2_2%3a1.5.2-2_s390x.deb ... 383s Unpacking libxrandr2:s390x (2:1.5.2-2) ... 383s Selecting previously unselected package x11-xkb-utils. 383s Preparing to unpack .../44-x11-xkb-utils_7.7+8_s390x.deb ... 383s Unpacking x11-xkb-utils (7.7+8) ... 384s Selecting previously unselected package xserver-common. 384s Preparing to unpack .../45-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 384s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 384s Selecting previously unselected package libglvnd0:s390x. 384s Preparing to unpack .../46-libglvnd0_1.7.0-1_s390x.deb ... 384s Unpacking libglvnd0:s390x (1.7.0-1) ... 384s Selecting previously unselected package libglx0:s390x. 384s Preparing to unpack .../47-libglx0_1.7.0-1_s390x.deb ... 384s Unpacking libglx0:s390x (1.7.0-1) ... 384s Selecting previously unselected package libgl1:s390x. 384s Preparing to unpack .../48-libgl1_1.7.0-1_s390x.deb ... 384s Unpacking libgl1:s390x (1.7.0-1) ... 384s Selecting previously unselected package xvfb. 384s Preparing to unpack .../49-xvfb_2%3a21.1.11-2ubuntu1_s390x.deb ... 384s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 384s Selecting previously unselected package autopkgtest-satdep. 384s Preparing to unpack .../50-3-autopkgtest-satdep.deb ... 384s Unpacking autopkgtest-satdep (0) ... 384s Setting up gnome-desktop-testing (2021.1-3) ... 384s Setting up libxcb-dri3-0:s390x (1.15-1) ... 384s Setting up libpixman-1-0:s390x (0.42.2-1) ... 384s Setting up libx11-xcb1:s390x (2:1.8.7-1) ... 384s Setting up libdrm-nouveau2:s390x (2.4.120-2) ... 384s Setting up libxcb-xfixes0:s390x (1.15-1) ... 384s Setting up desktop-file-utils (0.26-1ubuntu5) ... 384s Setting up libxpm4:s390x (1:3.5.17-1) ... 384s Setting up libxrender1:s390x (1:0.9.10-1.1) ... 384s Setting up libgirepository-2.0-0:s390x (2.79.3-3ubuntu5) ... 384s Setting up libdrm-radeon1:s390x (2.4.120-2) ... 384s Setting up libglvnd0:s390x (1.7.0-1) ... 384s Setting up libxcb-glx0:s390x (1.15-1) ... 384s Setting up x11-common (1:7.7+23ubuntu2) ... 384s Setting up libxcb-shm0:s390x (1.15-1) ... 384s Setting up libelf1t64:s390x (0.190-1.1build2) ... 384s Setting up libxxf86vm1:s390x (1:1.1.4-1build3) ... 384s Setting up libxcb-present0:s390x (1.15-1) ... 384s Setting up libfontenc1:s390x (1:1.1.8-1) ... 384s Setting up python3-packaging (23.2-1) ... 384s Setting up libfreetype6:s390x (2.13.2+dfsg-1) ... 384s Setting up libxfixes3:s390x (1:6.0.0-2) ... 384s Setting up libxcb-sync1:s390x (1.15-1) ... 384s Setting up libxrandr2:s390x (2:1.5.2-2) ... 384s Setting up libglapi-mesa:s390x (24.0.1-1ubuntu1) ... 384s Setting up libvulkan1:s390x (1.3.275.0-1) ... 384s Setting up libxcb-dri2-0:s390x (1.15-1) ... 384s Setting up libxshmfence1:s390x (1.3-1build4) ... 384s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 384s Setting up libxcb-randr0:s390x (1.15-1) ... 384s Setting up libxkbfile1:s390x (1:1.1.0-1build3) ... 384s Setting up libllvm17:s390x (1:17.0.6-5build1) ... 384s Setting up libxfont2:s390x (1:2.0.6-1) ... 384s Setting up libdrm-amdgpu1:s390x (2.4.120-2) ... 384s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 384s Setting up libice6:s390x (2:1.0.10-1build2) ... 384s Setting up libgl1-mesa-dri:s390x (24.0.1-1ubuntu1) ... 384s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 384s Setting up python3-dbusmock (0.31.1-1) ... 385s Setting up libglib2.0-tests (2.79.3-3ubuntu5) ... 385s Setting up libsm6:s390x (2:1.2.3-1build2) ... 385s Setting up libglx-mesa0:s390x (24.0.1-1ubuntu1) ... 385s Setting up libglx0:s390x (1.7.0-1) ... 385s Setting up libgl1:s390x (1.7.0-1) ... 385s Setting up libxt6:s390x (1:1.2.1-1.1) ... 385s Setting up libxmu6:s390x (2:1.1.3-3) ... 385s Setting up libxaw7:s390x (2:1.0.14-1) ... 385s Setting up x11-xkb-utils (7.7+8) ... 385s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 385s Setting up xvfb (2:21.1.11-2ubuntu1) ... 385s Setting up autopkgtest-satdep (0) ... 385s Processing triggers for man-db (2.12.0-3) ... 385s Processing triggers for libc-bin (2.39-0ubuntu2) ... 390s (Reading database ... 53626 files and directories currently installed.) 390s Removing autopkgtest-satdep (0) ... 423s autopkgtest [21:53:09]: test installed-tests: [----------------------- 423s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 423s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 423s group entry: ubuntu:x:1000: 423s Environment: 423s ADTTMP=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp 423s ADT_ARTIFACTS=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts 423s ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 423s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts 423s AUTOPKGTEST_TESTBED_ARCH=s390x 423s AUTOPKGTEST_TEST_ARCH=s390x 423s AUTOPKGTEST_TMP=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp 423s DEBIAN_FRONTEND=noninteractive 423s DEB_BUILD_OPTIONS=parallel=1 423s GIO_USE_VFS=local 423s GIO_USE_VOLUME_MONITOR=unix 423s HOME=/home/ubuntu 423s LANG=C.UTF-8 423s LOGNAME=ubuntu 423s MAIL=/var/mail/ubuntu 423s OLDPWD=/home/ubuntu 423s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 423s PWD=/tmp/autopkgtest.bRsZmz/build.BmY/src 423s SHELL=/bin/bash 423s SHLVL=1 423s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests 423s SUDO_GID=1000 423s SUDO_UID=1000 423s SUDO_USER=ubuntu 423s TERM=linux 423s USER=ubuntu 423s XDG_RUNTIME_DIR=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp 423s http_proxy=http://squid.internal:3128 423s https_proxy=http://squid.internal:3128 423s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 423s run-with-locales: de_DE=ISO-8859-1... 423s Character set: ISO-8859-1 423s Source file: de_DE 423s Output: /tmp/tmp.2l4uU1qHnW/de_DE 423s run-with-locales: de_DE.utf8... 423s Character set: UTF-8 423s Source file: de_DE 423s Output: /tmp/tmp.2l4uU1qHnW/de_DE.utf8 425s run-with-locales: de_DE@euro.utf8... 425s Character set: UTF-8 425s Source file: de_DE@euro 425s Output: /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8 427s run-with-locales: el_GR.utf8... 427s Character set: UTF-8 427s Source file: el_GR 427s Output: /tmp/tmp.2l4uU1qHnW/el_GR.utf8 429s run-with-locales: en_GB=ISO-8859-1... 429s Character set: ISO-8859-1 429s Source file: en_GB 429s Output: /tmp/tmp.2l4uU1qHnW/en_GB 429s run-with-locales: en_GB.utf8... 429s Character set: UTF-8 429s Source file: en_GB 429s Output: /tmp/tmp.2l4uU1qHnW/en_GB.utf8 431s run-with-locales: en_US=ISO-8859-1... 431s Character set: ISO-8859-1 431s Source file: en_US 431s Output: /tmp/tmp.2l4uU1qHnW/en_US 432s run-with-locales: en_US.utf8... 432s Character set: UTF-8 432s Source file: en_US 432s Output: /tmp/tmp.2l4uU1qHnW/en_US.utf8 434s run-with-locales: es_ES.utf8... 434s Character set: UTF-8 434s Source file: es_ES 434s Output: /tmp/tmp.2l4uU1qHnW/es_ES.utf8 436s run-with-locales: fa_IR=UTF-8... 436s Character set: UTF-8 436s Source file: fa_IR 436s Output: /tmp/tmp.2l4uU1qHnW/fa_IR 438s run-with-locales: fa_IR.utf8... 438s Character set: UTF-8 438s Source file: fa_IR 438s Output: /tmp/tmp.2l4uU1qHnW/fa_IR.utf8 440s run-with-locales: fr_FR.utf8... 440s Character set: UTF-8 440s Source file: fr_FR 440s Output: /tmp/tmp.2l4uU1qHnW/fr_FR.utf8 442s run-with-locales: hr_HR.utf8... 442s Character set: UTF-8 442s Source file: hr_HR 442s Output: /tmp/tmp.2l4uU1qHnW/hr_HR.utf8 444s run-with-locales: ja_JP.utf8... 444s Character set: UTF-8 444s Source file: ja_JP 444s Output: /tmp/tmp.2l4uU1qHnW/ja_JP.utf8 445s run-with-locales: ja_JP.EUC-JP... 445s Character set: EUC-JP 445s Source file: ja_JP 445s Output: /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp 446s run-with-locales: lt_LT.utf8... 446s Character set: UTF-8 446s Source file: lt_LT 446s Output: /tmp/tmp.2l4uU1qHnW/lt_LT.utf8 447s run-with-locales: pl_PL=ISO-8859-2... 447s Character set: ISO-8859-2 447s Source file: pl_PL 447s Output: /tmp/tmp.2l4uU1qHnW/pl_PL 448s run-with-locales: pl_PL.ISO-8859-2... 448s Character set: ISO-8859-2 448s Source file: pl_PL 448s Output: /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592 448s run-with-locales: pl_PL.utf8... 448s Character set: UTF-8 448s Source file: pl_PL 448s Output: /tmp/tmp.2l4uU1qHnW/pl_PL.utf8 450s run-with-locales: ru_RU=ISO-8859-5... 450s Character set: ISO-8859-5 450s Source file: ru_RU 450s Output: /tmp/tmp.2l4uU1qHnW/ru_RU 451s run-with-locales: ru_RU.utf8... 451s Character set: UTF-8 451s Source file: ru_RU 451s Output: /tmp/tmp.2l4uU1qHnW/ru_RU.utf8 452s run-with-locales: sr_RS=UTF-8... 452s Character set: UTF-8 452s Source file: sr_RS 452s Output: /tmp/tmp.2l4uU1qHnW/sr_RS 454s run-with-locales: sr_RS@latin=UTF-8... 454s Character set: UTF-8 454s Source file: sr_RS@latin 454s Output: /tmp/tmp.2l4uU1qHnW/sr_RS@latin 456s run-with-locales: sv_SE=ISO-8859-1... 456s Character set: ISO-8859-1 456s Source file: sv_SE 456s Output: /tmp/tmp.2l4uU1qHnW/sv_SE 457s run-with-locales: sv_SE.utf8... 457s Character set: UTF-8 457s Source file: sv_SE 457s Output: /tmp/tmp.2l4uU1qHnW/sv_SE.utf8 458s run-with-locales: tr_TR=ISO-8859-9... 458s Character set: ISO-8859-9 458s Source file: tr_TR 458s Output: /tmp/tmp.2l4uU1qHnW/tr_TR 459s run-with-locales: tr_TR.utf8... 459s Character set: UTF-8 459s Source file: tr_TR 459s Output: /tmp/tmp.2l4uU1qHnW/tr_TR.utf8 461s run-with-locales: tt_RU=UTF-8... 461s Character set: UTF-8 461s Source file: tt_RU 461s Output: /tmp/tmp.2l4uU1qHnW/tt_RU 462s run-with-locales: tt_RU.utf8... 462s Character set: UTF-8 462s Source file: tt_RU 462s Output: /tmp/tmp.2l4uU1qHnW/tt_RU.utf8 464s run-with-locales: tt_RU@iqtelif=UTF-8... 464s Character set: UTF-8 464s Source file: tt_RU@iqtelif 464s Output: /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif 465s /tmp/tmp.2l4uU1qHnW 465s /tmp/tmp.2l4uU1qHnW/ru_RU 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_MEASUREMENT 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_ADDRESS 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_TIME 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_NUMERIC 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_PAPER 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_IDENTIFICATION 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_CTYPE 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_TELEPHONE 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_COLLATE 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_NAME 465s /tmp/tmp.2l4uU1qHnW/ru_RU/LC_MONETARY 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_MEASUREMENT 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_ADDRESS 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_TIME 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_NUMERIC 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_PAPER 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_IDENTIFICATION 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_CTYPE 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_TELEPHONE 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_COLLATE 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_NAME 465s /tmp/tmp.2l4uU1qHnW/tt_RU@iqtelif/LC_MONETARY 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_MEASUREMENT 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_ADDRESS 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_TIME 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_NUMERIC 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_PAPER 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_IDENTIFICATION 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_CTYPE 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_TELEPHONE 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_COLLATE 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_NAME 465s /tmp/tmp.2l4uU1qHnW/tt_RU.utf8/LC_MONETARY 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_MEASUREMENT 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_ADDRESS 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_TIME 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_NUMERIC 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_PAPER 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_IDENTIFICATION 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_CTYPE 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_TELEPHONE 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_COLLATE 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_NAME 465s /tmp/tmp.2l4uU1qHnW/pl_PL.iso88592/LC_MONETARY 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_MEASUREMENT 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_ADDRESS 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_TIME 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_NUMERIC 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_PAPER 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_IDENTIFICATION 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_CTYPE 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_TELEPHONE 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_COLLATE 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_NAME 465s /tmp/tmp.2l4uU1qHnW/pl_PL.utf8/LC_MONETARY 465s /tmp/tmp.2l4uU1qHnW/tr_TR 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_MEASUREMENT 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_ADDRESS 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_TIME 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_NUMERIC 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_PAPER 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_IDENTIFICATION 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_CTYPE 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_TELEPHONE 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_COLLATE 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_NAME 465s /tmp/tmp.2l4uU1qHnW/tr_TR/LC_MONETARY 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_MEASUREMENT 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_ADDRESS 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_TIME 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_NUMERIC 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_PAPER 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_IDENTIFICATION 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_CTYPE 465s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/ja_JP.eucjp/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/en_US 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/en_US/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/sv_SE.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/en_US.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/fa_IR.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/pl_PL 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/pl_PL/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/de_DE.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/sr_RS 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/sr_RS/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/tr_TR.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/ru_RU.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/ja_JP.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/es_ES.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/tt_RU 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/tt_RU/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/en_GB.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/en_GB 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/en_GB/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/sv_SE 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/sv_SE/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/fr_FR.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/sr_RS@latin/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/de_DE@euro.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/el_GR.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/de_DE 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/de_DE/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/fa_IR 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/fa_IR/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/lt_LT.utf8/LC_MONETARY 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_MEASUREMENT 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_ADDRESS 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_TIME 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_NUMERIC 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_PAPER 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_IDENTIFICATION 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_CTYPE 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_TELEPHONE 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_COLLATE 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_NAME 466s /tmp/tmp.2l4uU1qHnW/hr_HR.utf8/LC_MONETARY 466s 1..316 466s # Running test: glib/unix-fd.test 466s TAP version 13 466s # random seed: R02S796f5d3270f6fcc57b5afa313d32f8ac 466s 1..2 466s # Start of unix-fd tests 466s ok 1 /unix-fd/fd-list 466s ok 2 /unix-fd/scm 466s # End of unix-fd tests 466s ok - glib/unix-fd.test 466s # Running test: glib/g-icon.test 466s TAP version 13 466s # random seed: R02Sf39f0dc5bfcee3f224f9da4f2773a71b 466s 1..6 466s # Start of icons tests 466s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 466s ok 1 /icons/to-string 466s ok 2 /icons/serialize 466s ok 3 /icons/themed 466s ok 4 /icons/emblemed 466s ok 5 /icons/file 466s ok 6 /icons/bytes 466s # End of icons tests 466s ok - glib/g-icon.test 466s # Running test: glib/custom-dispatch.test 466s TAP version 13 466s # random seed: R02S569d259465c43333f6fe02f5631b6a3a 466s 1..2 466s # Start of properties tests 466s # Start of custom-dispatch tests 466s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 466s ok 1 /properties/custom-dispatch/init 466s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 466s ok 2 /properties/custom-dispatch/set 466s # End of custom-dispatch tests 466s # End of properties tests 466s ok - glib/custom-dispatch.test 466s # Running test: glib/mkenums.py.test 466s TAP version 13 466s ok 1 __main__.TestMkenums.test_available_in 466s # tmpdir: /tmp/tmph1bwnydm 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmph1bwnydm/tmpgbjhp1bg.h: 466s # typedef enum { 466s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 466s # } GDBusServerFlags; 466s # 466s # /tmp/tmph1bwnydm/tmpawkt86u2.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmph1bwnydm/tmpawkt86u2.template', '/tmp/tmph1bwnydm/tmpgbjhp1bg.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmph1bwnydm/tmpgbjhp1bg.h 466s # basename: tmpgbjhp1bg.h 466s # enumeration-production 466s # EnumName: GDBusServerFlags 466s # enum_name: g_dbus_server_flags 466s # ENUMNAME: G_DBUS_SERVER_FLAGS 466s # ENUMSHORT: DBUS_SERVER_FLAGS 466s # ENUMPREFIX: G 466s # enumsince: 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # value-header 466s # EnumName: GDBusServerFlags 466s # enum_name: g_dbus_server_flags 466s # ENUMNAME: G_DBUS_SERVER_FLAGS 466s # ENUMSHORT: DBUS_SERVER_FLAGS 466s # ENUMPREFIX: G 466s # enumsince: 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # value-production 466s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 466s # valuenick: user 466s # valuenum: 4 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # value-tail 466s # EnumName: GDBusServerFlags 466s # enum_name: g_dbus_server_flags 466s # ENUMNAME: G_DBUS_SERVER_FLAGS 466s # ENUMSHORT: DBUS_SERVER_FLAGS 466s # ENUMPREFIX: G 466s # enumsince: 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 2 __main__.TestMkenums.test_comma_in_enum_value 466s # tmpdir: /tmp/tmptgf3_2i5 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmptgf3_2i5/tmpw_gecxa3.h: 466s # typedef enum { 466s # ENUM_VALUE_WITH_COMMA = ',', 466s # } TestCommaEnum; 466s # 466s # /tmp/tmptgf3_2i5/tmpl40xij55.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptgf3_2i5/tmpl40xij55.template', '/tmp/tmptgf3_2i5/tmpw_gecxa3.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmptgf3_2i5/tmpw_gecxa3.h 466s # basename: tmpw_gecxa3.h 466s # enumeration-production 466s # EnumName: TestCommaEnum 466s # enum_name: test_comma_enum 466s # ENUMNAME: TEST_COMMA_ENUM 466s # ENUMSHORT: COMMA_ENUM 466s # ENUMPREFIX: TEST 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-header 466s # EnumName: TestCommaEnum 466s # enum_name: test_comma_enum 466s # ENUMNAME: TEST_COMMA_ENUM 466s # ENUMSHORT: COMMA_ENUM 466s # ENUMPREFIX: TEST 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-production 466s # VALUENAME: ENUM_VALUE_WITH_COMMA 466s # valuenick: comma 466s # valuenum: 44 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-tail 466s # EnumName: TestCommaEnum 466s # enum_name: test_comma_enum 466s # ENUMNAME: TEST_COMMA_ENUM 466s # ENUMSHORT: COMMA_ENUM 466s # ENUMPREFIX: TEST 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 3 __main__.TestMkenums.test_deprecated_in 466s # tmpdir: /tmp/tmpwofqbd6c 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmpwofqbd6c/tmpxpzlqck8.h: 466s # typedef enum { 466s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 466s # } GDBusServerFlags; 466s # 466s # /tmp/tmpwofqbd6c/tmptsjq0zrt.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwofqbd6c/tmptsjq0zrt.template', '/tmp/tmpwofqbd6c/tmpxpzlqck8.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmpwofqbd6c/tmpxpzlqck8.h 466s # basename: tmpxpzlqck8.h 466s # enumeration-production 466s # EnumName: GDBusServerFlags 466s # enum_name: g_dbus_server_flags 466s # ENUMNAME: G_DBUS_SERVER_FLAGS 466s # ENUMSHORT: DBUS_SERVER_FLAGS 466s # ENUMPREFIX: G 466s # enumsince: 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # value-header 466s # EnumName: GDBusServerFlags 466s # enum_name: g_dbus_server_flags 466s # ENUMNAME: G_DBUS_SERVER_FLAGS 466s # ENUMSHORT: DBUS_SERVER_FLAGS 466s # ENUMPREFIX: G 466s # enumsince: 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # value-production 466s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 466s # valuenick: user 466s # valuenum: 4 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # value-tail 466s # EnumName: GDBusServerFlags 466s # enum_name: g_dbus_server_flags 466s # ENUMNAME: G_DBUS_SERVER_FLAGS 466s # ENUMSHORT: DBUS_SERVER_FLAGS 466s # ENUMPREFIX: G 466s # enumsince: 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 4 __main__.TestMkenums.test_deprecated_in_for 466s # tmpdir: /tmp/tmp4jmovk9t 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmp4jmovk9t/tmp1p5qrfzv.h: 466s # typedef enum { 466s # 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) 466s # } GDBusServerFlags; 466s # 466s # /tmp/tmp4jmovk9t/tmp1o63st0t.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4jmovk9t/tmp1o63st0t.template', '/tmp/tmp4jmovk9t/tmp1p5qrfzv.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmp4jmovk9t/tmp1p5qrfzv.h 466s # basename: tmp1p5qrfzv.h 466s # enumeration-production 466s # EnumName: GDBusServerFlags 466s # enum_name: g_dbus_server_flags 466s # ENUMNAME: G_DBUS_SERVER_FLAGS 466s # ENUMSHORT: DBUS_SERVER_FLAGS 466s # ENUMPREFIX: G 466s # enumsince: 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # value-header 466s # EnumName: GDBusServerFlags 466s # enum_name: g_dbus_server_flags 466s # ENUMNAME: G_DBUS_SERVER_FLAGS 466s # ENUMSHORT: DBUS_SERVER_FLAGS 466s # ENUMPREFIX: G 466s # enumsince: 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # value-production 466s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 466s # valuenick: user 466s # valuenum: 4 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # value-tail 466s # EnumName: GDBusServerFlags 466s # enum_name: g_dbus_server_flags 466s # ENUMNAME: G_DBUS_SERVER_FLAGS 466s # ENUMSHORT: DBUS_SERVER_FLAGS 466s # ENUMPREFIX: G 466s # enumsince: 466s # type: flags 466s # Type: Flags 466s # TYPE: FLAGS 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 5 __main__.TestMkenums.test_empty_header 466s # tmpdir: /tmp/tmpr02y8xih 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmpr02y8xih/tmp7atmtt0i.h: 466s # /tmp/tmpr02y8xih/tmpmrrv0vme.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpr02y8xih/tmpmrrv0vme.template', '/tmp/tmpr02y8xih/tmp7atmtt0i.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 6 __main__.TestMkenums.test_empty_template 466s # tmpdir: /tmp/tmp85op3rul 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmp85op3rul/tmp7n9nnz6o.template: 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp85op3rul/tmp7n9nnz6o.template'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # 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. */ 466s # 466s # 466s # /* Generated data ends here */ 466s ok 7 __main__.TestMkenums.test_enum_name 466s # tmpdir: /tmp/tmpvoq5gtnv 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmpvoq5gtnv/tmp8l_heso2.h: 466s # typedef enum _SomeEnumIdentifier { 466s # ENUM_VALUE 466s # } SomeEnumIdentifier; 466s # 466s # /tmp/tmpvoq5gtnv/tmpbgmca_2b.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvoq5gtnv/tmpbgmca_2b.template', '/tmp/tmpvoq5gtnv/tmp8l_heso2.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmpvoq5gtnv/tmp8l_heso2.h 466s # basename: tmp8l_heso2.h 466s # enumeration-production 466s # EnumName: SomeEnumIdentifier 466s # enum_name: some_enum_identifier 466s # ENUMNAME: SOME_ENUM_IDENTIFIER 466s # ENUMSHORT: ENUM_IDENTIFIER 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-header 466s # EnumName: SomeEnumIdentifier 466s # enum_name: some_enum_identifier 466s # ENUMNAME: SOME_ENUM_IDENTIFIER 466s # ENUMSHORT: ENUM_IDENTIFIER 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-production 466s # VALUENAME: ENUM_VALUE 466s # valuenick: value 466s # valuenum: 0 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-tail 466s # EnumName: SomeEnumIdentifier 466s # enum_name: some_enum_identifier 466s # ENUMNAME: SOME_ENUM_IDENTIFIER 466s # ENUMSHORT: ENUM_IDENTIFIER 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 8 __main__.TestMkenums.test_enum_private_public 466s # tmpdir: /tmp/tmp9chd7l5p 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmp9chd7l5p/tmpz7s7j4f8.h: 466s # typedef enum { 466s # ENUM_VALUE_PUBLIC1, 466s # /*< private >*/ 466s # ENUM_VALUE_PRIVATE, 466s # } SomeEnumA 466s # 466s # /tmp/tmp9chd7l5p/tmp5d2mi9_7.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9chd7l5p/tmp5d2mi9_7.template', '/tmp/tmp9chd7l5p/tmpz7s7j4f8.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmp9chd7l5p/tmpz7s7j4f8.h 466s # basename: tmpz7s7j4f8.h 466s # enumeration-production 466s # EnumName: SomeEnumA 466s # enum_name: some_enum_a 466s # ENUMNAME: SOME_ENUM_A 466s # ENUMSHORT: ENUM_A 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-header 466s # EnumName: SomeEnumA 466s # enum_name: some_enum_a 466s # ENUMNAME: SOME_ENUM_A 466s # ENUMSHORT: ENUM_A 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-production 466s # VALUENAME: ENUM_VALUE_PUBLIC1 466s # valuenick: public1 466s # valuenum: 0 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-tail 466s # EnumName: SomeEnumA 466s # enum_name: some_enum_a 466s # ENUMNAME: SOME_ENUM_A 466s # ENUMSHORT: ENUM_A 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s # /tmp/tmp9chd7l5p/tmp9jq0t4bv.h: 466s # typedef enum { 466s # /*< private >*/ 466s # ENUM_VALUE_PRIVATE, 466s # /*< public >*/ 466s # ENUM_VALUE_PUBLIC2, 466s # } SomeEnumB; 466s # 466s # /tmp/tmp9chd7l5p/tmpgf6k3bba.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9chd7l5p/tmpgf6k3bba.template', '/tmp/tmp9chd7l5p/tmp9jq0t4bv.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmp9chd7l5p/tmp9jq0t4bv.h 466s # basename: tmp9jq0t4bv.h 466s # enumeration-production 466s # EnumName: SomeEnumB 466s # enum_name: some_enum_b 466s # ENUMNAME: SOME_ENUM_B 466s # ENUMSHORT: ENUM_B 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-header 466s # EnumName: SomeEnumB 466s # enum_name: some_enum_b 466s # ENUMNAME: SOME_ENUM_B 466s # ENUMSHORT: ENUM_B 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-production 466s # VALUENAME: ENUM_VALUE_PUBLIC2 466s # valuenick: public2 466s # valuenum: 1 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-tail 466s # EnumName: SomeEnumB 466s # enum_name: some_enum_b 466s # ENUMNAME: SOME_ENUM_B 466s # ENUMSHORT: ENUM_B 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 466s # tmpdir: /tmp/tmpfuguy0cg 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmpfuguy0cg/tmpe447gvye.h: 466s # typedef enum { 466s # /*< private >*/ 466s # ENUM_VALUE_PRIVATE = 5, 466s # /*< public >*/ 466s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 466s # } TestSymbolicEnum; 466s # 466s # /tmp/tmpfuguy0cg/tmpufnrs49l.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfuguy0cg/tmpufnrs49l.template', '/tmp/tmpfuguy0cg/tmpe447gvye.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmpfuguy0cg/tmpe447gvye.h 466s # basename: tmpe447gvye.h 466s # enumeration-production 466s # EnumName: TestSymbolicEnum 466s # enum_name: test_symbolic_enum 466s # ENUMNAME: TEST_SYMBOLIC_ENUM 466s # ENUMSHORT: SYMBOLIC_ENUM 466s # ENUMPREFIX: TEST 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-header 466s # EnumName: TestSymbolicEnum 466s # enum_name: test_symbolic_enum 466s # ENUMNAME: TEST_SYMBOLIC_ENUM 466s # ENUMSHORT: SYMBOLIC_ENUM 466s # ENUMPREFIX: TEST 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-production 466s # VALUENAME: ENUM_VALUE_PUBLIC 466s # valuenick: public 466s # valuenum: 7 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-tail 466s # EnumName: TestSymbolicEnum 466s # enum_name: test_symbolic_enum 466s # ENUMNAME: TEST_SYMBOLIC_ENUM 466s # ENUMSHORT: SYMBOLIC_ENUM 466s # ENUMPREFIX: TEST 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 466s # tmpdir: /tmp/tmpksvgmtk9 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmpksvgmtk9/tmpoj5oi39o.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-tail ***/ 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpksvgmtk9/tmpoj5oi39o.template'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # filename: @filename@ 466s # basename: @basename@ 466s # file-tail 466s # filename: @filename@ 466s # basename: @basename@ 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 11 __main__.TestMkenums.test_help 466s # tmpdir: /tmp/tmp90wm1h7s 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # Running: ['/usr/bin/glib-mkenums', '--help'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 466s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 466s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 466s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 466s # [--comments COMMENT_TMPL] [--template TEMPLATE] 466s # [--output OUTPUT] [--version] 466s # [args ...] 466s # 466s # positional arguments: 466s # args One or more input files, or a single argument 466s # @rspfile_path pointing to a file that contains the 466s # actual arguments 466s # 466s # options: 466s # -h, --help show this help message and exit 466s # --identifier-prefix IDPREFIX 466s # Identifier prefix 466s # --symbol-prefix SYMPREFIX 466s # Symbol prefix 466s # --fhead FHEAD Output file header 466s # --ftail FTAIL Output file footer 466s # --fprod FPROD Put out TEXT every time a new input file is being 466s # processed. 466s # --eprod EPROD Per enum text, produced prior to value iterations 466s # --vhead VHEAD Value header, produced before iterating over enum 466s # values 466s # --vprod VPROD Value text, produced for each enum value. 466s # --vtail VTAIL Value tail, produced after iterating over enum values 466s # --comments COMMENT_TMPL 466s # Comment structure 466s # --template TEMPLATE Template file 466s # --output OUTPUT 466s # --version, -v Print version information 466s # 466s # Production text substitutions: 466s # @EnumName@ PrefixTheXEnum 466s # @enum_name@ prefix_the_xenum 466s # @ENUMNAME@ PREFIX_THE_XENUM 466s # @ENUMSHORT@ THE_XENUM 466s # @ENUMPREFIX@ PREFIX 466s # @enumsince@ the user-provided since value given 466s # @VALUENAME@ PREFIX_THE_XVALUE 466s # @valuenick@ the-xvalue 466s # @valuenum@ the integer value (limited support, Since: 2.26) 466s # @type@ either enum or flags 466s # @Type@ either Enum or Flags 466s # @TYPE@ either ENUM or FLAGS 466s # @filename@ name of current input file 466s # @basename@ base name of the current input file (Since: 2.22) 466s ok 12 __main__.TestMkenums.test_no_args 466s # tmpdir: /tmp/tmp771jcj97 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # Running: ['/usr/bin/glib-mkenums'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # 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. */ 466s # 466s # 466s # /* Generated data ends here */ 466s ok 13 __main__.TestMkenums.test_no_headers 466s # tmpdir: /tmp/tmphezxm9kg 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmphezxm9kg/tmpqxsovnvj.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphezxm9kg/tmpqxsovnvj.template'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 14 __main__.TestMkenums.test_no_nick 466s # tmpdir: /tmp/tmp8jdsng7a 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmp8jdsng7a/tmph86u44ge.h: 466s # typedef enum { 466s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 466s # } GeglSamplerType; 466s # 466s # /tmp/tmp8jdsng7a/tmpdqksjne1.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8jdsng7a/tmpdqksjne1.template', '/tmp/tmp8jdsng7a/tmph86u44ge.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmp8jdsng7a/tmph86u44ge.h 466s # basename: tmph86u44ge.h 466s # enumeration-production 466s # EnumName: GeglSamplerType 466s # enum_name: gegl_sampler_type 466s # ENUMNAME: GEGL_SAMPLER_TYPE 466s # ENUMSHORT: SAMPLER_TYPE 466s # ENUMPREFIX: GEGL 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-header 466s # EnumName: GeglSamplerType 466s # enum_name: gegl_sampler_type 466s # ENUMNAME: GEGL_SAMPLER_TYPE 466s # ENUMSHORT: SAMPLER_TYPE 466s # ENUMPREFIX: GEGL 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-production 466s # VALUENAME: GEGL_SAMPLER_NEAREST 466s # valuenick: nearest 466s # valuenum: 0 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-tail 466s # EnumName: GeglSamplerType 466s # enum_name: gegl_sampler_type 466s # ENUMNAME: GEGL_SAMPLER_TYPE 466s # ENUMSHORT: SAMPLER_TYPE 466s # ENUMPREFIX: GEGL 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 15 __main__.TestMkenums.test_non_utf8_encoding 466s # tmpdir: /tmp/tmpjl38tgkw 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmpjl38tgkw/tmplfxi_z94.h: 466s # /* Copyright © La Peña */ 466s # typedef enum { 466s # ENUM_VALUE 466s # } SomeEnumIdentifier; 466s # 466s # /tmp/tmpjl38tgkw/tmpplzzrk1s.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjl38tgkw/tmpplzzrk1s.template', '/tmp/tmpjl38tgkw/tmplfxi_z94.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmpjl38tgkw/tmplfxi_z94.h 466s # basename: tmplfxi_z94.h 466s # enumeration-production 466s # EnumName: SomeEnumIdentifier 466s # enum_name: some_enum_identifier 466s # ENUMNAME: SOME_ENUM_IDENTIFIER 466s # ENUMSHORT: ENUM_IDENTIFIER 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-header 466s # EnumName: SomeEnumIdentifier 466s # enum_name: some_enum_identifier 466s # ENUMNAME: SOME_ENUM_IDENTIFIER 466s # ENUMSHORT: ENUM_IDENTIFIER 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-production 466s # VALUENAME: ENUM_VALUE 466s # valuenick: value 466s # valuenum: 0 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-tail 466s # EnumName: SomeEnumIdentifier 466s # enum_name: some_enum_identifier 466s # ENUMNAME: SOME_ENUM_IDENTIFIER 466s # ENUMSHORT: ENUM_IDENTIFIER 466s # ENUMPREFIX: SOME 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 16 __main__.TestMkenums.test_reproducible 466s # tmpdir: /tmp/tmp8scxe5ww 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmp8scxe5ww/tmpnc9pfnce.template: template 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8scxe5ww/tmpnc9pfnce.template', '/tmp/tmp8scxe5ww/tmppw2y8pl11.h', '/tmp/tmp8scxe5ww/tmp7yry69y72.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # 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. */ 466s # 466s # 466s # /* Generated data ends here */ 466s # /tmp/tmp8scxe5ww/tmpj5vqfnba.template: template 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8scxe5ww/tmpj5vqfnba.template', '/tmp/tmp8scxe5ww/tmp7yry69y72.h', '/tmp/tmp8scxe5ww/tmppw2y8pl11.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # 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. */ 466s # 466s # 466s # /* Generated data ends here */ 466s ok 17 __main__.TestMkenums.test_since 466s # tmpdir: /tmp/tmp79wxsu03 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmp79wxsu03/tmplx75qdsi.h: 466s # typedef enum { /*< since=1.0 >*/ 466s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 466s # } QmiWmsMessageProtocol; 466s # 466s # /tmp/tmp79wxsu03/tmp4zolu2yx.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp79wxsu03/tmp4zolu2yx.template', '/tmp/tmp79wxsu03/tmplx75qdsi.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmp79wxsu03/tmplx75qdsi.h 466s # basename: tmplx75qdsi.h 466s # enumeration-production 466s # EnumName: QmiWmsMessageProtocol 466s # enum_name: qmi_wms_message_protocol 466s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 466s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 466s # ENUMPREFIX: QMI 466s # enumsince: 1.0 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-header 466s # EnumName: QmiWmsMessageProtocol 466s # enum_name: qmi_wms_message_protocol 466s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 466s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 466s # ENUMPREFIX: QMI 466s # enumsince: 1.0 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-production 466s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 466s # valuenick: cdma 466s # valuenum: 0 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-tail 466s # EnumName: QmiWmsMessageProtocol 466s # enum_name: qmi_wms_message_protocol 466s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 466s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 466s # ENUMPREFIX: QMI 466s # enumsince: 1.0 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 466s ok 18 __main__.TestMkenums.test_with_double_quotes 466s # tmpdir: /tmp/tmpa7onh97g 466s # rspfile: False, mkenums: /usr/bin/glib-mkenums 466s # /tmp/tmpa7onh97g/tmps9sdft5i.h: 466s # typedef enum { 466s # FOO_VALUE /*< nick="eek, a comma" >*/ 466s # } Foo; 466s # 466s # /tmp/tmpa7onh97g/tmpwsz3umao.template: 466s # /*** BEGIN file-header ***/ 466s # file-header 466s # /*** END file-header ***/ 466s # 466s # /*** BEGIN file-production ***/ 466s # file-production 466s # filename: @filename@ 466s # basename: @basename@ 466s # /*** END file-production ***/ 466s # 466s # /*** BEGIN enumeration-production ***/ 466s # enumeration-production 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END enumeration-production ***/ 466s # 466s # /*** BEGIN value-header ***/ 466s # value-header 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-header ***/ 466s # 466s # /*** BEGIN value-production ***/ 466s # value-production 466s # VALUENAME: @VALUENAME@ 466s # valuenick: @valuenick@ 466s # valuenum: @valuenum@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-production ***/ 466s # 466s # /*** BEGIN value-tail ***/ 466s # value-tail 466s # EnumName: @EnumName@ 466s # enum_name: @enum_name@ 466s # ENUMNAME: @ENUMNAME@ 466s # ENUMSHORT: @ENUMSHORT@ 466s # ENUMPREFIX: @ENUMPREFIX@ 466s # enumsince: @enumsince@ 466s # type: @type@ 466s # Type: @Type@ 466s # TYPE: @TYPE@ 466s # /*** END value-tail ***/ 466s # 466s # /*** BEGIN comment ***/ 466s # comment 466s # comment: @comment@ 466s # /*** END comment ***/ 466s # 466s # /*** BEGIN file-tail ***/ 466s # file-tail 466s # /*** END file-tail ***/ 466s # 466s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpa7onh97g/tmpwsz3umao.template', '/tmp/tmpa7onh97g/tmps9sdft5i.h'] 466s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 466s # Output: comment 466s # 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. 466s # 466s # 466s # file-header 466s # file-production 466s # filename: /tmp/tmpa7onh97g/tmps9sdft5i.h 466s # basename: tmps9sdft5i.h 466s # enumeration-production 466s # EnumName: Foo 466s # enum_name: foo_ 466s # ENUMNAME: FOO_ 466s # ENUMSHORT: 466s # ENUMPREFIX: FOO 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-header 466s # EnumName: Foo 466s # enum_name: foo_ 466s # ENUMNAME: FOO_ 466s # ENUMSHORT: 466s # ENUMPREFIX: FOO 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-production 466s # VALUENAME: FOO_VALUE 466s # valuenick: eek, a comma 466s # valuenum: 0 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # value-tail 466s # EnumName: Foo 466s # enum_name: foo_ 466s # ENUMNAME: FOO_ 466s # ENUMSHORT: 466s # ENUMPREFIX: FOO 466s # enumsince: 466s # type: enum 466s # Type: Enum 466s # TYPE: ENUM 466s # file-tail 466s # 466s # comment 466s # comment: Generated data ends here 467s ok 19 __main__.TestRspMkenums.test_available_in 467s # tmpdir: /tmp/tmp2h5swiwk 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmp2h5swiwk/tmpxhlg1oar.h: 467s # typedef enum { 467s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 467s # } GDBusServerFlags; 467s # 467s # /tmp/tmp2h5swiwk/tmpnlwrf95j.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmp2h5swiwk/tmpnlwrf95j.template /tmp/tmp2h5swiwk/tmpxhlg1oar.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2h5swiwk/tmpp5sbvrl7'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmp2h5swiwk/tmpxhlg1oar.h 467s # basename: tmpxhlg1oar.h 467s # enumeration-production 467s # EnumName: GDBusServerFlags 467s # enum_name: g_dbus_server_flags 467s # ENUMNAME: G_DBUS_SERVER_FLAGS 467s # ENUMSHORT: DBUS_SERVER_FLAGS 467s # ENUMPREFIX: G 467s # enumsince: 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # value-header 467s # EnumName: GDBusServerFlags 467s # enum_name: g_dbus_server_flags 467s # ENUMNAME: G_DBUS_SERVER_FLAGS 467s # ENUMSHORT: DBUS_SERVER_FLAGS 467s # ENUMPREFIX: G 467s # enumsince: 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # value-production 467s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 467s # valuenick: user 467s # valuenum: 4 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # value-tail 467s # EnumName: GDBusServerFlags 467s # enum_name: g_dbus_server_flags 467s # ENUMNAME: G_DBUS_SERVER_FLAGS 467s # ENUMSHORT: DBUS_SERVER_FLAGS 467s # ENUMPREFIX: G 467s # enumsince: 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 467s # tmpdir: /tmp/tmpjy43u6pj 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmpjy43u6pj/tmpi882fdd_.h: 467s # typedef enum { 467s # ENUM_VALUE_WITH_COMMA = ',', 467s # } TestCommaEnum; 467s # 467s # /tmp/tmpjy43u6pj/tmpvyeuw6hz.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmpjy43u6pj/tmpvyeuw6hz.template /tmp/tmpjy43u6pj/tmpi882fdd_.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjy43u6pj/tmpr0ea99yr'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmpjy43u6pj/tmpi882fdd_.h 467s # basename: tmpi882fdd_.h 467s # enumeration-production 467s # EnumName: TestCommaEnum 467s # enum_name: test_comma_enum 467s # ENUMNAME: TEST_COMMA_ENUM 467s # ENUMSHORT: COMMA_ENUM 467s # ENUMPREFIX: TEST 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-header 467s # EnumName: TestCommaEnum 467s # enum_name: test_comma_enum 467s # ENUMNAME: TEST_COMMA_ENUM 467s # ENUMSHORT: COMMA_ENUM 467s # ENUMPREFIX: TEST 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-production 467s # VALUENAME: ENUM_VALUE_WITH_COMMA 467s # valuenick: comma 467s # valuenum: 44 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-tail 467s # EnumName: TestCommaEnum 467s # enum_name: test_comma_enum 467s # ENUMNAME: TEST_COMMA_ENUM 467s # ENUMSHORT: COMMA_ENUM 467s # ENUMPREFIX: TEST 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 21 __main__.TestRspMkenums.test_deprecated_in 467s # tmpdir: /tmp/tmps19deqgg 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmps19deqgg/tmp4_ey5g9u.h: 467s # typedef enum { 467s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 467s # } GDBusServerFlags; 467s # 467s # /tmp/tmps19deqgg/tmpr1dq2yg8.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmps19deqgg/tmpr1dq2yg8.template /tmp/tmps19deqgg/tmp4_ey5g9u.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps19deqgg/tmpng1_w2l2'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmps19deqgg/tmp4_ey5g9u.h 467s # basename: tmp4_ey5g9u.h 467s # enumeration-production 467s # EnumName: GDBusServerFlags 467s # enum_name: g_dbus_server_flags 467s # ENUMNAME: G_DBUS_SERVER_FLAGS 467s # ENUMSHORT: DBUS_SERVER_FLAGS 467s # ENUMPREFIX: G 467s # enumsince: 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # value-header 467s # EnumName: GDBusServerFlags 467s # enum_name: g_dbus_server_flags 467s # ENUMNAME: G_DBUS_SERVER_FLAGS 467s # ENUMSHORT: DBUS_SERVER_FLAGS 467s # ENUMPREFIX: G 467s # enumsince: 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # value-production 467s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 467s # valuenick: user 467s # valuenum: 4 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # value-tail 467s # EnumName: GDBusServerFlags 467s # enum_name: g_dbus_server_flags 467s # ENUMNAME: G_DBUS_SERVER_FLAGS 467s # ENUMSHORT: DBUS_SERVER_FLAGS 467s # ENUMPREFIX: G 467s # enumsince: 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 467s # tmpdir: /tmp/tmp7b070oht 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmp7b070oht/tmpnnsq_dqs.h: 467s # typedef enum { 467s # 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) 467s # } GDBusServerFlags; 467s # 467s # /tmp/tmp7b070oht/tmpoajtj0vg.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmp7b070oht/tmpoajtj0vg.template /tmp/tmp7b070oht/tmpnnsq_dqs.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7b070oht/tmpqdvgos0x'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmp7b070oht/tmpnnsq_dqs.h 467s # basename: tmpnnsq_dqs.h 467s # enumeration-production 467s # EnumName: GDBusServerFlags 467s # enum_name: g_dbus_server_flags 467s # ENUMNAME: G_DBUS_SERVER_FLAGS 467s # ENUMSHORT: DBUS_SERVER_FLAGS 467s # ENUMPREFIX: G 467s # enumsince: 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # value-header 467s # EnumName: GDBusServerFlags 467s # enum_name: g_dbus_server_flags 467s # ENUMNAME: G_DBUS_SERVER_FLAGS 467s # ENUMSHORT: DBUS_SERVER_FLAGS 467s # ENUMPREFIX: G 467s # enumsince: 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # value-production 467s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 467s # valuenick: user 467s # valuenum: 4 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # value-tail 467s # EnumName: GDBusServerFlags 467s # enum_name: g_dbus_server_flags 467s # ENUMNAME: G_DBUS_SERVER_FLAGS 467s # ENUMSHORT: DBUS_SERVER_FLAGS 467s # ENUMPREFIX: G 467s # enumsince: 467s # type: flags 467s # Type: Flags 467s # TYPE: FLAGS 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 23 __main__.TestRspMkenums.test_empty_header 467s # tmpdir: /tmp/tmp80pknm9w 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmp80pknm9w/tmp6js2824a.h: 467s # /tmp/tmp80pknm9w/tmpwywm4_ab.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmp80pknm9w/tmpwywm4_ab.template /tmp/tmp80pknm9w/tmp6js2824a.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp80pknm9w/tmpzg4z68pf'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 24 __main__.TestRspMkenums.test_empty_template 467s # tmpdir: /tmp/tmpkzc3zrcm 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmpkzc3zrcm/tmp_rh0vrne.template: 467s # Response file contains: --template /tmp/tmpkzc3zrcm/tmp_rh0vrne.template 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkzc3zrcm/tmpanbaho29'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # 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. */ 467s # 467s # 467s # /* Generated data ends here */ 467s ok 25 __main__.TestRspMkenums.test_enum_name 467s # tmpdir: /tmp/tmppfyl8flx 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmppfyl8flx/tmpe2dpbr69.h: 467s # typedef enum _SomeEnumIdentifier { 467s # ENUM_VALUE 467s # } SomeEnumIdentifier; 467s # 467s # /tmp/tmppfyl8flx/tmpts4awb4x.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmppfyl8flx/tmpts4awb4x.template /tmp/tmppfyl8flx/tmpe2dpbr69.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppfyl8flx/tmpqd74djwx'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmppfyl8flx/tmpe2dpbr69.h 467s # basename: tmpe2dpbr69.h 467s # enumeration-production 467s # EnumName: SomeEnumIdentifier 467s # enum_name: some_enum_identifier 467s # ENUMNAME: SOME_ENUM_IDENTIFIER 467s # ENUMSHORT: ENUM_IDENTIFIER 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-header 467s # EnumName: SomeEnumIdentifier 467s # enum_name: some_enum_identifier 467s # ENUMNAME: SOME_ENUM_IDENTIFIER 467s # ENUMSHORT: ENUM_IDENTIFIER 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-production 467s # VALUENAME: ENUM_VALUE 467s # valuenick: value 467s # valuenum: 0 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-tail 467s # EnumName: SomeEnumIdentifier 467s # enum_name: some_enum_identifier 467s # ENUMNAME: SOME_ENUM_IDENTIFIER 467s # ENUMSHORT: ENUM_IDENTIFIER 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 26 __main__.TestRspMkenums.test_enum_private_public 467s # tmpdir: /tmp/tmpqb768lx7 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmpqb768lx7/tmpisq856p3.h: 467s # typedef enum { 467s # ENUM_VALUE_PUBLIC1, 467s # /*< private >*/ 467s # ENUM_VALUE_PRIVATE, 467s # } SomeEnumA 467s # 467s # /tmp/tmpqb768lx7/tmpecydv8bz.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmpqb768lx7/tmpecydv8bz.template /tmp/tmpqb768lx7/tmpisq856p3.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqb768lx7/tmpcjw2eewi'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmpqb768lx7/tmpisq856p3.h 467s # basename: tmpisq856p3.h 467s # enumeration-production 467s # EnumName: SomeEnumA 467s # enum_name: some_enum_a 467s # ENUMNAME: SOME_ENUM_A 467s # ENUMSHORT: ENUM_A 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-header 467s # EnumName: SomeEnumA 467s # enum_name: some_enum_a 467s # ENUMNAME: SOME_ENUM_A 467s # ENUMSHORT: ENUM_A 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-production 467s # VALUENAME: ENUM_VALUE_PUBLIC1 467s # valuenick: public1 467s # valuenum: 0 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-tail 467s # EnumName: SomeEnumA 467s # enum_name: some_enum_a 467s # ENUMNAME: SOME_ENUM_A 467s # ENUMSHORT: ENUM_A 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s # /tmp/tmpqb768lx7/tmpbwhs_k37.h: 467s # typedef enum { 467s # /*< private >*/ 467s # ENUM_VALUE_PRIVATE, 467s # /*< public >*/ 467s # ENUM_VALUE_PUBLIC2, 467s # } SomeEnumB; 467s # 467s # /tmp/tmpqb768lx7/tmpu6adnn9h.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmpqb768lx7/tmpu6adnn9h.template /tmp/tmpqb768lx7/tmpbwhs_k37.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqb768lx7/tmph4shptqz'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmpqb768lx7/tmpbwhs_k37.h 467s # basename: tmpbwhs_k37.h 467s # enumeration-production 467s # EnumName: SomeEnumB 467s # enum_name: some_enum_b 467s # ENUMNAME: SOME_ENUM_B 467s # ENUMSHORT: ENUM_B 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-header 467s # EnumName: SomeEnumB 467s # enum_name: some_enum_b 467s # ENUMNAME: SOME_ENUM_B 467s # ENUMSHORT: ENUM_B 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-production 467s # VALUENAME: ENUM_VALUE_PUBLIC2 467s # valuenick: public2 467s # valuenum: 1 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-tail 467s # EnumName: SomeEnumB 467s # enum_name: some_enum_b 467s # ENUMNAME: SOME_ENUM_B 467s # ENUMSHORT: ENUM_B 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 467s # tmpdir: /tmp/tmp4ni5hd5p 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmp4ni5hd5p/tmpawr4pize.h: 467s # typedef enum { 467s # /*< private >*/ 467s # ENUM_VALUE_PRIVATE = 5, 467s # /*< public >*/ 467s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 467s # } TestSymbolicEnum; 467s # 467s # /tmp/tmp4ni5hd5p/tmp2tbo16wq.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmp4ni5hd5p/tmp2tbo16wq.template /tmp/tmp4ni5hd5p/tmpawr4pize.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4ni5hd5p/tmpre9yu2q8'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmp4ni5hd5p/tmpawr4pize.h 467s # basename: tmpawr4pize.h 467s # enumeration-production 467s # EnumName: TestSymbolicEnum 467s # enum_name: test_symbolic_enum 467s # ENUMNAME: TEST_SYMBOLIC_ENUM 467s # ENUMSHORT: SYMBOLIC_ENUM 467s # ENUMPREFIX: TEST 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-header 467s # EnumName: TestSymbolicEnum 467s # enum_name: test_symbolic_enum 467s # ENUMNAME: TEST_SYMBOLIC_ENUM 467s # ENUMSHORT: SYMBOLIC_ENUM 467s # ENUMPREFIX: TEST 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-production 467s # VALUENAME: ENUM_VALUE_PUBLIC 467s # valuenick: public 467s # valuenum: 7 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-tail 467s # EnumName: TestSymbolicEnum 467s # enum_name: test_symbolic_enum 467s # ENUMNAME: TEST_SYMBOLIC_ENUM 467s # ENUMSHORT: SYMBOLIC_ENUM 467s # ENUMPREFIX: TEST 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 467s # tmpdir: /tmp/tmpekvas3m4 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmpekvas3m4/tmp71pzqcc_.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-tail ***/ 467s # Response file contains: --template /tmp/tmpekvas3m4/tmp71pzqcc_.template 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpekvas3m4/tmpop8dxjft'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # filename: @filename@ 467s # basename: @basename@ 467s # file-tail 467s # filename: @filename@ 467s # basename: @basename@ 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 29 __main__.TestRspMkenums.test_help 467s # tmpdir: /tmp/tmp3ikqig0n 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # Response file contains: --help 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3ikqig0n/tmpneg46xn6'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 467s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 467s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 467s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 467s # [--comments COMMENT_TMPL] [--template TEMPLATE] 467s # [--output OUTPUT] [--version] 467s # [args ...] 467s # 467s # positional arguments: 467s # args One or more input files, or a single argument 467s # @rspfile_path pointing to a file that contains the 467s # actual arguments 467s # 467s # options: 467s # -h, --help show this help message and exit 467s # --identifier-prefix IDPREFIX 467s # Identifier prefix 467s # --symbol-prefix SYMPREFIX 467s # Symbol prefix 467s # --fhead FHEAD Output file header 467s # --ftail FTAIL Output file footer 467s # --fprod FPROD Put out TEXT every time a new input file is being 467s # processed. 467s # --eprod EPROD Per enum text, produced prior to value iterations 467s # --vhead VHEAD Value header, produced before iterating over enum 467s # values 467s # --vprod VPROD Value text, produced for each enum value. 467s # --vtail VTAIL Value tail, produced after iterating over enum values 467s # --comments COMMENT_TMPL 467s # Comment structure 467s # --template TEMPLATE Template file 467s # --output OUTPUT 467s # --version, -v Print version information 467s # 467s # Production text substitutions: 467s # @EnumName@ PrefixTheXEnum 467s # @enum_name@ prefix_the_xenum 467s # @ENUMNAME@ PREFIX_THE_XENUM 467s # @ENUMSHORT@ THE_XENUM 467s # @ENUMPREFIX@ PREFIX 467s # @enumsince@ the user-provided since value given 467s # @VALUENAME@ PREFIX_THE_XVALUE 467s # @valuenick@ the-xvalue 467s # @valuenum@ the integer value (limited support, Since: 2.26) 467s # @type@ either enum or flags 467s # @Type@ either Enum or Flags 467s # @TYPE@ either ENUM or FLAGS 467s # @filename@ name of current input file 467s # @basename@ base name of the current input file (Since: 2.22) 467s ok 30 __main__.TestRspMkenums.test_no_args 467s # tmpdir: /tmp/tmp_udjc8qc 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # Response file contains: 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_udjc8qc/tmp1meqrvhm'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # 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. */ 467s # 467s # 467s # /* Generated data ends here */ 467s ok 31 __main__.TestRspMkenums.test_no_headers 467s # tmpdir: /tmp/tmp0_4h00xk 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmp0_4h00xk/tmp6btx3cpu.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmp0_4h00xk/tmp6btx3cpu.template 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0_4h00xk/tmptgtkx2m8'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 32 __main__.TestRspMkenums.test_no_nick 467s # tmpdir: /tmp/tmpvcb220hx 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmpvcb220hx/tmp5l9ykvkx.h: 467s # typedef enum { 467s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 467s # } GeglSamplerType; 467s # 467s # /tmp/tmpvcb220hx/tmpekvu_oes.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmpvcb220hx/tmpekvu_oes.template /tmp/tmpvcb220hx/tmp5l9ykvkx.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvcb220hx/tmpp4kq_9rw'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmpvcb220hx/tmp5l9ykvkx.h 467s # basename: tmp5l9ykvkx.h 467s # enumeration-production 467s # EnumName: GeglSamplerType 467s # enum_name: gegl_sampler_type 467s # ENUMNAME: GEGL_SAMPLER_TYPE 467s # ENUMSHORT: SAMPLER_TYPE 467s # ENUMPREFIX: GEGL 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-header 467s # EnumName: GeglSamplerType 467s # enum_name: gegl_sampler_type 467s # ENUMNAME: GEGL_SAMPLER_TYPE 467s # ENUMSHORT: SAMPLER_TYPE 467s # ENUMPREFIX: GEGL 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-production 467s # VALUENAME: GEGL_SAMPLER_NEAREST 467s # valuenick: nearest 467s # valuenum: 0 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-tail 467s # EnumName: GeglSamplerType 467s # enum_name: gegl_sampler_type 467s # ENUMNAME: GEGL_SAMPLER_TYPE 467s # ENUMSHORT: SAMPLER_TYPE 467s # ENUMPREFIX: GEGL 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 467s # tmpdir: /tmp/tmprirt9i75 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmprirt9i75/tmpwjms1tre.h: 467s # /* Copyright © La Peña */ 467s # typedef enum { 467s # ENUM_VALUE 467s # } SomeEnumIdentifier; 467s # 467s # /tmp/tmprirt9i75/tmp95izlsv6.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmprirt9i75/tmp95izlsv6.template /tmp/tmprirt9i75/tmpwjms1tre.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprirt9i75/tmptp1a1kq6'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmprirt9i75/tmpwjms1tre.h 467s # basename: tmpwjms1tre.h 467s # enumeration-production 467s # EnumName: SomeEnumIdentifier 467s # enum_name: some_enum_identifier 467s # ENUMNAME: SOME_ENUM_IDENTIFIER 467s # ENUMSHORT: ENUM_IDENTIFIER 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-header 467s # EnumName: SomeEnumIdentifier 467s # enum_name: some_enum_identifier 467s # ENUMNAME: SOME_ENUM_IDENTIFIER 467s # ENUMSHORT: ENUM_IDENTIFIER 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-production 467s # VALUENAME: ENUM_VALUE 467s # valuenick: value 467s # valuenum: 0 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-tail 467s # EnumName: SomeEnumIdentifier 467s # enum_name: some_enum_identifier 467s # ENUMNAME: SOME_ENUM_IDENTIFIER 467s # ENUMSHORT: ENUM_IDENTIFIER 467s # ENUMPREFIX: SOME 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 34 __main__.TestRspMkenums.test_reproducible 467s # tmpdir: /tmp/tmplwpew615 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmplwpew615/tmp_x0suwfk.template: template 467s # Response file contains: --template /tmp/tmplwpew615/tmp_x0suwfk.template /tmp/tmplwpew615/tmps806c2b61.h /tmp/tmplwpew615/tmpeykywo022.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplwpew615/tmpk3enga7d'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # 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. */ 467s # 467s # 467s # /* Generated data ends here */ 467s # /tmp/tmplwpew615/tmpkw1_ug4o.template: template 467s # Response file contains: --template /tmp/tmplwpew615/tmpkw1_ug4o.template /tmp/tmplwpew615/tmpeykywo022.h /tmp/tmplwpew615/tmps806c2b61.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplwpew615/tmpdaoadx98'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # 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. */ 467s # 467s # 467s # /* Generated data ends here */ 467s ok 35 __main__.TestRspMkenums.test_since 467s # tmpdir: /tmp/tmp4i1amwcw 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmp4i1amwcw/tmpv4esmzbu.h: 467s # typedef enum { /*< since=1.0 >*/ 467s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 467s # } QmiWmsMessageProtocol; 467s # 467s # /tmp/tmp4i1amwcw/tmppme7aecg.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmp4i1amwcw/tmppme7aecg.template /tmp/tmp4i1amwcw/tmpv4esmzbu.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4i1amwcw/tmpi7qllo9b'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmp4i1amwcw/tmpv4esmzbu.h 467s # basename: tmpv4esmzbu.h 467s # enumeration-production 467s # EnumName: QmiWmsMessageProtocol 467s # enum_name: qmi_wms_message_protocol 467s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 467s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 467s # ENUMPREFIX: QMI 467s # enumsince: 1.0 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-header 467s # EnumName: QmiWmsMessageProtocol 467s # enum_name: qmi_wms_message_protocol 467s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 467s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 467s # ENUMPREFIX: QMI 467s # enumsince: 1.0 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-production 467s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 467s # valuenick: cdma 467s # valuenum: 0 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-tail 467s # EnumName: QmiWmsMessageProtocol 467s # enum_name: qmi_wms_message_protocol 467s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 467s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 467s # ENUMPREFIX: QMI 467s # enumsince: 1.0 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s ok 36 __main__.TestRspMkenums.test_with_double_quotes 467s # tmpdir: /tmp/tmp9wt56tfv 467s # rspfile: True, mkenums: /usr/bin/glib-mkenums 467s # /tmp/tmp9wt56tfv/tmppkfeg50x.h: 467s # typedef enum { 467s # FOO_VALUE /*< nick="eek, a comma" >*/ 467s # } Foo; 467s # 467s # /tmp/tmp9wt56tfv/tmpqvc64pum.template: 467s # /*** BEGIN file-header ***/ 467s # file-header 467s # /*** END file-header ***/ 467s # 467s # /*** BEGIN file-production ***/ 467s # file-production 467s # filename: @filename@ 467s # basename: @basename@ 467s # /*** END file-production ***/ 467s # 467s # /*** BEGIN enumeration-production ***/ 467s # enumeration-production 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END enumeration-production ***/ 467s # 467s # /*** BEGIN value-header ***/ 467s # value-header 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-header ***/ 467s # 467s # /*** BEGIN value-production ***/ 467s # value-production 467s # VALUENAME: @VALUENAME@ 467s # valuenick: @valuenick@ 467s # valuenum: @valuenum@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-production ***/ 467s # 467s # /*** BEGIN value-tail ***/ 467s # value-tail 467s # EnumName: @EnumName@ 467s # enum_name: @enum_name@ 467s # ENUMNAME: @ENUMNAME@ 467s # ENUMSHORT: @ENUMSHORT@ 467s # ENUMPREFIX: @ENUMPREFIX@ 467s # enumsince: @enumsince@ 467s # type: @type@ 467s # Type: @Type@ 467s # TYPE: @TYPE@ 467s # /*** END value-tail ***/ 467s # 467s # /*** BEGIN comment ***/ 467s # comment 467s # comment: @comment@ 467s # /*** END comment ***/ 467s # 467s # /*** BEGIN file-tail ***/ 467s # file-tail 467s # /*** END file-tail ***/ 467s # 467s # Response file contains: --template /tmp/tmp9wt56tfv/tmpqvc64pum.template /tmp/tmp9wt56tfv/tmppkfeg50x.h 467s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9wt56tfv/tmprj6oo5m4'] 467s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 467s # Output: comment 467s # 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. 467s # 467s # 467s # file-header 467s # file-production 467s # filename: /tmp/tmp9wt56tfv/tmppkfeg50x.h 467s # basename: tmppkfeg50x.h 467s # enumeration-production 467s # EnumName: Foo 467s # enum_name: foo_ 467s # ENUMNAME: FOO_ 467s # ENUMSHORT: 467s # ENUMPREFIX: FOO 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-header 467s # EnumName: Foo 467s # enum_name: foo_ 467s # ENUMNAME: FOO_ 467s # ENUMSHORT: 467s # ENUMPREFIX: FOO 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-production 467s # VALUENAME: FOO_VALUE 467s # valuenick: eek, a comma 467s # valuenum: 0 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # value-tail 467s # EnumName: Foo 467s # enum_name: foo_ 467s # ENUMNAME: FOO_ 467s # ENUMSHORT: 467s # ENUMPREFIX: FOO 467s # enumsince: 467s # type: enum 467s # Type: Enum 467s # TYPE: ENUM 467s # file-tail 467s # 467s # comment 467s # comment: Generated data ends here 467s 1..36 467s ok - glib/mkenums.py.test 467s # Running test: glib/application-command-line.test 467s TAP version 13 467s # random seed: R02S3c244b6e1d0744567b0b0b9f32d19498 467s 1..1 467s # Start of application-command-line tests 467s ok 1 /application-command-line/basic-properties 467s # End of application-command-line tests 467s ok - glib/application-command-line.test 467s # Running test: glib/gdatetime.test 467s TAP version 13 467s # random seed: R02Sca6fa682895714018944d11d1f7b9b3a 467s 1..68 467s # Start of GDateTime tests 467s # Bug Reference: http://bugzilla.gnome.org/702674 467s ok 1 /GDateTime/invalid 467s ok 2 /GDateTime/add_days 467s ok 3 /GDateTime/add_full 467s ok 4 /GDateTime/add_hours 467s ok 5 /GDateTime/add_minutes 467s ok 6 /GDateTime/add_months 467s ok 7 /GDateTime/add_seconds 467s ok 8 /GDateTime/add_weeks 467s ok 9 /GDateTime/add_years 467s ok 10 /GDateTime/compare 467s ok 11 /GDateTime/diff 467s ok 12 /GDateTime/equal 467s ok 13 /GDateTime/get_day_of_week 467s ok 14 /GDateTime/get_day_of_month 467s ok 15 /GDateTime/get_day_of_year 467s ok 16 /GDateTime/get_hour 467s ok 17 /GDateTime/get_microsecond 467s ok 18 /GDateTime/get_minute 467s ok 19 /GDateTime/get_month 467s ok 20 /GDateTime/get_second 467s ok 21 /GDateTime/get_utc_offset 467s ok 22 /GDateTime/get_year 467s ok 23 /GDateTime/hash 467s ok 24 /GDateTime/new_from_unix 467s ok 25 /GDateTime/new_from_unix_utc 467s ok 26 /GDateTime/new_from_timeval 467s ok 27 /GDateTime/new_from_timeval_utc 467s ok 28 /GDateTime/new_from_iso8601 467s ok 29 /GDateTime/new_full 467s ok 30 /GDateTime/now 467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 467s ok 31 /GDateTime/test-6-days-until-end-of-the-month 467s # %a -> expected: Sat 467s # %a -> actual: Sat 467s # %A -> expected: Saturday 467s # %A -> actual: Saturday 467s # %b -> expected: Oct 467s # %b -> actual: Oct 467s # %B -> expected: October 467s # %B -> actual: October 467s # %d -> expected: 24 467s # %d -> actual: 24 467s # %d -> expected: 01 467s # %d -> actual: 01 467s # %e -> expected: 24 467s # %e -> actual: 24 467s # %e -> expected:  1 467s # %e -> actual:  1 467s # %f -> expected: 001000 467s # %f -> actual: 001000 467s # %h -> expected: Oct 467s # %h -> actual: Oct 467s # %H -> expected: 00 467s # %H -> actual: 00 467s # %H -> expected: 15 467s # %H -> actual: 15 467s # %I -> expected: 12 467s # %I -> actual: 12 467s # %I -> expected: 12 467s # %I -> actual: 12 467s # %I -> expected: 03 467s # %I -> actual: 03 467s # %j -> expected: 297 467s # %j -> actual: 297 467s # %k -> expected:  0 467s # %k -> actual:  0 467s # %k -> expected: 13 467s # %k -> actual: 13 467s # %l -> expected: 12 467s # %l -> actual: 12 467s # %I -> expected: 12 467s # %I -> actual: 12 467s # %l -> expected:  1 467s # %l -> actual:  1 467s # %l -> expected: 10 467s # %l -> actual: 10 467s # %m -> expected: 10 467s # %m -> actual: 10 467s # %M -> expected: 00 467s # %M -> actual: 00 467s # %p -> expected: AM 467s # %p -> actual: AM 467s # %p -> expected: PM 467s # %p -> actual: PM 467s # %P -> expected: am 467s # %P -> actual: am 467s # %P -> expected: pm 467s # %P -> actual: pm 467s # %r -> expected: 12:00:00 AM 467s # %r -> actual: 12:00:00 AM 467s # %r -> expected: 01:13:13 PM 467s # %r -> actual: 01:13:13 PM 467s # %R -> expected: 00:00 467s # %R -> actual: 00:00 467s # %R -> expected: 13:13 467s # %R -> actual: 13:13 467s # %S -> expected: 00 467s # %S -> actual: 00 467s # %t -> expected: 467s # %t -> actual: 467s # %u -> expected: 6 467s # %u -> actual: 6 467s # %x -> expected: 10/24/09 467s # %x -> actual: 10/24/09 467s # %X -> expected: 00:00:00 467s # %X -> actual: 00:00:00 467s # %X -> expected: 13:14:15 467s # %X -> actual: 13:14:15 467s # %y -> expected: 09 467s # %y -> actual: 09 467s # %Y -> expected: 2009 467s # %Y -> actual: 2009 467s # %% -> expected: % 467s # %% -> actual: % 467s # % -> expected: 467s # % -> actual: 467s # %9 -> expected: (null) 467s # %9 -> actual: (null) 467s # %Z -> expected: UTC 467s # %Z -> actual: UTC 467s ok 32 /GDateTime/printf 467s # %a -> expected: 467s # %a -> actual: 467s # %A -> expected: 467s # %A -> actual: 467s # %b -> expected: 10 467s # %b -> actual: 10 467s # %B -> expected: 10 467s # %B -> actual: 10 467s # %c -> expected: 2009ǯ1024 0000ʬ00 467s # %c -> actual: 2009ǯ1024 0000ʬ00 467s # %C -> expected: 20 467s # %C -> actual: 20 467s # %d -> expected: 24 467s # %d -> actual: 24 467s # %d -> expected: 01 467s # %d -> actual: 01 467s # %e -> expected: 24 467s # %e -> actual: 24 467s # %h -> expected: 10 467s # %h -> actual: 10 467s # %H -> expected: 00 467s # %H -> actual: 00 467s # %H -> expected: 15 467s # %H -> actual: 15 467s # %I -> expected: 12 467s # %I -> actual: 12 467s # %I -> expected: 12 467s # %I -> actual: 12 467s # %I -> expected: 03 467s # %I -> actual: 03 467s # %j -> expected: 297 467s # %j -> actual: 297 467s # %k -> expected: ?0 467s # %k -> actual: ?0 467s # %k -> expected: 13 467s # %k -> actual: 13 467s # %l -> expected: 12 467s # %l -> actual: 12 467s # %I -> expected: 12 467s # %I -> actual: 12 467s # %l -> expected: ?1 467s # %l -> actual: ?1 467s # %l -> expected: 10 467s # %l -> actual: 10 467s # %m -> expected: 10 467s # %m -> actual: 10 467s # %M -> expected: 00 467s # %M -> actual: 00 467s # %p -> expected: 467s # %p -> actual: 467s # %p -> expected: 467s # %p -> actual: 467s # %P -> expected: 467s # %P -> actual: 467s # %P -> expected: 467s # %P -> actual: 467s # %r -> expected: 1200ʬ00 467s # %r -> actual: 1200ʬ00 467s # %r -> expected: 0113ʬ13 467s # %r -> actual: 0113ʬ13 467s # %R -> expected: 00:00 467s # %R -> actual: 00:00 467s # %R -> expected: 13:13 467s # %R -> actual: 13:13 467s # %S -> expected: 00 467s # %S -> actual: 00 467s # %t -> expected: 467s # %t -> actual: 467s # %u -> expected: 6 467s # %u -> actual: 6 467s # %x -> expected: 2009ǯ1024 467s # %x -> actual: 2009ǯ1024 467s # %X -> expected: 0000ʬ00 467s # %X -> actual: 0000ʬ00 467s # %X -> expected: 1314ʬ15 467s # %X -> actual: 1314ʬ15 467s # %y -> expected: 09 467s # %y -> actual: 09 467s # %Y -> expected: 2009 467s # %Y -> actual: 2009 467s # %% -> expected: % 467s # %% -> actual: % 467s # % -> expected: 467s # % -> actual: 467s # %9 -> expected: (null) 467s # %9 -> actual: (null) 467s # %Ec -> expected: 2009ǯ1024 0000ʬ00 467s # %Ec -> actual: 2009ǯ1024 0000ʬ00 467s # %EC -> expected: 20 467s # %EC -> actual: 20 467s # %Ex -> expected: 2009ǯ1024 467s # %Ex -> actual: 2009ǯ1024 467s # %EX -> expected: 0000ʬ00 467s # %EX -> actual: 0000ʬ00 467s # %Ey -> expected: 09 467s # %Ey -> actual: 09 467s # %EY -> expected: 2009 467s # %EY -> actual: 2009 467s ok 33 /GDateTime/non_utf8_printf 467s # ???? -> expected: ???? 467s # ???? -> actual: ???? 467s # %H?%M -> expected: 23?15 467s # %H?%M -> actual: 23?15 467s # %H?%M -> expected: 23?15 467s # %H?%M -> actual: 23?15 467s ok 34 /GDateTime/format_unrepresentable 467s ok 35 /GDateTime/format_iso8601 468s ok 36 /GDateTime/strftime 468s # %d -> expected: 01 468s # %d -> actual: 01 468s # %_d -> expected: 1 468s # %_d -> actual: 1 468s # %-d -> expected: 1 468s # %-d -> actual: 1 468s # %0d -> expected: 01 468s # %0d -> actual: 01 468s # %d -> expected: 21 468s # %d -> actual: 21 468s # %_d -> expected: 21 468s # %_d -> actual: 21 468s # %-d -> expected: 21 468s # %-d -> actual: 21 468s # %0d -> expected: 21 468s # %0d -> actual: 21 468s # %e -> expected:  1 468s # %e -> actual:  1 468s # %_e -> expected: 1 468s # %_e -> actual: 1 468s # %-e -> expected: 1 468s # %-e -> actual: 1 468s # %0e -> expected: 01 468s # %0e -> actual: 01 468s # %e -> expected: 21 468s # %e -> actual: 21 468s # %_e -> expected: 21 468s # %_e -> actual: 21 468s # %-e -> expected: 21 468s # %-e -> actual: 21 468s # %0e -> expected: 21 468s # %0e -> actual: 21 468s # %a -> expected: Thu 468s # %a -> actual: Thu 468s # %^a -> expected: THU 468s # %^a -> actual: THU 468s # %#a -> expected: THU 468s # %#a -> actual: THU 468s # %A -> expected: Thursday 468s # %A -> actual: Thursday 468s # %^A -> expected: THURSDAY 468s # %^A -> actual: THURSDAY 468s # %#A -> expected: THURSDAY 468s # %#A -> actual: THURSDAY 468s # %b -> expected: Jan 468s # %b -> actual: Jan 468s # %^b -> expected: JAN 468s # %^b -> actual: JAN 468s # %#b -> expected: JAN 468s # %#b -> actual: JAN 468s # %B -> expected: January 468s # %B -> actual: January 468s # %^B -> expected: JANUARY 468s # %^B -> actual: JANUARY 468s # %#B -> expected: JANUARY 468s # %#B -> actual: JANUARY 468s # %h -> expected: Jan 468s # %h -> actual: Jan 468s # %^h -> expected: JAN 468s # %^h -> actual: JAN 468s # %#h -> expected: JAN 468s # %#h -> actual: JAN 468s # %Z -> expected: UTC 468s # %Z -> actual: UTC 468s # %^Z -> expected: UTC 468s # %^Z -> actual: UTC 468s # %#Z -> expected: utc 468s # %#Z -> actual: utc 468s # %H -> expected: 01 468s # %H -> actual: 01 468s # %_H -> expected: 1 468s # %_H -> actual: 1 468s # %-H -> expected: 1 468s # %-H -> actual: 1 468s # %0H -> expected: 01 468s # %0H -> actual: 01 468s # %H -> expected: 21 468s # %H -> actual: 21 468s # %_H -> expected: 21 468s # %_H -> actual: 21 468s # %-H -> expected: 21 468s # %-H -> actual: 21 468s # %0H -> expected: 21 468s # %0H -> actual: 21 468s # %I -> expected: 01 468s # %I -> actual: 01 468s # %_I -> expected: 1 468s # %_I -> actual: 1 468s # %-I -> expected: 1 468s # %-I -> actual: 1 468s # %0I -> expected: 01 468s # %0I -> actual: 01 468s # %I -> expected: 11 468s # %I -> actual: 11 468s # %_I -> expected: 11 468s # %_I -> actual: 11 468s # %-I -> expected: 11 468s # %-I -> actual: 11 468s # %0I -> expected: 11 468s # %0I -> actual: 11 468s # %k -> expected:  1 468s # %k -> actual:  1 468s # %_k -> expected: 1 468s # %_k -> actual: 1 468s # %-k -> expected: 1 468s # %-k -> actual: 1 468s # %0k -> expected: 01 468s # %0k -> actual: 01 468s # %l -> expected:  1 468s # %l -> actual:  1 468s # %_l -> expected: 1 468s # %_l -> actual: 1 468s # %-l -> expected: 1 468s # %-l -> actual: 1 468s # %0l -> expected: 01 468s # %0l -> actual: 01 468s # %l -> expected: 11 468s # %l -> actual: 11 468s # %_l -> expected: 11 468s # %_l -> actual: 11 468s # %-l -> expected: 11 468s # %-l -> actual: 11 468s # %0l -> expected: 11 468s # %0l -> actual: 11 468s # %p -> expected: AM 468s # %p -> actual: AM 468s # %^p -> expected: AM 468s # %^p -> actual: AM 468s # %#p -> expected: am 468s # %#p -> actual: am 468s # %P -> expected: am 468s # %P -> actual: am 468s # %^P -> expected: AM 468s # %^P -> actual: AM 468s # %#P -> expected: am 468s # %#P -> actual: am 468s # %OH -> expected: ۲۳ 468s # %OH -> actual: ۲۳ 468s # %OI -> expected: ۱۱ 468s # %OI -> actual: ۱۱ 468s # %OM -> expected: ۰۰ 468s # %OM -> actual: ۰۰ 468s # %Om -> expected: ۰۷ 468s # %Om -> actual: ۰۷ 468s # %0Om -> expected: ۰۷ 468s # %0Om -> actual: ۰۷ 468s # %-Om -> expected: ۷ 468s # %-Om -> actual: ۷ 468s # %_Om -> expected: ۷ 468s # %_Om -> actual: ۷ 468s # %c -> expected: thu 01 jan 2009 00:00:00 utc 468s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 468s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 468s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 468s # %C -> expected: 20 468s # %C -> actual: 20 468s # %EC -> expected: 20 468s # %EC -> actual: 20 468s # %x -> expected: 02/01/09 468s # %x -> actual: 02/01/09 468s # %Ex -> expected: 02/01/09 468s # %Ex -> actual: 02/01/09 468s # %X -> expected: 01:02:03 468s # %X -> actual: 01:02:03 468s # %EX -> expected: 01:02:03 468s # %EX -> actual: 01:02:03 468s # %y -> expected: 09 468s # %y -> actual: 09 468s # %Ey -> expected: 09 468s # %Ey -> actual: 09 468s # %Y -> expected: 2009 468s # %Y -> actual: 2009 468s # %EY -> expected: 2009 468s # %EY -> actual: 2009 468s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 468s # Bug Reference: http://bugzilla.gnome.org/749206 468s # %B -> expected: January 468s # %B -> actual: January 468s # %OB -> expected: February 468s # %OB -> actual: February 468s # %b -> expected: Mar 468s # %b -> actual: Mar 468s # %Ob -> expected: Apr 468s # %Ob -> actual: Apr 468s # %h -> expected: May 468s # %h -> actual: May 468s # %Oh -> expected: Jun 468s # %Oh -> actual: Jun 468s # %B -> expected: Juli 468s # %B -> actual: Juli 468s # %OB -> expected: August 468s # %OB -> actual: August 468s # %b -> expected: Sep 468s # %b -> actual: Sep 468s # %Ob -> expected: Okt 468s # %Ob -> actual: Okt 468s # %h -> expected: Nov 468s # %h -> actual: Nov 468s # %Oh -> expected: Dez 468s # %Oh -> actual: Dez 468s # %B -> expected: enero 468s # %B -> actual: enero 468s # %OB -> expected: febrero 468s # %OB -> actual: febrero 468s # %b -> expected: mar 468s # %b -> actual: mar 468s # %Ob -> expected: abr 468s # %Ob -> actual: abr 468s # %h -> expected: may 468s # %h -> actual: may 468s # %Oh -> expected: jun 468s # %Oh -> actual: jun 468s # %B -> expected: juillet 468s # %B -> actual: juillet 468s # %OB -> expected: août 468s # %OB -> actual: août 468s # %b -> expected: sept. 468s # %b -> actual: sept. 468s # %Ob -> expected: oct. 468s # %Ob -> actual: oct. 468s # %h -> expected: nov. 468s # %h -> actual: nov. 468s # %Oh -> expected: déc. 468s # %Oh -> actual: déc. 468s # %B -> expected: Ιανουαρίου 468s # %B -> actual: Ιανουαρίου 468s # %B -> expected: Φεβρουαρίου 468s # %B -> actual: Φεβρουαρίου 468s # %B -> expected: Μαρτίου 468s # %B -> actual: Μαρτίου 468s # %OB -> expected: Απρίλιος 468s # %OB -> actual: Απρίλιος 468s # %OB -> expected: Μάιος 468s # %OB -> actual: Μάιος 468s # %OB -> expected: Ιούνιος 468s # %OB -> actual: Ιούνιος 468s # %b -> expected: Ιουλ 468s # %b -> actual: Ιουλ 468s # %Ob -> expected: Αύγ 468s # %Ob -> actual: Αύγ 468s # %B -> expected: svibnja 468s # %B -> actual: svibnja 468s # %B -> expected: lipnja 468s # %B -> actual: lipnja 468s # %B -> expected: srpnja 468s # %B -> actual: srpnja 468s # %OB -> expected: Kolovoz 468s # %OB -> actual: kolovoz 468s # %OB -> expected: Rujan 468s # %OB -> actual: rujan 468s # %OB -> expected: Listopad 468s # %OB -> actual: listopad 468s # %b -> expected: Stu 468s # %b -> actual: stu 468s # %Ob -> expected: Pro 468s # %Ob -> actual: pro 468s # %B -> expected: sausio 468s # %B -> actual: sausio 468s # %B -> expected: vasario 468s # %B -> actual: vasario 468s # %B -> expected: kovo 468s # %B -> actual: kovo 468s # %OB -> expected: balandis 468s # %OB -> actual: balandis 468s # %OB -> expected: gegužė 468s # %OB -> actual: gegužė 468s # %OB -> expected: birželis 468s # %OB -> actual: birželis 468s # %b -> expected: liep. 468s # %b -> actual: liep. 468s # %Ob -> expected: rugp. 468s # %Ob -> actual: rugp. 468s # %B -> expected: maja 468s # %B -> actual: maja 468s # %B -> expected: czerwca 468s # %B -> actual: czerwca 468s # %B -> expected: lipca 468s # %B -> actual: lipca 468s # %OB -> expected: sierpień 468s # %OB -> actual: sierpień 468s # %OB -> expected: wrzesień 468s # %OB -> actual: wrzesień 468s # %OB -> expected: październik 468s # %OB -> actual: październik 468s # %b -> expected: lis 468s # %b -> actual: lis 468s # %Ob -> expected: gru 468s # %Ob -> actual: gru 468s # %B -> expected: января 468s # %B -> actual: января 468s # %B -> expected: февраля 468s # %B -> actual: февраля 468s # %B -> expected: марта 468s # %B -> actual: марта 468s # %OB -> expected: Апрель 468s # %OB -> actual: Апрель 468s # %OB -> expected: Май 468s # %OB -> actual: Май 468s # %OB -> expected: Июнь 468s # %OB -> actual: Июнь 468s # %b -> expected: июл 468s # %b -> actual: июл 468s # %Ob -> expected: авг 468s # %Ob -> actual: авг 468s # %b -> expected: мая 468s # %b -> actual: мая 468s # %Ob -> expected: май 468s # %Ob -> actual: май 468s ok 38 /GDateTime/month_names 468s ok 39 /GDateTime/to_local 468s ok 40 /GDateTime/to_unix 468s ok 41 /GDateTime/to_timeval 468s ok 42 /GDateTime/to_utc 468s ok 43 /GDateTime/now_utc 468s ok 44 /GDateTime/dst 468s # Bug Reference: http://bugzilla.gnome.org/642935 468s ok 45 /GDateTime/test_z 469s ok 46 /GDateTime/test-all-dates 469s # slow test /GDateTime/test-all-dates executed in 1.66 secs 469s ok 47 /GDateTime/unix_usec 469s # Start of new_from_unix tests 469s # Bug Reference: http://bugzilla.gnome.org/782089 469s ok 48 /GDateTime/new_from_unix/overflow 469s # End of new_from_unix tests 469s # Start of new_from_timeval tests 469s # Bug Reference: http://bugzilla.gnome.org/782089 469s # Maximum supported GTimeVal.tv_sec = 253402300799 469s ok 49 /GDateTime/new_from_timeval/overflow 469s # End of new_from_timeval tests 469s # Start of new_from_iso8601 tests 469s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 469s # Vector 0: 1990-11-01T10:21:17Z 469s # Vector 1: 19901101T102117Z 469s # Vector 2: 1970-01-01T00:00:17.12Z 469s # Vector 3: 1970-01-01T00:00:17.1234Z 469s # Vector 4: 1970-01-01T00:00:17.123456Z 469s # Vector 5: 1980-02-22T12:36:00+02:00 469s # Vector 6: 1990-12-31T15:59:60-08:00 469s # Vector 7: 469s # Vector 8: x 469s # Vector 9: 123x 469s # Vector 10: 2001-10+x 469s # Vector 11: 1980-02-22T 469s # Vector 12: 2001-10-08Tx 469s # Vector 13: 2001-10-08T10:11x 469s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 469s # Vector 15: 1980-02-22T10:36:00Zulu 469s # Vector 16: 2T0+819855292164632335 469s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 469s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 469s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 469s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 469s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 469s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 469s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 469s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 469s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 469s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 469s # Vector 27: 20180803T140805.446178377+0100 469s # Vector 28: 21474836480803T140805.446178377+0100 469s # Vector 29: 20181303T140805.446178377+0100 469s # Vector 30: 20180003T140805.446178377+0100 469s # Vector 31: 20180800T140805.446178377+0100 469s # Vector 32: 20180832T140805.446178377+0100 469s # Vector 33: 20180803T240805.446178377+0100 469s # Vector 34: 20180803T146005.446178377+0100 469s # Vector 35: 20180803T140863.446178377+0100 469s # Vector 36: 20180803T140805.446178377+10000 469s # Vector 37: -0005-01-01T00:00:00Z 469s # Vector 38: 2018-08-06 469s # Vector 39: 20180803T140805,446178377+0100 469s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 469s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 469s # Vector 42: 1990-11-01T10:21:17 469s # Vector 43: 1719W462 407777-07 469s # Vector 44: 4011090 260528Z 469s # Vector 45: 0000W011 228214-22 469s ok 50 /GDateTime/new_from_iso8601/2 469s # End of new_from_iso8601 tests 469s # Start of format_mixed tests 469s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 469s # %b -> expected: mar 469s # %b -> actual: Mar 469s # %B -> expected: march 469s # %B -> actual: March 469s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 469s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 469s # %b -> expected: mar 469s # %b -> actual: Mar 469s # %B -> expected: march 469s # %B -> actual: March 469s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 469s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 469s # %b -> expected: Mär 469s # %b -> actual: Mär 469s # %B -> expected: März 469s # %B -> actual: März 469s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 469s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 469s # %b -> expected: Mär 469s # %b -> actual: Mär 469s # %B -> expected: März 469s # %B -> actual: März 469s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 469s # End of format_mixed tests 469s # Start of strftime tests 469s # %r -> expected: (null) 469s # %r -> actual: (null) 469s ok 55 /GDateTime/strftime/error_handling 469s # End of strftime tests 469s # Start of eras tests 469s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 469s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 469s # Vector 0: 469s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 469s # 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年 469s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 469s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 469s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 469s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 469s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 469s # Vector 8: + 469s # Vector 9: +: 469s # Vector 10: +:: 469s # Vector 11: +:200 469s # Vector 12: +:2nonsense 469s # Vector 13: +:2nonsense: 469s # Vector 14: +:2: 469s # Vector 15: +:2:: 469s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 469s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 469s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 469s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 469s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 469s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 469s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 469s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 469s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 469s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 469s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 469s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 469s # Vector 28: +:2:2020/01/01 469s # Vector 29: +:2:2020/01/01: 469s # Vector 30: +:2:2020/01/01:: 469s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 469s # Vector 32: +:2:2020/01/01:+* 469s # Vector 33: +:2:2020/01/01:+*: 469s # Vector 34: +:2:2020/01/01:+*:: 469s # Vector 35: +:2:2020/01/01:+*:令和 469s # Vector 36: +:2:2020/01/01:+*:令和: 469s # Vector 37: +:2:2020/01/01:+*:令和:; 469s ok 58 /GDateTime/eras/parsing 469s # End of eras tests 469s # End of GDateTime tests 469s # Start of GTimeZone tests 469s ok 59 /GTimeZone/find-interval 469s ok 60 /GTimeZone/adjust-time 469s ok 61 /GTimeZone/no-header 469s ok 62 /GTimeZone/no-header-identifier 469s ok 63 /GTimeZone/posix-parse 469s # Bug Reference: http://bugzilla.gnome.org/697715 469s ok 64 /GTimeZone/floating-point 469s # System time zone identifier: Etc/UTC 469s ok 65 /GTimeZone/identifier 469s # Vector 0: -158400 469s # Vector 1: -10000 469s # Vector 2: -3600 469s # Vector 3: -61 469s # Vector 4: -60 469s # Vector 5: -59 469s # Vector 6: 0 469s # Vector 7: 59 469s # Vector 8: 60 469s # Vector 9: 61 469s # Vector 10: 3600 469s # Vector 11: 10000 469s # Vector 12: 158400 469s ok 66 /GTimeZone/new-offset 469s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 469s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 469s ok 67 /GTimeZone/parse-rfc8536 469s # /GTimeZone/caching summary: GTimeZone instances are cached 469s ok 68 /GTimeZone/caching 469s # End of GTimeZone tests 469s ok - glib/gdatetime.test 469s # Running test: glib/array-test.test 469s TAP version 13 469s # random seed: R02S7827a40619c69a85954ff4d4f230be2b 469s 1..113 469s # Start of array tests 469s ok 1 /array/ref-count 469s ok 2 /array/steal 469s ok 3 /array/clear-func 469s ok 4 /array/binary-search 469s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 469s ok 5 /array/copy-sized 469s ok 6 /array/overflow-append-vals 469s ok 7 /array/overflow-set-size 469s # Start of new tests 469s ok 8 /array/new/zero-terminated 469s ok 9 /array/new/take 469s ok 10 /array/new/take-zero-terminated 469s # Start of take tests 469s ok 11 /array/new/take/empty 469s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 469s # End of take tests 469s # End of new tests 469s # Start of set-size tests 469s ok 13 /array/set-size/non-zero-terminated-no-clear 469s ok 14 /array/set-size/non-zero-terminated-clear 469s ok 15 /array/set-size/zero-terminated-no-clear 469s ok 16 /array/set-size/zero-terminated-clear 469s # Start of sized tests 469s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 469s ok 18 /array/set-size/sized/non-zero-terminated-clear 469s ok 19 /array/set-size/sized/zero-terminated-no-clear 469s ok 20 /array/set-size/sized/zero-terminated-clear 469s # End of sized tests 469s # End of set-size tests 469s # Start of append-val tests 469s ok 21 /array/append-val/non-zero-terminated-no-clear 469s ok 22 /array/append-val/non-zero-terminated-clear 469s ok 23 /array/append-val/zero-terminated-no-clear 469s ok 24 /array/append-val/zero-terminated-clear 469s # End of append-val tests 469s # Start of prepend-val tests 469s ok 25 /array/prepend-val/non-zero-terminated-no-clear 469s ok 26 /array/prepend-val/non-zero-terminated-clear 469s ok 27 /array/prepend-val/zero-terminated-no-clear 469s ok 28 /array/prepend-val/zero-terminated-clear 469s # End of prepend-val tests 469s # Start of prepend-vals tests 469s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 469s ok 30 /array/prepend-vals/non-zero-terminated-clear 469s ok 31 /array/prepend-vals/zero-terminated-no-clear 469s ok 32 /array/prepend-vals/zero-terminated-clear 469s # End of prepend-vals tests 469s # Start of insert-vals tests 469s ok 33 /array/insert-vals/non-zero-terminated-no-clear 469s ok 34 /array/insert-vals/non-zero-terminated-clear 469s ok 35 /array/insert-vals/zero-terminated-no-clear 469s ok 36 /array/insert-vals/zero-terminated-clear 469s # End of insert-vals tests 469s # Start of remove-index tests 469s ok 37 /array/remove-index/non-zero-terminated-no-clear 469s ok 38 /array/remove-index/non-zero-terminated-clear 469s ok 39 /array/remove-index/zero-terminated-no-clear 469s ok 40 /array/remove-index/zero-terminated-clear 469s # End of remove-index tests 469s # Start of remove-index-fast tests 469s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 469s ok 42 /array/remove-index-fast/non-zero-terminated-clear 469s ok 43 /array/remove-index-fast/zero-terminated-no-clear 469s ok 44 /array/remove-index-fast/zero-terminated-clear 469s # End of remove-index-fast tests 469s # Start of remove-range tests 469s ok 45 /array/remove-range/non-zero-terminated-no-clear 469s ok 46 /array/remove-range/non-zero-terminated-clear 469s ok 47 /array/remove-range/zero-terminated-no-clear 469s ok 48 /array/remove-range/zero-terminated-clear 469s # End of remove-range tests 469s # Start of copy tests 469s ok 49 /array/copy/non-zero-terminated-no-clear 469s ok 50 /array/copy/non-zero-terminated-clear 469s ok 51 /array/copy/zero-terminated-no-clear 469s ok 52 /array/copy/zero-terminated-clear 469s # End of copy tests 469s # Start of sort tests 469s ok 53 /array/sort/non-zero-terminated-no-clear 469s ok 54 /array/sort/non-zero-terminated-clear 469s ok 55 /array/sort/zero-terminated-no-clear 469s ok 56 /array/sort/zero-terminated-clear 469s # End of sort tests 469s # Start of sort-with-data tests 469s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 469s ok 58 /array/sort-with-data/non-zero-terminated-clear 469s ok 59 /array/sort-with-data/zero-terminated-no-clear 469s ok 60 /array/sort-with-data/zero-terminated-clear 469s # End of sort-with-data tests 469s # End of array tests 469s # Start of pointerarray tests 469s ok 61 /pointerarray/add 469s ok 62 /pointerarray/insert 469s ok 63 /pointerarray/new-take 469s ok 64 /pointerarray/new-take-null-terminated 469s ok 65 /pointerarray/new-from-array 469s ok 66 /pointerarray/new-from-null-terminated-array 469s ok 67 /pointerarray/free-func 469s ok 68 /pointerarray/array_extend_and_steal 469s ok 69 /pointerarray/sort 469s ok 70 /pointerarray/sort-with-data 469s ok 71 /pointerarray/sort-values 469s ok 72 /pointerarray/sort-values-with-data 469s ok 73 /pointerarray/remove-range 469s ok 74 /pointerarray/steal 469s # Start of free tests 469s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 469s ok 75 /pointerarray/free/null-terminated 469s # End of free tests 469s # Start of new-take tests 469s ok 76 /pointerarray/new-take/empty 469s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 469s ok 78 /pointerarray/new-take/with-free-func 469s # End of new-take tests 469s # Start of new-take-null-terminated tests 469s ok 79 /pointerarray/new-take-null-terminated/empty 469s ok 80 /pointerarray/new-take-null-terminated/with-free-func 469s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 469s # End of new-take-null-terminated tests 469s # Start of new-from-array tests 469s ok 82 /pointerarray/new-from-array/empty 469s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 469s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 469s # End of new-from-array tests 469s # Start of new-from-null-terminated-array tests 469s ok 85 /pointerarray/new-from-null-terminated-array/empty 469s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 469s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 469s # End of new-from-null-terminated-array tests 469s # Start of ref-count tests 469s ok 88 /pointerarray/ref-count/not-null-terminated 469s ok 89 /pointerarray/ref-count/null-terminated 469s # End of ref-count tests 469s # Start of array_copy tests 469s # /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 469s ok 90 /pointerarray/array_copy/not-null-terminated 469s # /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 469s ok 91 /pointerarray/array_copy/null-terminated 469s # End of array_copy tests 469s # Start of array_extend tests 469s ok 92 /pointerarray/array_extend/not-null-terminated 469s ok 93 /pointerarray/array_extend/null-terminated 469s # End of array_extend tests 469s # Start of sort tests 469s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 469s ok 94 /pointerarray/sort/example 469s # End of sort tests 469s # Start of sort-with-data tests 469s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 469s ok 95 /pointerarray/sort-with-data/example 469s # End of sort-with-data tests 469s # Start of sort-values tests 469s ok 96 /pointerarray/sort-values/example 469s # End of sort-values tests 469s # Start of sort-values-with-data tests 469s ok 97 /pointerarray/sort-values-with-data/example 469s # End of sort-values-with-data tests 469s # Start of find tests 469s ok 98 /pointerarray/find/empty 469s ok 99 /pointerarray/find/non-empty 469s # End of find tests 469s # Start of steal_index tests 469s ok 100 /pointerarray/steal_index/not-null-terminated 469s ok 101 /pointerarray/steal_index/null-terminated 469s # End of steal_index tests 469s # End of pointerarray tests 469s # Start of bytearray tests 469s ok 102 /bytearray/steal 469s ok 103 /bytearray/append 469s ok 104 /bytearray/prepend 469s ok 105 /bytearray/remove 469s ok 106 /bytearray/remove-fast 469s ok 107 /bytearray/remove-range 469s ok 108 /bytearray/ref-count 469s ok 109 /bytearray/sort 469s ok 110 /bytearray/sort-with-data 469s ok 111 /bytearray/new-take 469s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 469s ok 113 /bytearray/free-to-bytes 469s # End of bytearray tests 469s ok - glib/array-test.test 469s # Running test: glib/repository-search-paths.test 469s TAP version 13 469s # random seed: R02S5a9d8214c5bbf8f7294c7237f2a158d7 469s 1..4 469s # Start of repository tests 469s # Start of search-paths tests 469s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/home 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/cache 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/system-config2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/config 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/system-data2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/data 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/state 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/default/.dirs/runtime 469s ok 1 /repository/search-paths/default 469s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/home 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/cache 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/system-config2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/config 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/system-data2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/data 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/state 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_7O0RK2/repository/search-paths/prepend/.dirs/runtime 469s ok 2 /repository/search-paths/prepend 469s # End of search-paths tests 469s # Start of library-paths tests 469s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/home 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/cache 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/system-config2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/config 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/system-data2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/data 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/state 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/default/.dirs/runtime 469s ok 3 /repository/library-paths/default 469s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/home 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/cache 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/system-config2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/config 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/system-data2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/data 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/state 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_7O0RK2/repository/library-paths/prepend/.dirs/runtime 469s ok 4 /repository/library-paths/prepend 469s # End of library-paths tests 469s # End of repository tests 469s ok - glib/repository-search-paths.test 469s # Running test: glib/data-input-stream.test 469s TAP version 13 469s # random seed: R02Sa1f10b78fcfcdeb97392b8e71f160951 469s 1..10 469s # Start of data-input-stream tests 469s ok 1 /data-input-stream/basic 469s ok 2 /data-input-stream/read-lines-LF 469s ok 3 /data-input-stream/read-lines-LF-valid-utf8 469s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 469s ok 5 /data-input-stream/read-lines-CR 469s ok 6 /data-input-stream/read-lines-CR-LF 469s ok 7 /data-input-stream/read-lines-any 469s ok 8 /data-input-stream/read-until 469s ok 9 /data-input-stream/read-upto 470s ok 10 /data-input-stream/read-int 470s # End of data-input-stream tests 470s ok - glib/data-input-stream.test 470s # Running test: glib/slist.test 470s TAP version 13 470s # random seed: R02S93ac30ddbe89859fb0f7084f90cd5131 470s 1..14 470s # Start of slist tests 470s ok 1 /slist/sort 470s ok 2 /slist/sort-with-data 470s ok 3 /slist/insert-sorted 470s ok 4 /slist/insert-sorted-with-data 470s ok 5 /slist/reverse 470s ok 6 /slist/nth 470s ok 7 /slist/remove 470s ok 8 /slist/remove-all 470s ok 9 /slist/insert 470s ok 10 /slist/position 470s ok 11 /slist/concat 470s ok 12 /slist/copy 470s # Start of sort tests 470s ok 13 /slist/sort/stable 470s # End of sort tests 470s # Start of copy tests 470s ok 14 /slist/copy/deep 470s # End of copy tests 470s # End of slist tests 470s ok - glib/slist.test 470s # Running test: glib/gobject-private.test 470s TAP version 13 470s # random seed: R02S9d49a323dcaf72fd6fcf955894e97a58 470s 1..3 470s # Start of private tests 470s ok 1 /private/instance 470s ok 2 /private/derived-instance 470s ok 3 /private/mixed-derived-instance 470s # End of private tests 470s ok - glib/gobject-private.test 470s # Running test: glib/debugcontroller.test 470s TAP version 13 470s # random seed: R02S92b43d207165eb0519924aecbe456eaf 470s 1..3 470s # Start of debug-controller tests 470s # Start of dbus tests 470s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 470s # GLib-GIO-DEBUG: Debug output enabled 470s # GLib-GIO-DEBUG: Debug output disabled 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s ok 1 /debug-controller/dbus/basic 470s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s ok 2 /debug-controller/dbus/duplicate 470s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 470s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 470s # End of dbus tests 470s # End of debug-controller tests 470s ok - glib/debugcontroller.test 470s # Running test: glib/strvbuilder.test 470s TAP version 13 470s # random seed: R02Sc8463776d5f744deabdd7b5a906ebcd9 470s 1..6 470s # Start of strvbuilder tests 470s ok 1 /strvbuilder/empty 470s ok 2 /strvbuilder/add 470s ok 3 /strvbuilder/addv 470s ok 4 /strvbuilder/add_many 470s ok 5 /strvbuilder/take 470s ok 6 /strvbuilder/ref 470s # End of strvbuilder tests 470s ok - glib/strvbuilder.test 470s # Running test: glib/appmonitor.test 470s TAP version 13 470s # random seed: R02S589276cccc1db9ff96452d6a19d0cfea 470s 1..1 470s # Start of monitor tests 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/runtime 470s # Using data directory: /tmp/test_appmonitor_CDMXK2/monitor/app/.dirs/data 470s ok 1 /monitor/app 470s # End of monitor tests 470s ok - glib/appmonitor.test 470s # Running test: glib/signal-handler.test 470s TAP version 13 470s # random seed: R02S6bf28ac127f0e892d125b7e5774100b3 470s 1..7 470s # Start of signal tests 470s # Start of handler tests 470s # min perf: connected 1 handlers in 0.000 seconds 470s ok 1 /signal/handler/connect-many 470s # min perf: disconnected 1 handlers in 0.000 seconds 470s ok 2 /signal/handler/disconnect-many-ordered 470s # min perf: disconnected 1 handlers in 0.000 seconds 470s ok 3 /signal/handler/disconnect-many-inverse 470s # min perf: disconnected 1 handlers in 0.000 seconds 470s ok 4 /signal/handler/disconnect-many-random 470s # min perf: disconnected 1 handlers in 0.000 seconds 470s ok 5 /signal/handler/disconnect-2-signals 470s # min perf: disconnected 1 handlers in 0.000 seconds 470s ok 6 /signal/handler/disconnect-2-objects 470s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 470s ok 7 /signal/handler/block-many 470s # End of handler tests 470s # End of signal tests 470s ok - glib/signal-handler.test 470s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 470s TAP version 13 470s # random seed: R02S5886ebeaa9569817e8ed5bc03155b05c 470s 1..8 470s # Start of gdbus tests 470s # Start of codegen tests 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/annotations/.dirs/runtime 470s ok 1 /gdbus/codegen/annotations 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/interface_stability/.dirs/runtime 470s ok 2 /gdbus/codegen/interface_stability 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/object-manager/.dirs/runtime 470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 470s ok 3 /gdbus/codegen/object-manager 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/property-naming/.dirs/runtime 470s ok 4 /gdbus/codegen/property-naming 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/autocleanups/.dirs/runtime 470s ok 5 /gdbus/codegen/autocleanups 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/deprecations/.dirs/runtime 470s ok 6 /gdbus/codegen/deprecations 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 470s ok 7 /gdbus/codegen/standalone-interface-info 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WJSXK2/gdbus/codegen/unix-fd-list/.dirs/runtime 470s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 470s ok 8 /gdbus/codegen/unix-fd-list 470s # End of codegen tests 470s # End of gdbus tests 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s ok - glib/gdbus-test-codegen-min-required-2-64.test 470s # Running test: glib/cxx-2b.test 470s TAP version 13 470s # random seed: R02S80b8ab8d9749a57f1792f65c08f56e30 470s 1..2 470s # Start of gtask tests 470s # 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. 470s ok 1 /gtask/name 470s # Start of name tests 470s # 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. 470s ok 2 /gtask/name/macro-wrapper 470s # End of name tests 470s # End of gtask tests 470s ok - glib/cxx-2b.test 470s # Running test: glib/properties.test 470s TAP version 13 470s # random seed: R02Sbb16d3f1da7d2556e4c9885980dedbc2 470s 1..13 470s # Start of properties tests 470s ok 1 /properties/install 470s ok 2 /properties/install-many 470s ok 3 /properties/notify 470s ok 4 /properties/notify-queue 470s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 470s ok 5 /properties/construct 470s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 470s # Test g_object_get_property with an initialized value 470s # Test g_object_get_property with an uninitialized value 470s # Test g_object_get_property with a transformable value 470s ok 6 /properties/get-property 470s ok 7 /properties/testv_with_no_properties 470s ok 8 /properties/testv_with_valid_properties 470s ok 9 /properties/testv_with_invalid_property_type 470s ok 10 /properties/testv_with_invalid_property_names 470s ok 11 /properties/testv_getv 470s ok 12 /properties/testv_notify_queue 470s # Start of set-property tests 470s # Start of variant tests 470s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 470s ok 13 /properties/set-property/variant/floating 470s # End of variant tests 470s # End of set-property tests 470s # End of properties tests 470s ok - glib/properties.test 470s # Running test: glib/defaultvalue.test 470s TAP version 13 470s # random seed: R02Sdd0eb54a31fd95cd05017848a18c61ee 470s 1..84 470s # Start of Default Values tests 470s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 470s ok 2 /Default Values/GAppLaunchContext 470s ok 3 /Default Values/GApplicationCommandLine 470s # skipping GApplication:is-remote 470s ok 4 /Default Values/GApplication 470s ok 5 /Default Values/GBinding # SKIP mandatory construct params 470s ok 6 /Default Values/GBindingGroup 470s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 470s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 470s ok 9 /Default Values/GBytesIcon 470s ok 10 /Default Values/GCancellable 470s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 470s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 470s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 470s ok 14 /Default Values/GCredentials 470s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 470s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 470s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 470s ok 18 /Default Values/GDBusAuthObserver 470s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 470s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 470s ok 21 /Default Values/GDBusMessage 470s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 470s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 470s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 470s ok 25 /Default Values/GDBusObjectProxy 470s ok 26 /Default Values/GDBusObjectSkeleton 470s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 470s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 470s ok 29 /Default Values/GEmblem 470s ok 30 /Default Values/GEmblemedIcon 470s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 470s ok 32 /Default Values/GFileInfo 470s ok 33 /Default Values/GFileInputStream 470s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 470s ok 35 /Default Values/GFileOutputStream 470s ok 36 /Default Values/GFilenameCompleter 470s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 470s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 470s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 470s ok 40 /Default Values/GInitiallyUnowned 470s ok 41 /Default Values/GIOModule 470s ok 42 /Default Values/GListStore 470s ok 43 /Default Values/GMemoryInputStream 470s ok 44 /Default Values/GMemoryOutputStream 470s ok 45 /Default Values/GMenu 470s ok 46 /Default Values/GMenuItem 470s ok 47 /Default Values/GMountOperation 470s ok 48 /Default Values/GNativeSocketAddress 470s ok 49 /Default Values/GNetworkAddress 470s ok 50 /Default Values/GNetworkService 470s ok 51 /Default Values/GNotification 470s ok 52 /Default Values/GObject 470s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 470s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 470s # skipping GProxyAddressEnumerator:proxy-resolver 470s ok 54 /Default Values/GProxyAddressEnumerator 470s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 470s ok 56 /Default Values/GSettings # SKIP mandatory construct params 470s ok 57 /Default Values/GSignalGroup 470s ok 58 /Default Values/GSimpleAction 470s ok 59 /Default Values/GSimpleActionGroup 470s ok 60 /Default Values/GSimpleAsyncResult 470s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 470s ok 62 /Default Values/GSimplePermission 470s ok 63 /Default Values/GSimpleProxyResolver 470s # skipping GSocketClient:proxy-resolver 470s ok 64 /Default Values/GSocketClient 470s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 470s ok 66 /Default Values/GSocket # SKIP initialization failed 470s ok 67 /Default Values/GSocketListener 470s ok 68 /Default Values/GSocketService 470s ok 69 /Default Values/GSubprocess # SKIP initialization failed 470s ok 70 /Default Values/GSubprocessLauncher 470s # GLib-GIO-DEBUG: GTask 0x2aa32275f90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 470s ok 71 /Default Values/GTask 470s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 470s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 470s ok 74 /Default Values/GTestDBus 470s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 470s ok 76 /Default Values/GThreadedSocketService 470s ok 77 /Default Values/GTlsInteraction 470s ok 78 /Default Values/GTlsPassword 470s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 470s ok 80 /Default Values/GUnixFDList 470s ok 81 /Default Values/GVfs 470s ok 82 /Default Values/GVolumeMonitor 470s ok 83 /Default Values/GZlibCompressor 470s ok 84 /Default Values/GZlibDecompressor 470s # End of Default Values tests 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 470s ok - glib/defaultvalue.test 470s # Running test: glib/collate.test 470s TAP version 13 470s # random seed: R02S8e5684ace8e10f950d8c2800527ab5e9 470s 1..9 470s # Start of unicode tests 470s # Start of collate tests 470s ok 1 /unicode/collate/0 470s ok 2 /unicode/collate/1 470s ok 3 /unicode/collate/2 470s # End of collate tests 470s # Start of collate-key tests 470s ok 4 /unicode/collate-key/0 470s ok 5 /unicode/collate-key/1 470s ok 6 /unicode/collate-key/2 470s # End of collate-key tests 470s # Start of collate-filename tests 470s ok 7 /unicode/collate-filename/0 470s ok 8 /unicode/collate-filename/1 470s ok 9 /unicode/collate-filename/2 470s # End of collate-filename tests 470s # End of unicode tests 470s ok - glib/collate.test 470s # Running test: glib/references.test 470s TAP version 13 470s # random seed: R02Sd1955b29182d2a3a3bfac80dddef06a0 470s 1..1 470s # Start of gobject tests 470s ok 1 /gobject/references 470s # End of gobject tests 470s ok - glib/references.test 470s # Running test: glib/gdbus-peer.test 470s TAP version 13 470s # random seed: R02S1df5ae0c68b3a7cfe44855e5ea8981f6 470s 1..12 470s # Start of gdbus tests 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/.dirs/runtime 470s # Testing with unix:dir address 470s # Testing with unix:tmpdir address 470s # Testing with unix:path address 470s ok 1 /gdbus/peer-to-peer 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/delayed-message-processing/.dirs/runtime 470s # Testing with unix:dir address 470s ok 2 /gdbus/delayed-message-processing 470s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/nonce-tcp/.dirs/runtime 470s ok 3 /gdbus/nonce-tcp 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/tcp-anonymous/.dirs/runtime 470s ok 4 /gdbus/tcp-anonymous 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/credentials/.dirs/runtime 470s ok 5 /gdbus/credentials 470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/home 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/cache 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/config 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/data 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/state 470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/codegen-peer-to-peer/.dirs/runtime 470s # Testing with unix:dir address 470s # Machine ID: 4104fb29b5bd476d8d18e0d42228e8c3 471s # Executing: glib/gdbus-peer.test 471s ok 6 /gdbus/codegen-peer-to-peer 471s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 471s # Start of peer-to-peer tests 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/signals/.dirs/runtime 471s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 471s # Testing with unix:dir address 471s ok 7 /gdbus/peer-to-peer/signals 471s # Start of invalid tests 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 471s ok 8 /gdbus/peer-to-peer/invalid/server 471s # Start of conn tests 471s # Start of stream tests 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 471s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 471s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 471s # End of stream tests 471s # Start of addr tests 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 471s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BLUTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 471s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 471s # End of addr tests 471s # End of conn tests 471s # End of invalid tests 471s # End of peer-to-peer tests 471s # End of gdbus tests 471s ok - glib/gdbus-peer.test 471s # Running test: glib/gdbus-names.test 471s TAP version 13 471s # random seed: R02S762a17d915d1fb1fc25425485b30d1c9 471s 1..10 471s # Start of gdbus tests 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/validate-names/.dirs/runtime 471s ok 1 /gdbus/validate-names 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-own-name/.dirs/runtime 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 2 /gdbus/bus-own-name 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name/.dirs/runtime 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 3 /gdbus/bus-watch-name 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 4 /gdbus/bus-watch-name-auto-start 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s dbus-daemon[2953]: [session uid=1000 pid=2953] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=2944 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 471s # Acquired a message bus connection 471s dbus-daemon[2953]: [session uid=1000 pid=2953] Successfully activated service 'org.gtk.GDBus.FakeService' 471s # Acquired the name org.gtk.GDBus.FakeService 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures/.dirs/runtime 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 6 /gdbus/bus-watch-name-closures 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 7 /gdbus/bus-watch-name-closures-auto-start 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-watch-different-context/.dirs/runtime 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 8 /gdbus/bus-watch-different-context 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/bus-unwatch-early/.dirs/runtime 471s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 9 /gdbus/bus-unwatch-early 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ANCRK2/gdbus/escape-object-path/.dirs/runtime 471s ok 10 /gdbus/escape-object-path 471s # End of gdbus tests 471s ok - glib/gdbus-names.test 471s # Running test: glib/fdo-notification-backend.test 471s TAP version 13 471s # random seed: R02Sb212be5f11a2da1e503ec2e8183730f2 471s 1..2 471s # Start of fdo-notification-backend tests 471s # Test constructing a GFdoNotificationBackend 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 1 /fdo-notification-backend/construction 471s # Start of dbus tests 471s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 471s ok 2 /fdo-notification-backend/dbus/activate-action 471s # End of dbus tests 471s # End of fdo-notification-backend tests 471s ok - glib/fdo-notification-backend.test 471s # Running test: glib/gio-tool.py.test 472s TAP version 13 472s ok 1 __main__.TestGioTool.test_help 472s # tmpdir: /tmp/tmpz3uu1y5x 472s # gio: /usr/bin/gio 472s # Running: ['/usr/bin/gio', '--help'] 472s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 472s # Output: Usage: 472s # gio COMMAND [ARGS…] 472s # 472s # Commands: 472s # help Print help 472s # version Print version 472s # cat Concatenate files to standard output 472s # copy Copy one or more files 472s # info Show information about locations 472s # launch Launch an application from a desktop file 472s # list List the contents of locations 472s # mime Get or set the handler for a mimetype 472s # mkdir Create directories 472s # monitor Monitor files and directories for changes 472s # mount Mount or unmount the locations 472s # move Move one or more files 472s # open Open files with the default application 472s # rename Rename a file 472s # remove Delete one or more files 472s # save Read from standard input and save 472s # set Set a file attribute 472s # trash Move files or directories to the trash 472s # tree Lists the contents of locations in a tree 472s # 472s # Use “gio help COMMAND” to get detailed help. 472s # Running: ['/usr/bin/gio', 'help'] 472s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 472s # Output: Usage: 472s # gio COMMAND [ARGS…] 472s # 472s # Commands: 472s # help Print help 472s # version Print version 472s # cat Concatenate files to standard output 472s # copy Copy one or more files 472s # info Show information about locations 472s # launch Launch an application from a desktop file 472s # list List the contents of locations 472s # mime Get or set the handler for a mimetype 472s # mkdir Create directories 472s # monitor Monitor files and directories for changes 472s # mount Mount or unmount the locations 472s # move Move one or more files 472s # open Open files with the default application 472s # rename Rename a file 472s # remove Delete one or more files 472s # save Read from standard input and save 472s # set Set a file attribute 472s # trash Move files or directories to the trash 472s # tree Lists the contents of locations in a tree 472s # 472s # Use “gio help COMMAND” to get detailed help. 472s ok 2 __main__.TestGioTool.test_info_non_default_attributes 472s # tmpdir: /tmp/tmpuf9ueg52 472s # gio: /usr/bin/gio 472s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpuf9ueg52/tmp_b5e4q3a'] 472s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 472s # Output: uri: file:///tmp/tmpuf9ueg52/tmp_b5e4q3a 472s # local path: /tmp/tmpuf9ueg52/tmp_b5e4q3a 472s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 472s # attributes: 472s # standard::content-type: application/x-zerosize 472s ok 3 __main__.TestGioTool.test_no_args 472s # tmpdir: /tmp/tmpka20x0m6 472s # gio: /usr/bin/gio 472s # Running: ['/usr/bin/gio'] 472s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 472s 1..3 472s ok - glib/gio-tool.py.test 472s # Running test: glib/gobject-query.py.test 472s TAP version 13 472s ok 1 __main__.TestGobjectQuery.test_froots 472s # gobject-query: /usr/bin/gobject-query 472s # Running: ['/usr/bin/gobject-query', 'froots'] 472s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 472s # Output: ├void 472s # ├GInterface 472s # │ └GTypePlugin 472s # ├gchar 472s # ├guchar 472s # ├gboolean 472s # ├gint 472s # ├guint 472s # ├glong 472s # ├gulong 472s # ├gint64 472s # ├guint64 472s # ├GEnum 472s # ├GFlags 472s # ├gfloat 472s # ├gdouble 472s # ├gchararray 472s # ├gpointer 472s # │ └GType 472s # ├GBoxed 472s # │ └GValueArray 472s # ├GParam 472s # │ ├GParamChar 472s # │ ├GParamUChar 472s # │ ├GParamBoolean 472s # │ ├GParamInt 472s # │ ├GParamUInt 472s # │ ├GParamLong 472s # │ ├GParamULong 472s # │ ├GParamInt64 472s # │ ├GParamUInt64 472s # │ ├GParamUnichar 472s # │ ├GParamEnum 472s # │ ├GParamFlags 472s # │ ├GParamFloat 472s # │ ├GParamDouble 472s # │ ├GParamString 472s # │ ├GParamParam 472s # │ ├GParamBoxed 472s # │ ├GParamPointer 472s # │ ├GParamValueArray 472s # │ ├GParamObject 472s # │ ├GParamOverride 472s # │ ├GParamGType 472s # │ └GParamVariant 472s # ├GObject 472s # └GVariant 472s ok 2 __main__.TestGobjectQuery.test_help 472s # gobject-query: /usr/bin/gobject-query 472s # Running: ['/usr/bin/gobject-query', '--help'] 472s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 472s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 472s # -r specify root type 472s # -n don't descend type tree 472s # -h show help 472s # -b specify indent string 472s # -i specify incremental indent string 472s # -s specify line spacing 472s # qualifiers: 472s # froots iterate over fundamental roots 472s # tree print type tree 472s ok 3 __main__.TestGobjectQuery.test_tree 472s # gobject-query: /usr/bin/gobject-query 472s # Running: ['/usr/bin/gobject-query', 'tree'] 472s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 472s # Output: GObject 472s ok 4 __main__.TestGobjectQuery.test_version 472s # gobject-query: /usr/bin/gobject-query 472s # Running: ['/usr/bin/gobject-query', '--version'] 472s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 472s # Output: 2.79.3 472s 1..4 472s ok - glib/gobject-query.py.test 472s # Running test: glib/autoptr.test 472s TAP version 13 472s # random seed: R02Sf7251862fe22f1abcc4b7d5bb0effa25 472s 1..6 472s # Start of autoptr tests 472s ok 1 /autoptr/autoptr 472s ok 2 /autoptr/autoptr_steal 472s ok 3 /autoptr/autolist 472s ok 4 /autoptr/autoslist 472s ok 5 /autoptr/autoqueue 472s ok 6 /autoptr/autoclass 472s # End of autoptr tests 472s ok - glib/autoptr.test 472s # Running test: glib/macros-c-11.test 472s TAP version 13 472s # random seed: R02S85dcd82f8344e6f43a9eab003137e703 472s 1..4 472s # Start of C tests 472s ok 1 /C/standard-11 472s # End of C tests 472s # Start of alignof tests 472s ok 2 /alignof/fallback 472s # End of alignof tests 472s # Start of assert tests 472s ok 3 /assert/static 472s # End of assert tests 472s # Start of struct tests 472s ok 4 /struct/sizeof_member 472s # End of struct tests 472s ok - glib/macros-c-11.test 472s # Running test: glib/credentials.test 472s TAP version 13 472s # random seed: R02S2411a697ca09bd9a2a70438123a01d64 472s 1..1 472s # Start of credentials tests 472s # GCredentials:linux-ucred:pid=2992,uid=1000,gid=1000 472s # GCredentials:linux-ucred:pid=2992,uid=0,gid=1000 472s ok 1 /credentials/basic 472s # End of credentials tests 472s ok - glib/credentials.test 472s # Running test: glib/dbus-appinfo.test 472s TAP version 13 472s # random seed: R02Sd1dc3aaa1bcb30851d119c584e90570b 472s 1..3 472s # Start of appinfo tests 472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 472s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 472s ok 1 /appinfo/dbusappinfo 472s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 472s dbus-daemon[2995]: [session uid=1000 pid=2995] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=2994 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 472s # Acquired a message bus connection 472s dbus-daemon[2995]: [session uid=1000 pid=2995] Successfully activated service 'org.freedesktop.portal.Documents' 472s # Acquired the name org.freedesktop.portal.Documents 472s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 472s ok 2 /appinfo/flatpak-doc-export 472s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 472s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 472s ok 3 /appinfo/flatpak-missing-doc-export 472s # End of appinfo 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 cleaning up pid 2995 472s # Lost the name org.freedesktop.portal.Documents 472s ok - glib/dbus-appinfo.test 472s # Running test: glib/signals.test 472s TAP version 13 472s # random seed: R02S48ae861c2595f8660e111d3122619b45 472s 1..31 472s # Start of gobject tests 472s # Start of signals tests 472s ok 1 /gobject/signals/all-types 472s ok 2 /gobject/signals/variant 472s ok 3 /gobject/signals/destroy-target-object 472s ok 4 /gobject/signals/generic-marshaller-1 472s ok 5 /gobject/signals/generic-marshaller-2 472s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 472s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 472s ok 8 /gobject/signals/generic-marshaller-int-return 472s ok 9 /gobject/signals/generic-marshaller-uint-return 472s ok 10 /gobject/signals/generic-marshaller-interface-return 472s ok 11 /gobject/signals/custom-marshaller 472s ok 12 /gobject/signals/connect 472s ok 13 /gobject/signals/emission-hook 472s ok 14 /gobject/signals/emitv 472s ok 15 /gobject/signals/accumulator 472s # Signal: accumulator-class-first 472s # Signal: accumulator-class-last 472s # Signal: accumulator-class-cleanup 472s # Signal: accumulator-class-first-last 472s # Signal: accumulator-class-first-last-cleanup 472s # Signal: accumulator-class-last-cleanup 472s ok 16 /gobject/signals/accumulator-class 472s ok 17 /gobject/signals/introspection 472s ok 18 /gobject/signals/block-handler 472s ok 19 /gobject/signals/stop-emission 472s ok 20 /gobject/signals/invocation-hint 472s ok 21 /gobject/signals/test-disconnection-wrong-object 472s ok 22 /gobject/signals/clear-signal-handler 472s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 472s ok 23 /gobject/signals/lookup 472s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 472s ok 24 /gobject/signals/parse-name 472s ok 25 /gobject/signals/is-valid-name 472s ok 26 /gobject/signals/weak-ref-disconnect 472s # Start of lookup tests 472s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 472s ok 27 /gobject/signals/lookup/invalid 472s # End of lookup tests 472s # Start of parse-name tests 472s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 472s # Parser input: 472s # Parser input: 7zip 472s # Parser input: invalid:signal 472s # Parser input: simple-detailed:: 472s # Parser input: simple-detailed: 472s # Parser input: : 472s # Parser input: :: 472s # Parser input: :valid-detail 472s # Parser input: ::valid-detail 472s ok 28 /gobject/signals/parse-name/invalid 472s # End of parse-name tests 472s # Start of invalid-name tests 472s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 472s ok 29 /gobject/signals/invalid-name/colon 472s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 472s ok 30 /gobject/signals/invalid-name/first-char 472s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 472s ok 31 /gobject/signals/invalid-name/empty 472s # End of invalid-name tests 472s # End of signals tests 472s # End of gobject tests 472s ok - glib/signals.test 472s # Running test: glib/spawn-singlethread.test 472s TAP version 13 472s # random seed: R02S4c9cbba2107acb6d5e47fe489c4c6a51 472s 1..9 472s # Start of gthread tests 472s ok 1 /gthread/spawn-single-sync 472s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 472s ok 2 /gthread/spawn-stderr-socket 472s ok 3 /gthread/spawn-single-async 472s # thread 1 472s # thread 1 472s ok 4 /gthread/spawn-single-async-with-fds 472s ok 5 /gthread/spawn-async-with-invalid-fds 472s ok 6 /gthread/spawn-script 472s ok 7 /gthread/spawn-posix-spawn 472s # Start of spawn tests 472s ok 8 /gthread/spawn/nonexistent 472s # FD map: 472s # • 5 → 15 472s # • 6 → 16 472s # • 7 → 17 472s # • 8 → 18 472s # • 9 → 19 472s # • 10 → 20 472s # • 11 → 21 472s # • 12 → 22 472s # • 13 → 23 472s # • 3 → 13 472s ok 9 /gthread/spawn/fd-assignment-clash 472s # End of spawn tests 472s # End of gthread tests 472s ok - glib/spawn-singlethread.test 472s # Running test: glib/include.test 472s TAP version 13 472s # random seed: R02S02cc7960624ba76b1cf2fb5605392475 472s 1..1 472s # Start of include tests 472s ok 1 /include/rwlock 472s # End of include tests 472s ok - glib/include.test 472s # Running test: glib/live-g-file.test 472s TAP version 13 472s # random seed: R02Sca8379ab124cf52d431e4dbbd03d2fc8 472s 1..13 472s # Start of live-g-file tests 472s # Cleaning target testing structure in 'testdir_live-g-file'... 472s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 472s ok 1 /live-g-file/prep_clean_structure 472s # 472s # Going to create testing structure in 'testdir_live-g-file'... 472s # Creating directory 'dir1'... 472s # Creating directory 'dir1/subdir'... 472s # Creating directory 'dir2'... 472s # Creating directory 'dir-target'... 472s # Creating directory 'dir_no-access'... 472s # Creating directory 'dir_no-write'... 472s # Creating file 'target-file'... 472s # Creating file 'normal_file'... 472s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 472s # Creating file 'executable_file'... 472s # Creating file 'private_file'... 472s # Creating file 'normal_file2'... 472s # Creating file 'readonly_file'... 472s # Creating file 'UTF_pr?i?lis? z'... 472s # Creating directory 'dir_pr?i?lis? z'... 472s # Creating symlink 'lost_symlink' --> 'nowhere'... 472s # Creating directory 'dir_hidden'... 472s # Creating file 'dir_hidden/.a-hidden-file'... 472s # Creating file 'dir_hidden/file-in-.hidden1'... 472s # Creating file 'dir_hidden/file-in-.hidden2'... 472s # Creating pattern file... 472s # done. 472s ok 2 /live-g-file/create_structure 472s # Testing sample structure in 'testdir_live-g-file'... 472s # Testing file 'dir1'... 472s # Testing file 'dir1/subdir'... 472s # Testing file 'dir2'... 472s # Testing file 'dir-target'... 472s # Testing file 'dir_no-access'... 472s # Testing file 'dir_no-write'... 472s # Testing file 'target-file'... 472s # Testing file 'normal_file'... 472s # Testing file 'normal_file-symlink'... 472s # Testing file 'executable_file'... 472s # Testing file 'private_file'... 472s # Testing file 'normal_file2'... 472s # Testing file 'readonly_file'... 472s # Testing file 'UTF_pr?i?lis? z'... 472s # Testing file 'dir_pr?i?lis? z'... 472s # Testing file 'lost_symlink'... 472s # Testing file 'dir_hidden'... 472s # Testing file 'dir_hidden/.a-hidden-file'... 472s # Testing file 'dir_hidden/file-in-.hidden1'... 472s # Testing file 'dir_hidden/file-in-.hidden2'... 472s # Testing pattern file... 472s # read 65536 bytes, total = 65536 of 65536. 472s ok 3 /live-g-file/test_initial_structure 472s # Traversing through the sample structure in 'testdir_live-g-file'... 472s # Found file dir1, relative to root: dir1 472s # Found file subdir, relative to root: dir1/subdir 472s # Found file dir2, relative to root: dir2 472s # Found file dir-target, relative to root: dir-target 472s # Found file dir_no-access, relative to root: dir_no-access 472s # Found file dir_no-write, relative to root: dir_no-write 472s # Found file target-file, relative to root: target-file 472s # Found file normal_file, relative to root: normal_file 472s # Found file normal_file-symlink, relative to root: normal_file-symlink 472s # Found file executable_file, relative to root: executable_file 472s # Found file private_file, relative to root: private_file 472s # Found file normal_file2, relative to root: normal_file2 472s # Found file readonly_file, relative to root: readonly_file 472s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 472s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 472s # Found file lost_symlink, relative to root: lost_symlink 472s # Found file dir_hidden, relative to root: dir_hidden 472s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 472s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 472s # Found file .hidden, relative to root: dir_hidden/.hidden 472s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 472s # Found file pattern_file, relative to root: pattern_file 472s ok 4 /live-g-file/test_traverse_structure 472s # Test enumerate 'testdir_live-g-file'... 472s # Testing file 'dir_no-access' 472s # Testing file 'normal_file' 472s # Testing file 'normal_file-symlink' 472s # Testing file 'not_exists' 472s # Testing file 'not_exists' 472s # Testing file 'not_exists2' 472s # Testing file 'not_exists3' 472s # Testing file 'not_exists4' 472s # Testing file 'dir_no-execute/file' 472s ok 5 /live-g-file/test_enumerate 472s # test_open: 'dir1' 472s # test_open: 'dir_no-access' 472s # test_open: 'target-file' 472s # test_open: 'normal_file-symlink' 472s # test_open: 'executable_file' 472s # test_open: 'private_file' 472s # test_open: 'readonly_file' 472s # test_open: 'UTF_pr?i?lis? z' 472s # test_open: 'pattern_file' 472s # test_open: 'not_exists' 472s # test_open: 'dir_no-execute/file' 472s # test_open: 'lost_symlink' 472s ok 6 /live-g-file/test_open 472s # test_create: 'dir1' 472s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir1?: Is a directory 472s # test_create: 'dir1/subdir' 472s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir1/subdir?: Is a directory 472s # test_create: 'dir2' 472s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir2?: File exists 472s # test_create: 'normal_file' 472s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/normal_file?: File exists 472s # test_create: 'executable_file' 472s # test_create: 'private_file' 472s # test_create: 'normal_file2' 472s # test_create: 'UTF_pr?i?lis? z' 472s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 472s # test_create: 'dir_pr?i?lis? z' 472s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 472s # test_create: 'pattern_file' 472s # test_create: 'not_exists2' 472s # test_create: 'not_exists3' 472s # test_create: 'not_exists4' 472s ok 7 /live-g-file/test_create 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir1/subdir' --> 'dir-target' 472s # res = 0, error code 25 = Can?t recursively copy directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir1/subdir' --> '.' 472s # res = 0, error code 2 = Target file exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir1/subdir' --> 'target-file' 472s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir1/subdir' --> 'not_exists' 472s # res = 0, error code 25 = Can?t recursively copy directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 472s # res = 0, error code 25 = Can?t recursively copy directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 472s # res = 0, error code 25 = Can?t recursively copy directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir2' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir-target' --> 'dir-target' 472s # res = 0, error code 25 = Can?t recursively copy directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir-target' --> '.' 472s # res = 0, error code 2 = Target file exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir-target' --> 'target-file' 472s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/dir-target?: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir-target' --> 'not_exists' 472s # res = 0, error code 25 = Can?t recursively copy directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir-target' --> 'dir_no-access' 472s # res = 0, error code 25 = Can?t recursively copy directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'dir-target' --> 'dir_no-write' 472s # res = 0, error code 25 = Can?t recursively copy directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'target-file' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'target-file' --> '.' 472s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file?: File exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'target-file' --> 'target-file' 472s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/target-file?: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'target-file' --> 'not_exists' 472s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'target-file' --> 'dir_no-access' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'target-file' --> 'dir_no-write' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file-symlink' --> '.' 472s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/normal_file-symlink: File exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file-symlink' --> 'target-file' 472s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 472s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 472s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 472s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'executable_file' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'executable_file' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'executable_file' --> '.' 472s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/executable_file?: File exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'executable_file' --> 'target-file' 472s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/executable_file?: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'executable_file' --> 'not_exists' 472s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'executable_file' --> 'dir_no-access' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'executable_file' --> 'dir_no-write' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'private_file' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'private_file' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'private_file' --> '.' 472s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/private_file?: File exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'private_file' --> 'target-file' 472s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/private_file?: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'private_file' --> 'not_exists' 472s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'private_file' --> 'dir_no-access' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'private_file' --> 'dir_no-write' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file2' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file2' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file2' --> '.' 472s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/normal_file2?: File exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file2' --> 'target-file' 472s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file2' --> 'not_exists' 472s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file2' --> 'dir_no-access' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'normal_file2' --> 'dir_no-write' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 472s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 472s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 472s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'pattern_file' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'pattern_file' --> '.' 472s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/pattern_file?: File exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'pattern_file' --> 'target-file' 472s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'pattern_file' --> 'not_exists' 472s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'pattern_file' --> 'dir_no-access' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'pattern_file' --> 'dir_no-write' 472s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'not_exists' --> 'dir-target' 472s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'not_exists' --> '.' 472s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'not_exists' --> 'target-file' 472s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'not_exists' --> 'not_exists' 472s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'not_exists' --> 'dir_no-access' 472s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'not_exists' --> 'dir_no-write' 472s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists?: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'not_exists' --> 'dir-target' 472s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'lost_symlink' --> 'dir-target' 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'lost_symlink' --> '.' 472s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/lost_symlink: File exists 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'lost_symlink' --> 'target-file' 472s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'lost_symlink' --> 'not_exists' 472s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 472s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 472s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 472s ok 8 /live-g-file/test_copy_move 472s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir1 472s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir1: Directory not empty 472s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir2 472s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir2: No such file or directory 472s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/executable_file 472s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/readonly_file 472s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_pr?i?lis? z 472s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists 472s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists: No such file or directory 472s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists 472s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/not_exists: No such file or directory 472s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-execute/file 472s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 472s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-P34TK2/testdir_live-g-file/lost_symlink 472s ok 9 /live-g-file/test_delete 472s # We do not have CAP_DAC_OVERRIDE or equivalent 472s ok 10 /live-g-file/test_make_directory_with_parents 472s # Cleaning target testing structure in 'testdir_live-g-file'... 472s # deleting 'dir1' 472s # deleting 'subdir' 472s # deleting 'dir-target' 472s # deleting 'dir2' 472s # deleting 'target-file' 472s # deleting 'normal_file-symlink' 472s # deleting 'pattern_file' 472s # deleting 'executable_file' 472s # deleting 'private_file' 472s # deleting 'normal_file2' 472s # deleting 'UTF_pr?i?lis? z' 472s # deleting 'lost_symlink' 472s # deleting 'dir_no-access' 472s # deleting 'dir_no-write' 472s # deleting 'target-file' 472s # deleting 'normal_file' 472s # deleting 'normal_file-symlink' 472s # deleting 'executable_file~' 472s # deleting 'private_file' 472s # deleting 'normal_file2~' 472s # deleting 'a' 472s # deleting 'UTF_pr?i?lis? z' 472s # deleting 'dir_hidden' 472s # deleting '.a-hidden-file' 472s # deleting 'file-in-.hidden1' 472s # deleting '.hidden' 472s # deleting 'file-in-.hidden2' 472s # deleting 'pattern_file' 472s # deleting 'normal_file2' 472s # deleting 'not_exists2' 472s # deleting 'not_exists3' 472s # deleting 'not_exists4' 472s ok 11 /live-g-file/final_clean 472s # Start of test_unix_is_mountpoint tests 472s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 472s ok 13 /live-g-file/test_unix_is_mountpoint/proc 472s # End of test_unix_is_mountpoint tests 472s # End of live-g-file tests 472s ok - glib/live-g-file.test 472s # Running test: glib/properties-refcount3.test 472s TAP version 13 472s # random seed: R02Sa9a86a3342a0491a73294fa27604ce94 472s 1..1 472s # Start of gobject tests 472s # Start of refcount tests 476s # Executing: glib/properties-refcount3.test 481s # Executing: glib/properties-refcount3.test 486s # Executing: glib/properties-refcount3.test 491s # Executing: glib/properties-refcount3.test 496s # Executing: glib/properties-refcount3.test 501s # Executing: glib/properties-refcount3.test 502s # 502s # stopping 502s # 502s # stopped 502s # 502s # 44016925 19663190 502s # 502s ok 1 /gobject/refcount/properties-3 502s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 502s # End of refcount tests 502s # End of gobject tests 502s ok - glib/properties-refcount3.test 502s # Running test: glib/overflow.test 502s TAP version 13 502s # random seed: R02S1eae39906fa95a2ae15298ef0cdef0da 502s 1..6 502s # Start of glib tests 502s # Start of checked-math tests 502s ok 1 /glib/checked-math/guint-add 502s ok 2 /glib/checked-math/guint-mul 502s ok 3 /glib/checked-math/guint64-add 502s ok 4 /glib/checked-math/guint64-mul 502s ok 5 /glib/checked-math/gsize-add 502s ok 6 /glib/checked-math/gsize-mul 502s # End of checked-math tests 502s # End of glib tests 502s ok - glib/overflow.test 502s # Running test: glib/bitlock.test 502s TAP version 13 502s # random seed: R02Se01ca7fc1dea2e566b4aea457731accc 502s 1..1 502s # Start of bitlock tests 502s # Start of performance tests 502s # max perf: iterations per second 502s ok 1 /bitlock/performance/uncontended 502s # End of performance tests 502s # End of bitlock tests 502s ok - glib/bitlock.test 502s # Running test: glib/sequence.test 502s TAP version 13 502s # random seed: R02S3cbb347a8d06ddaa2940f2cb96b88abf 502s 1..16 502s # Start of sequence tests 502s ok 1 /sequence/out-of-range-jump 502s ok 2 /sequence/iter-move 502s ok 3 /sequence/insert-sorted-non-pointer 502s ok 4 /sequence/stable-sort 502s ok 5 /sequence/is_empty 502s # Start of random tests 503s ok 6 /sequence/random/seed:825541564 503s # slow test /sequence/random/seed:825541564 executed in 0.81 secs 504s ok 7 /sequence/random/seed:801678400 504s # slow test /sequence/random/seed:801678400 executed in 0.75 secs 504s ok 8 /sequence/random/seed:1477639090 504s # slow test /sequence/random/seed:1477639090 executed in 0.84 secs 505s ok 9 /sequence/random/seed:3369132895 505s # slow test /sequence/random/seed:3369132895 executed in 0.75 secs 506s ok 10 /sequence/random/seed:1192944867 506s # slow test /sequence/random/seed:1192944867 executed in 0.84 secs 506s # Executing: glib/sequence.test 507s ok 11 /sequence/random/seed:770458294 507s # slow test /sequence/random/seed:770458294 executed in 0.81 secs 508s ok 12 /sequence/random/seed:1099575817 508s # slow test /sequence/random/seed:1099575817 executed in 0.76 secs 508s ok 13 /sequence/random/seed:590523467 508s # slow test /sequence/random/seed:590523467 executed in 0.76 secs 509s ok 14 /sequence/random/seed:3583571454 509s # slow test /sequence/random/seed:3583571454 executed in 0.77 secs 510s ok 15 /sequence/random/seed:579241222 510s # slow test /sequence/random/seed:579241222 executed in 0.87 secs 511s ok 16 /sequence/random/seed:1849783198 511s # slow test /sequence/random/seed:1849783198 executed in 0.90 secs 511s # End of random tests 511s # End of sequence tests 511s ok - glib/sequence.test 511s # Running test: glib/gapplication.test 511s TAP version 13 511s # random seed: R02S655e6f47d226e9523d846c386063cb11 511s 1..24 511s # Start of gapplication tests 511s ok 1 /gapplication/no-dbus 511s ok 2 /gapplication/no-appid 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 3 /gapplication/properties 511s ok 4 /gapplication/app-id 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 5 /gapplication/quit 511s ok 6 /gapplication/registered 511s ok 7 /gapplication/local-actions 511s ok 8 /gapplication/local-command-line 511s ok 9 /gapplication/resource-path 511s ok 10 /gapplication/test-help 511s ok 11 /gapplication/command-line-done 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 12 /gapplication/test-busy 511s ok 13 /gapplication/test-handle-local-options1 511s ok 14 /gapplication/test-handle-local-options2 511s ok 15 /gapplication/test-handle-local-options3 511s ok 16 /gapplication/api 511s ok 17 /gapplication/version 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # launching subprocess 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 18 /gapplication/replace 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # launching subprocess 511s # Executing: glib/gapplication.test 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 19 /gapplication/no-replace 511s # slow test /gapplication/no-replace executed in 0.51 secs 511s # Start of dbus tests 511s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # Message 0 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 1 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 2 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 20 /gapplication/dbus/activate 511s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # Message 0 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 511s # Message 1 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 2 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 3 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 21 /gapplication/dbus/open 511s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # Message 0 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 1 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 2 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 22 /gapplication/dbus/command-line 511s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 23 /gapplication/dbus/command-line-done 511s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 511s # Message 0 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 1 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 2 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 3 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 4 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # Message 5 511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 511s ok 24 /gapplication/dbus/activate-action 511s # End of dbus tests 511s # End of gapplication tests 511s ok - glib/gapplication.test 511s # Running test: glib/hook.test 511s TAP version 13 511s # random seed: R02S5510bda73fa88fd4470a1234d3dbb138 511s 1..2 511s # Start of hook tests 511s ok 1 /hook/basics 511s ok 2 /hook/corner-cases 511s # End of hook tests 511s ok - glib/hook.test 511s # Running test: glib/binding.test 511s TAP version 13 511s # random seed: R02Sd31381a18ff3494e8de90793f1b3cb8f 511s 1..19 511s # Start of binding tests 511s ok 1 /binding/default 511s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 511s ok 2 /binding/canonicalisation 511s ok 3 /binding/bidirectional 511s ok 4 /binding/transform 511s ok 5 /binding/transform-default 511s ok 6 /binding/transform-closure 511s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 511s ok 7 /binding/chain 511s ok 8 /binding/sync-create 511s ok 9 /binding/invert-boolean 511s ok 10 /binding/same-object 511s ok 11 /binding/unbind 511s ok 12 /binding/unbind-weak 511s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 511s ok 13 /binding/unbind-multiple 511s ok 14 /binding/fail 511s ok 15 /binding/interface 511s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 511s ok 16 /binding/concurrent-unbind 511s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 511s ok 17 /binding/concurrent-finalizing 511s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 511s ok 18 /binding/dispose-source 511s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 511s ok 19 /binding/dispose-target 511s # End of binding tests 511s ok - glib/binding.test 511s # Running test: glib/convert.test 511s TAP version 13 511s # random seed: R02Sc331f40e6231065577940d671419dede 511s 1..14 511s # Start of conversion tests 511s ok 1 /conversion/no-conv 511s ok 2 /conversion/iconv-state 512s ok 3 /conversion/illegal-sequence 512s ok 4 /conversion/byte-order 512s ok 5 /conversion/unicode 512s ok 6 /conversion/filename-utf8 512s ok 7 /conversion/filename-display 512s ok 8 /conversion/convert-embedded-nul 512s # Start of locale-to-utf8 tests 512s ok 9 /conversion/locale-to-utf8/embedded-nul 512s # Start of embedded-nul tests 512s # Start of subprocess tests 512s # End of subprocess tests 512s # End of embedded-nul tests 512s # End of locale-to-utf8 tests 512s # Start of locale-from-utf8 tests 512s ok 10 /conversion/locale-from-utf8/embedded-nul 512s # Start of embedded-nul tests 512s # Start of subprocess tests 512s # End of subprocess tests 512s # End of embedded-nul tests 512s # End of locale-from-utf8 tests 512s # Start of filename-to-utf8 tests 512s ok 11 /conversion/filename-to-utf8/embedded-nul 512s # Start of embedded-nul tests 512s # Start of subprocess tests 512s # End of subprocess tests 512s # End of embedded-nul tests 512s # End of filename-to-utf8 tests 512s # Start of filename-from-utf8 tests 512s ok 12 /conversion/filename-from-utf8/embedded-nul 512s # Start of embedded-nul tests 512s # Start of subprocess tests 512s # End of subprocess tests 512s # End of embedded-nul tests 512s # End of filename-from-utf8 tests 512s # Start of filename-from-uri tests 512s ok 13 /conversion/filename-from-uri/query-is-ignored 512s ok 14 /conversion/filename-from-uri/fragment-is-ignored 512s # End of filename-from-uri tests 512s # End of conversion tests 512s ok - glib/convert.test 512s # Running test: glib/function-info.test 512s TAP version 13 512s # random seed: R02S92cd91de31fa941453d0f38063d492ec 512s 1..1 512s # Start of function-info tests 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_NHQOK2/function-info/invoker/.dirs/runtime 512s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 512s # /function-info/invoker summary: Test preparing a function invoker 512s ok 1 /function-info/invoker 512s # End of function-info tests 512s ok - glib/function-info.test 512s # Running test: glib/glistmodel.test 512s TAP version 13 512s # random seed: R02S99165e35035c092611cb511ff4641eaf 512s 1..18 512s # Start of glistmodel tests 512s # Start of store tests 512s ok 1 /glistmodel/store/properties 512s ok 2 /glistmodel/store/non-gobjects 512s ok 3 /glistmodel/store/boundaries 512s ok 4 /glistmodel/store/refcounts 512s ok 5 /glistmodel/store/sorted 512s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 512s ok 6 /glistmodel/store/splice-replace-middle 512s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 512s ok 7 /glistmodel/store/splice-replace-all 512s ok 8 /glistmodel/store/splice-noop 512s ok 9 /glistmodel/store/splice-remove-multiple 512s ok 10 /glistmodel/store/splice-add-multiple 512s ok 11 /glistmodel/store/splice-wrong-type 512s ok 12 /glistmodel/store/item-type 512s ok 13 /glistmodel/store/remove-all 512s ok 14 /glistmodel/store/sort 512s ok 15 /glistmodel/store/get-item-cache 512s ok 16 /glistmodel/store/items-changed 512s ok 17 /glistmodel/store/past-end 512s ok 18 /glistmodel/store/find 512s # End of store tests 512s # End of glistmodel tests 512s ok - glib/glistmodel.test 512s # Running test: glib/cxx.test 512s TAP version 13 512s # random seed: R02S9227a72eef7cd2db0ef8f086f8d1ed54 512s 1..2 512s # Start of gtask tests 512s # 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. 512s ok 1 /gtask/name 512s # Start of name tests 512s # 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. 512s ok 2 /gtask/name/macro-wrapper 512s # End of name tests 512s # End of gtask tests 512s ok - glib/cxx.test 512s # Running test: glib/type.test 512s TAP version 13 512s # random seed: R02Saeba62f6fc7e717b719c63af8d9a50cb 512s 1..6 512s # Start of type tests 512s ok 1 /type/registration-serial 512s ok 2 /type/interface-prerequisite 512s ok 3 /type/interface-check 512s ok 4 /type/next-base 512s ok 5 /type/is-a 512s # Invalid types can?t be queried. 512s # Unclassed types can?t be queried. 512s ok 6 /type/query 512s # End of type tests 512s ok - glib/type.test 512s # Running test: glib/gdbus-proxy-well-known-name.test 512s TAP version 13 512s # random seed: R02Sc3f348d9bd37a86cba22b84393773726 512s 1..1 512s # Start of gdbus tests 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_SY8OK2/gdbus/proxy-well-known-name/.dirs/runtime 512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 1 /gdbus/proxy-well-known-name 512s # End of gdbus tests 512s ok - glib/gdbus-proxy-well-known-name.test 512s # Running test: glib/codegen.py.test 512s TAP version 13 512s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 512s # tmpdir: /tmp/tmp520e38dy 512s # codegen: /usr/bin/gdbus-codegen 512s # /tmp/tmp520e38dy/tmp78rqw8_p.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp520e38dy/tmp78rqw8_p.xml', '--output', '-', '--header'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: /* 512s # * This file is generated by gdbus-codegen, do not modify it. 512s # * 512s # * The license of this code is the same as for the D-Bus interface description 512s # * it was derived from. Note that it links to GLib, so must comply with the 512s # * LGPL linking clauses. 512s # */ 512s # 512s # #ifndef __STDOUT__ 512s # #define __STDOUT__ 512s # 512s # #include 512s # 512s # G_BEGIN_DECLS 512s # 512s # 512s # /* ------------------------------------------------------------------------ */ 512s # /* Declarations for org.project.UsefulInterface */ 512s # 512s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 512s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 512s # 512s # struct _OrgProjectUsefulInterface; 512s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 512s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 512s # 512s # struct _OrgProjectUsefulInterfaceIface 512s # { 512s # GTypeInterface parent_iface; 512s # 512s # gboolean (*handle_useful_method) ( 512s # OrgProjectUsefulInterface *object, 512s # GDBusMethodInvocation *invocation); 512s # 512s # }; 512s # 512s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 512s # 512s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 512s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 512s # 512s # 512s # /* D-Bus method call completion functions: */ 512s # void org_project_useful_interface_complete_useful_method ( 512s # OrgProjectUsefulInterface *object, 512s # GDBusMethodInvocation *invocation); 512s # 512s # 512s # 512s # /* D-Bus method calls: */ 512s # void org_project_useful_interface_call_useful_method ( 512s # OrgProjectUsefulInterface *proxy, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data); 512s # 512s # gboolean org_project_useful_interface_call_useful_method_finish ( 512s # OrgProjectUsefulInterface *proxy, 512s # GAsyncResult *res, 512s # GError **error); 512s # 512s # gboolean org_project_useful_interface_call_useful_method_sync ( 512s # OrgProjectUsefulInterface *proxy, 512s # GCancellable *cancellable, 512s # GError **error); 512s # 512s # 512s # 512s # /* ---- */ 512s # 512s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 512s # 512s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 512s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 512s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 512s # 512s # struct _OrgProjectUsefulInterfaceProxy 512s # { 512s # /*< private >*/ 512s # GDBusProxy parent_instance; 512s # OrgProjectUsefulInterfaceProxyPrivate *priv; 512s # }; 512s # 512s # struct _OrgProjectUsefulInterfaceProxyClass 512s # { 512s # GDBusProxyClass parent_class; 512s # }; 512s # 512s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 512s # 512s # #if GLIB_CHECK_VERSION(2, 44, 0) 512s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 512s # #endif 512s # 512s # void org_project_useful_interface_proxy_new ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 512s # GAsyncResult *res, 512s # GError **error); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error); 512s # 512s # void org_project_useful_interface_proxy_new_for_bus ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 512s # GAsyncResult *res, 512s # GError **error); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error); 512s # 512s # 512s # /* ---- */ 512s # 512s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 512s # 512s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 512s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 512s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 512s # 512s # struct _OrgProjectUsefulInterfaceSkeleton 512s # { 512s # /*< private >*/ 512s # GDBusInterfaceSkeleton parent_instance; 512s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 512s # }; 512s # 512s # struct _OrgProjectUsefulInterfaceSkeletonClass 512s # { 512s # GDBusInterfaceSkeletonClass parent_class; 512s # }; 512s # 512s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 512s # 512s # #if GLIB_CHECK_VERSION(2, 44, 0) 512s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 512s # #endif 512s # 512s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 512s # 512s # 512s # G_END_DECLS 512s # 512s # #endif /* __STDOUT__ */ 512s # /tmp/tmp520e38dy/tmpdvv1_of7.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp520e38dy/tmpdvv1_of7.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: /* 512s # * This file is generated by gdbus-codegen, do not modify it. 512s # * 512s # * The license of this code is the same as for the D-Bus interface description 512s # * it was derived from. Note that it links to GLib, so must comply with the 512s # * LGPL linking clauses. 512s # */ 512s # 512s # #ifndef __STDOUT__ 512s # #define __STDOUT__ 512s # 512s # #include 512s # 512s # G_BEGIN_DECLS 512s # 512s # 512s # /* ------------------------------------------------------------------------ */ 512s # /* Declarations for org.project.UsefulInterface */ 512s # 512s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 512s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 512s # 512s # struct _OrgProjectUsefulInterface; 512s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 512s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 512s # 512s # struct _OrgProjectUsefulInterfaceIface 512s # { 512s # GTypeInterface parent_iface; 512s # 512s # gboolean (*handle_useful_method) ( 512s # OrgProjectUsefulInterface *object, 512s # GDBusMethodInvocation *invocation); 512s # 512s # }; 512s # 512s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 512s # 512s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 512s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 512s # 512s # 512s # /* D-Bus method call completion functions: */ 512s # void org_project_useful_interface_complete_useful_method ( 512s # OrgProjectUsefulInterface *object, 512s # GDBusMethodInvocation *invocation); 512s # 512s # 512s # 512s # /* D-Bus method calls: */ 512s # void org_project_useful_interface_call_useful_method ( 512s # OrgProjectUsefulInterface *proxy, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data); 512s # 512s # gboolean org_project_useful_interface_call_useful_method_finish ( 512s # OrgProjectUsefulInterface *proxy, 512s # GAsyncResult *res, 512s # GError **error); 512s # 512s # gboolean org_project_useful_interface_call_useful_method_sync ( 512s # OrgProjectUsefulInterface *proxy, 512s # GCancellable *cancellable, 512s # GError **error); 512s # 512s # 512s # 512s # /* ---- */ 512s # 512s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 512s # 512s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 512s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 512s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 512s # 512s # struct _OrgProjectUsefulInterfaceProxy 512s # { 512s # /*< private >*/ 512s # GDBusProxy parent_instance; 512s # OrgProjectUsefulInterfaceProxyPrivate *priv; 512s # }; 512s # 512s # struct _OrgProjectUsefulInterfaceProxyClass 512s # { 512s # GDBusProxyClass parent_class; 512s # }; 512s # 512s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 512s # 512s # #if GLIB_CHECK_VERSION(2, 44, 0) 512s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 512s # #endif 512s # 512s # void org_project_useful_interface_proxy_new ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 512s # GAsyncResult *res, 512s # GError **error); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error); 512s # 512s # void org_project_useful_interface_proxy_new_for_bus ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 512s # GAsyncResult *res, 512s # GError **error); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error); 512s # 512s # 512s # /* ---- */ 512s # 512s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 512s # 512s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 512s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 512s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 512s # 512s # struct _OrgProjectUsefulInterfaceSkeleton 512s # { 512s # /*< private >*/ 512s # GDBusInterfaceSkeleton parent_instance; 512s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 512s # }; 512s # 512s # struct _OrgProjectUsefulInterfaceSkeletonClass 512s # { 512s # GDBusInterfaceSkeletonClass parent_class; 512s # }; 512s # 512s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 512s # 512s # #if GLIB_CHECK_VERSION(2, 44, 0) 512s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 512s # #endif 512s # 512s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 512s # 512s # 512s # G_END_DECLS 512s # 512s # #endif /* __STDOUT__ */ 512s # /tmp/tmp520e38dy/tmpkkdp18k5.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp520e38dy/tmpkkdp18k5.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: /* 512s # * This file is generated by gdbus-codegen, do not modify it. 512s # * 512s # * The license of this code is the same as for the D-Bus interface description 512s # * it was derived from. Note that it links to GLib, so must comply with the 512s # * LGPL linking clauses. 512s # */ 512s # 512s # #ifndef __STDOUT__ 512s # #define __STDOUT__ 512s # 512s # #include 512s # 512s # G_BEGIN_DECLS 512s # 512s # 512s # /* ------------------------------------------------------------------------ */ 512s # /* Declarations for org.project.UsefulInterface */ 512s # 512s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 512s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 512s # 512s # struct _OrgProjectUsefulInterface; 512s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 512s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 512s # 512s # struct _OrgProjectUsefulInterfaceIface 512s # { 512s # GTypeInterface parent_iface; 512s # 512s # gboolean (*handle_useful_method) ( 512s # OrgProjectUsefulInterface *object, 512s # GDBusMethodInvocation *invocation); 512s # 512s # }; 512s # 512s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 512s # 512s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 512s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 512s # 512s # 512s # /* D-Bus method call completion functions: */ 512s # void org_project_useful_interface_complete_useful_method ( 512s # OrgProjectUsefulInterface *object, 512s # GDBusMethodInvocation *invocation); 512s # 512s # 512s # 512s # /* D-Bus method calls: */ 512s # void org_project_useful_interface_call_useful_method ( 512s # OrgProjectUsefulInterface *proxy, 512s # GDBusCallFlags call_flags, 512s # gint timeout_msec, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data); 512s # 512s # gboolean org_project_useful_interface_call_useful_method_finish ( 512s # OrgProjectUsefulInterface *proxy, 512s # GAsyncResult *res, 512s # GError **error); 512s # 512s # gboolean org_project_useful_interface_call_useful_method_sync ( 512s # OrgProjectUsefulInterface *proxy, 512s # GDBusCallFlags call_flags, 512s # gint timeout_msec, 512s # GCancellable *cancellable, 512s # GError **error); 512s # 512s # 512s # 512s # /* ---- */ 512s # 512s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 512s # 512s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 512s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 512s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 512s # 512s # struct _OrgProjectUsefulInterfaceProxy 512s # { 512s # /*< private >*/ 512s # GDBusProxy parent_instance; 512s # OrgProjectUsefulInterfaceProxyPrivate *priv; 512s # }; 512s # 512s # struct _OrgProjectUsefulInterfaceProxyClass 512s # { 512s # GDBusProxyClass parent_class; 512s # }; 512s # 512s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 512s # 512s # #if GLIB_CHECK_VERSION(2, 44, 0) 512s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 512s # #endif 512s # 512s # void org_project_useful_interface_proxy_new ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 512s # GAsyncResult *res, 512s # GError **error); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error); 512s # 512s # void org_project_useful_interface_proxy_new_for_bus ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 512s # GAsyncResult *res, 512s # GError **error); 512s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error); 512s # 512s # 512s # /* ---- */ 512s # 512s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 512s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 512s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 512s # 512s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 512s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 512s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 512s # 512s # struct _OrgProjectUsefulInterfaceSkeleton 512s # { 512s # /*< private >*/ 512s # GDBusInterfaceSkeleton parent_instance; 512s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 512s # }; 512s # 512s # struct _OrgProjectUsefulInterfaceSkeletonClass 512s # { 512s # GDBusInterfaceSkeletonClass parent_class; 512s # }; 512s # 512s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 512s # 512s # #if GLIB_CHECK_VERSION(2, 44, 0) 512s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 512s # #endif 512s # 512s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 512s # 512s # 512s # G_END_DECLS 512s # 512s # #endif /* __STDOUT__ */ 512s ok 2 __main__.TestCodegen.test_dbus_types 512s # tmpdir: /tmp/tmpbtczdijx 512s # codegen: /usr/bin/gdbus-codegen 512s # /tmp/tmpbtczdijx/tmpplnohr7u.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmpplnohr7u.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmpn7piv2dn.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmpn7piv2dn.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmpl_8bx7uc.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmpl_8bx7uc.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmp85y8h7go.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmp85y8h7go.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmpu1v512_1.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmpu1v512_1.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmperh0glm_.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmperh0glm_.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmp4ovvjm0j.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmp4ovvjm0j.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmpzoett8k2.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmpzoett8k2.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmppddaxljn.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmppddaxljn.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmp98zu9q7w.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmp98zu9q7w.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmp7ee_d0s5.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmp7ee_d0s5.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmpd6_dtv2y.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmpd6_dtv2y.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmputlvxdmj.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmputlvxdmj.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # /tmp/tmpbtczdijx/tmp1b9akxyp.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmp1b9akxyp.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: /* 512s # * This file is generated by gdbus-codegen, do not modify it. 512s # * 512s # * The license of this code is the same as for the D-Bus interface description 512s # * it was derived from. Note that it links to GLib, so must comply with the 512s # * LGPL linking clauses. 512s # */ 512s # 512s # #ifdef HAVE_CONFIG_H 512s # # include "config.h" 512s # #endif 512s # 512s # #include 512s # #ifdef G_OS_UNIX 512s # # include 512s # #endif 512s # 512s # #ifdef G_ENABLE_DEBUG 512s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 512s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 512s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 512s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 512s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 512s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 512s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 512s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 512s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 512s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 512s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 512s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 512s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 512s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 512s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 512s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 512s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 512s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 512s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 512s # #else /* !G_ENABLE_DEBUG */ 512s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 512s # * Do not access GValues directly in your code. Instead, use the 512s # * g_value_get_*() functions 512s # */ 512s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 512s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 512s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 512s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 512s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 512s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 512s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 512s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 512s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 512s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 512s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 512s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 512s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 512s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 512s # #endif /* !G_ENABLE_DEBUG */ 512s # 512s # typedef struct 512s # { 512s # GDBusArgInfo parent_struct; 512s # gboolean use_gvariant; 512s # } _ExtendedGDBusArgInfo; 512s # 512s # typedef struct 512s # { 512s # GDBusMethodInfo parent_struct; 512s # const gchar *signal_name; 512s # gboolean pass_fdlist; 512s # } _ExtendedGDBusMethodInfo; 512s # 512s # typedef struct 512s # { 512s # GDBusSignalInfo parent_struct; 512s # const gchar *signal_name; 512s # } _ExtendedGDBusSignalInfo; 512s # 512s # typedef struct 512s # { 512s # GDBusPropertyInfo parent_struct; 512s # const gchar *hyphen_name; 512s # guint use_gvariant : 1; 512s # guint emits_changed_signal : 1; 512s # } _ExtendedGDBusPropertyInfo; 512s # 512s # typedef struct 512s # { 512s # GDBusInterfaceInfo parent_struct; 512s # const gchar *hyphen_name; 512s # } _ExtendedGDBusInterfaceInfo; 512s # 512s # typedef struct 512s # { 512s # const _ExtendedGDBusPropertyInfo *info; 512s # guint prop_id; 512s # GValue orig_value; /* the value before the change */ 512s # } ChangedProperty; 512s # 512s # static void 512s # _changed_property_free (ChangedProperty *data) 512s # { 512s # g_value_unset (&data->orig_value); 512s # g_free (data); 512s # } 512s # 512s # static gboolean 512s # _g_strv_equal0 (gchar **a, gchar **b) 512s # { 512s # gboolean ret = FALSE; 512s # guint n; 512s # if (a == NULL && b == NULL) 512s # { 512s # ret = TRUE; 512s # goto out; 512s # } 512s # if (a == NULL || b == NULL) 512s # goto out; 512s # if (g_strv_length (a) != g_strv_length (b)) 512s # goto out; 512s # for (n = 0; a[n] != NULL; n++) 512s # if (g_strcmp0 (a[n], b[n]) != 0) 512s # goto out; 512s # ret = TRUE; 512s # out: 512s # return ret; 512s # } 512s # 512s # static gboolean 512s # _g_variant_equal0 (GVariant *a, GVariant *b) 512s # { 512s # gboolean ret = FALSE; 512s # if (a == NULL && b == NULL) 512s # { 512s # ret = TRUE; 512s # goto out; 512s # } 512s # if (a == NULL || b == NULL) 512s # goto out; 512s # ret = g_variant_equal (a, b); 512s # out: 512s # return ret; 512s # } 512s # 512s # G_GNUC_UNUSED static gboolean 512s # _g_value_equal (const GValue *a, const GValue *b) 512s # { 512s # gboolean ret = FALSE; 512s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 512s # switch (G_VALUE_TYPE (a)) 512s # { 512s # case G_TYPE_BOOLEAN: 512s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 512s # break; 512s # case G_TYPE_UCHAR: 512s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 512s # break; 512s # case G_TYPE_INT: 512s # ret = (g_value_get_int (a) == g_value_get_int (b)); 512s # break; 512s # case G_TYPE_UINT: 512s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 512s # break; 512s # case G_TYPE_INT64: 512s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 512s # break; 512s # case G_TYPE_UINT64: 512s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 512s # break; 512s # case G_TYPE_DOUBLE: 512s # { 512s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 512s # gdouble da = g_value_get_double (a); 512s # gdouble db = g_value_get_double (b); 512s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 512s # } 512s # break; 512s # case G_TYPE_STRING: 512s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 512s # break; 512s # case G_TYPE_VARIANT: 512s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 512s # break; 512s # default: 512s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 512s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 512s # else 512s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 512s # break; 512s # } 512s # return ret; 512s # } 512s # 512s # /* ------------------------------------------------------------------------ 512s # * Code for interface GoodTypes 512s # * ------------------------------------------------------------------------ 512s # */ 512s # 512s # /** 512s # * SECTION:GoodTypes 512s # * @title: GoodTypes 512s # * @short_description: Generated C code for the GoodTypes D-Bus interface 512s # * 512s # * This section contains code for working with the GoodTypes D-Bus interface in C. 512s # */ 512s # 512s # /* ---- Introspection data for GoodTypes ---- */ 512s # 512s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 512s # { 512s # { 512s # -1, 512s # (gchar *) "GoodPropertyType", 512s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 512s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 512s # NULL 512s # }, 512s # "good-property-type", 512s # FALSE, 512s # TRUE 512s # }; 512s # 512s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 512s # { 512s # &_good_types_property_info_good_property_type.parent_struct, 512s # NULL 512s # }; 512s # 512s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 512s # { 512s # { 512s # -1, 512s # (gchar *) "GoodTypes", 512s # NULL, 512s # NULL, 512s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 512s # NULL 512s # }, 512s # "good-types", 512s # }; 512s # 512s # 512s # /** 512s # * good_types_interface_info: 512s # * 512s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 512s # * 512s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 512s # */ 512s # GDBusInterfaceInfo * 512s # good_types_interface_info (void) 512s # { 512s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 512s # } 512s # 512s # /** 512s # * good_types_override_properties: 512s # * @klass: The class structure for a #GObject derived class. 512s # * @property_id_begin: The property id to assign to the first overridden property. 512s # * 512s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 512s # * The properties are overridden in the order they are defined. 512s # * 512s # * Returns: The last property id. 512s # */ 512s # guint 512s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 512s # { 512s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 512s # return property_id_begin - 1; 512s # } 512s # 512s # 512s # 512s # /** 512s # * GoodTypes: 512s # * 512s # * Abstract interface type for the D-Bus interface GoodTypes. 512s # */ 512s # 512s # /** 512s # * GoodTypesIface: 512s # * @parent_iface: The parent interface. 512s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 512s # * 512s # * Virtual table for the D-Bus interface GoodTypes. 512s # */ 512s # 512s # typedef GoodTypesIface GoodTypesInterface; 512s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 512s # 512s # static void 512s # good_types_default_init (GoodTypesIface *iface) 512s # { 512s # /* GObject properties for D-Bus properties: */ 512s # /** 512s # * GoodTypes:good-property-type: 512s # * 512s # * Represents the D-Bus property "GoodPropertyType". 512s # * 512s # * 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. 512s # */ 512s # g_object_interface_install_property (iface, 512s # 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)); 512s # } 512s # 512s # /** 512s # * good_types_get_good_property_type: (skip) 512s # * @object: A GoodTypes. 512s # * 512s # * Gets the value of the "GoodPropertyType" D-Bus property. 512s # * 512s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 512s # * 512s # * 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. 512s # * 512s # * 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. 512s # */ 512s # GVariant * 512s # good_types_get_good_property_type (GoodTypes *object) 512s # { 512s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 512s # 512s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 512s # } 512s # 512s # /** 512s # * good_types_dup_good_property_type: (skip) 512s # * @object: A GoodTypes. 512s # * 512s # * Gets a copy of the "GoodPropertyType" D-Bus property. 512s # * 512s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 512s # * 512s # * 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(). 512s # */ 512s # GVariant * 512s # good_types_dup_good_property_type (GoodTypes *object) 512s # { 512s # GVariant *value; 512s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 512s # return value; 512s # } 512s # 512s # /** 512s # * good_types_set_good_property_type: (skip) 512s # * @object: A GoodTypes. 512s # * @value: The value to set. 512s # * 512s # * Sets the "GoodPropertyType" D-Bus property to @value. 512s # * 512s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 512s # */ 512s # void 512s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 512s # { 512s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 512s # } 512s # 512s # /* ------------------------------------------------------------------------ */ 512s # 512s # /** 512s # * GoodTypesProxy: 512s # * 512s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 512s # */ 512s # 512s # /** 512s # * GoodTypesProxyClass: 512s # * @parent_class: The parent class. 512s # * 512s # * Class structure for GoodTypesProxy. 512s # */ 512s # 512s # struct _GoodTypesProxyPrivate 512s # { 512s # GData *qdata; 512s # }; 512s # 512s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 512s # 512s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 512s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 512s # G_ADD_PRIVATE (GoodTypesProxy) 512s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 512s # 512s # #else 512s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 512s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 512s # 512s # #endif 512s # static void 512s # good_types_proxy_finalize (GObject *object) 512s # { 512s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 512s # g_datalist_clear (&proxy->priv->qdata); 512s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 512s # } 512s # 512s # static void 512s # good_types_proxy_get_property (GObject *object, 512s # guint prop_id, 512s # GValue *value, 512s # GParamSpec *pspec G_GNUC_UNUSED) 512s # { 512s # const _ExtendedGDBusPropertyInfo *info; 512s # GVariant *variant; 512s # g_assert (prop_id != 0 && prop_id - 1 < 1); 512s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 512s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 512s # if (info->use_gvariant) 512s # { 512s # g_value_set_variant (value, variant); 512s # } 512s # else 512s # { 512s # if (variant != NULL) 512s # g_dbus_gvariant_to_gvalue (variant, value); 512s # } 512s # if (variant != NULL) 512s # g_variant_unref (variant); 512s # } 512s # 512s # static void 512s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 512s # GAsyncResult *res, 512s # gpointer user_data) 512s # { 512s # const _ExtendedGDBusPropertyInfo *info = user_data; 512s # GError *error; 512s # GVariant *_ret; 512s # error = NULL; 512s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 512s # if (!_ret) 512s # { 512s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 512s # info->parent_struct.name, 512s # error->message, g_quark_to_string (error->domain), error->code); 512s # g_error_free (error); 512s # } 512s # else 512s # { 512s # g_variant_unref (_ret); 512s # } 512s # } 512s # 512s # static void 512s # good_types_proxy_set_property (GObject *object, 512s # guint prop_id, 512s # const GValue *value, 512s # GParamSpec *pspec G_GNUC_UNUSED) 512s # { 512s # const _ExtendedGDBusPropertyInfo *info; 512s # GVariant *variant; 512s # g_assert (prop_id != 0 && prop_id - 1 < 1); 512s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 512s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 512s # g_dbus_proxy_call (G_DBUS_PROXY (object), 512s # "org.freedesktop.DBus.Properties.Set", 512s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 512s # G_DBUS_CALL_FLAGS_NONE, 512s # -1, 512s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 512s # g_variant_unref (variant); 512s # } 512s # 512s # static void 512s # good_types_proxy_g_signal (GDBusProxy *proxy, 512s # const gchar *sender_name G_GNUC_UNUSED, 512s # const gchar *signal_name, 512s # GVariant *parameters) 512s # { 512s # _ExtendedGDBusSignalInfo *info; 512s # GVariantIter iter; 512s # GVariant *child; 512s # GValue *paramv; 512s # gsize num_params; 512s # gsize n; 512s # guint signal_id; 512s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 512s # if (info == NULL) 512s # return; 512s # num_params = g_variant_n_children (parameters); 512s # paramv = g_new0 (GValue, num_params + 1); 512s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 512s # g_value_set_object (¶mv[0], proxy); 512s # g_variant_iter_init (&iter, parameters); 512s # n = 1; 512s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 512s # { 512s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 512s # if (arg_info->use_gvariant) 512s # { 512s # g_value_init (¶mv[n], G_TYPE_VARIANT); 512s # g_value_set_variant (¶mv[n], child); 512s # n++; 512s # } 512s # else 512s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 512s # g_variant_unref (child); 512s # } 512s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 512s # g_signal_emitv (paramv, signal_id, 0, NULL); 512s # for (n = 0; n < num_params + 1; n++) 512s # g_value_unset (¶mv[n]); 512s # g_free (paramv); 512s # } 512s # 512s # static void 512s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 512s # GVariant *changed_properties, 512s # const gchar *const *invalidated_properties) 512s # { 512s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 512s # guint n; 512s # const gchar *key; 512s # GVariantIter *iter; 512s # _ExtendedGDBusPropertyInfo *info; 512s # g_variant_get (changed_properties, "a{sv}", &iter); 512s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 512s # { 512s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 512s # g_datalist_remove_data (&proxy->priv->qdata, key); 512s # if (info != NULL) 512s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 512s # } 512s # g_variant_iter_free (iter); 512s # for (n = 0; invalidated_properties[n] != NULL; n++) 512s # { 512s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 512s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 512s # if (info != NULL) 512s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 512s # } 512s # } 512s # 512s # static GVariant * 512s # good_types_proxy_get_good_property_type (GoodTypes *object) 512s # { 512s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 512s # GVariant *variant; 512s # GVariant *value = NULL; 512s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 512s # value = variant; 512s # if (variant != NULL) 512s # g_variant_unref (variant); 512s # return value; 512s # } 512s # 512s # static void 512s # good_types_proxy_init (GoodTypesProxy *proxy) 512s # { 512s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 512s # proxy->priv = good_types_proxy_get_instance_private (proxy); 512s # #else 512s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 512s # #endif 512s # 512s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 512s # } 512s # 512s # static void 512s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 512s # { 512s # GObjectClass *gobject_class; 512s # GDBusProxyClass *proxy_class; 512s # 512s # gobject_class = G_OBJECT_CLASS (klass); 512s # gobject_class->finalize = good_types_proxy_finalize; 512s # gobject_class->get_property = good_types_proxy_get_property; 512s # gobject_class->set_property = good_types_proxy_set_property; 512s # 512s # proxy_class = G_DBUS_PROXY_CLASS (klass); 512s # proxy_class->g_signal = good_types_proxy_g_signal; 512s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 512s # 512s # good_types_override_properties (gobject_class, 1); 512s # 512s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 512s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 512s # #endif 512s # } 512s # 512s # static void 512s # good_types_proxy_iface_init (GoodTypesIface *iface) 512s # { 512s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 512s # } 512s # 512s # /** 512s # * good_types_proxy_new: 512s # * @connection: A #GDBusConnection. 512s # * @flags: Flags from the #GDBusProxyFlags enumeration. 512s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 512s # * @object_path: An object path. 512s # * @cancellable: (nullable): A #GCancellable or %NULL. 512s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 512s # * @user_data: User data to pass to @callback. 512s # * 512s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 512s # * 512s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 512s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 512s # * 512s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 512s # */ 512s # void 512s # good_types_proxy_new ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data) 512s # { 512s # 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); 512s # } 512s # 512s # /** 512s # * good_types_proxy_new_finish: 512s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 512s # * @error: Return location for error or %NULL 512s # * 512s # * Finishes an operation started with good_types_proxy_new(). 512s # * 512s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 512s # */ 512s # GoodTypes * 512s # good_types_proxy_new_finish ( 512s # GAsyncResult *res, 512s # GError **error) 512s # { 512s # GObject *ret; 512s # GObject *source_object; 512s # source_object = g_async_result_get_source_object (res); 512s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 512s # g_object_unref (source_object); 512s # if (ret != NULL) 512s # return GOOD_TYPES (ret); 512s # else 512s # return NULL; 512s # } 512s # 512s # /** 512s # * good_types_proxy_new_sync: 512s # * @connection: A #GDBusConnection. 512s # * @flags: Flags from the #GDBusProxyFlags enumeration. 512s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 512s # * @object_path: An object path. 512s # * @cancellable: (nullable): A #GCancellable or %NULL. 512s # * @error: Return location for error or %NULL 512s # * 512s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 512s # * 512s # * The calling thread is blocked until a reply is received. 512s # * 512s # * See good_types_proxy_new() for the asynchronous version of this constructor. 512s # * 512s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 512s # */ 512s # GoodTypes * 512s # good_types_proxy_new_sync ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error) 512s # { 512s # GInitable *ret; 512s # 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); 512s # if (ret != NULL) 512s # return GOOD_TYPES (ret); 512s # else 512s # return NULL; 512s # } 512s # 512s # 512s # /** 512s # * good_types_proxy_new_for_bus: 512s # * @bus_type: A #GBusType. 512s # * @flags: Flags from the #GDBusProxyFlags enumeration. 512s # * @name: A bus name (well-known or unique). 512s # * @object_path: An object path. 512s # * @cancellable: (nullable): A #GCancellable or %NULL. 512s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 512s # * @user_data: User data to pass to @callback. 512s # * 512s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 512s # * 512s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 512s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 512s # * 512s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 512s # */ 512s # void 512s # good_types_proxy_new_for_bus ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data) 512s # { 512s # 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); 512s # } 512s # 512s # /** 512s # * good_types_proxy_new_for_bus_finish: 512s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 512s # * @error: Return location for error or %NULL 512s # * 512s # * Finishes an operation started with good_types_proxy_new_for_bus(). 512s # * 512s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 512s # */ 512s # GoodTypes * 512s # good_types_proxy_new_for_bus_finish ( 512s # GAsyncResult *res, 512s # GError **error) 512s # { 512s # GObject *ret; 512s # GObject *source_object; 512s # source_object = g_async_result_get_source_object (res); 512s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 512s # g_object_unref (source_object); 512s # if (ret != NULL) 512s # return GOOD_TYPES (ret); 512s # else 512s # return NULL; 512s # } 512s # 512s # /** 512s # * good_types_proxy_new_for_bus_sync: 512s # * @bus_type: A #GBusType. 512s # * @flags: Flags from the #GDBusProxyFlags enumeration. 512s # * @name: A bus name (well-known or unique). 512s # * @object_path: An object path. 512s # * @cancellable: (nullable): A #GCancellable or %NULL. 512s # * @error: Return location for error or %NULL 512s # * 512s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 512s # * 512s # * The calling thread is blocked until a reply is received. 512s # * 512s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 512s # * 512s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 512s # */ 512s # GoodTypes * 512s # good_types_proxy_new_for_bus_sync ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error) 512s # { 512s # GInitable *ret; 512s # 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); 512s # if (ret != NULL) 512s # return GOOD_TYPES (ret); 512s # else 512s # return NULL; 512s # } 512s # 512s # 512s # /* ------------------------------------------------------------------------ */ 512s # 512s # /** 512s # * GoodTypesSkeleton: 512s # * 512s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 512s # */ 512s # 512s # /** 512s # * GoodTypesSkeletonClass: 512s # * @parent_class: The parent class. 512s # * 512s # * Class structure for GoodTypesSkeleton. 512s # */ 512s # 512s # struct _GoodTypesSkeletonPrivate 512s # { 512s # GValue *properties; 512s # GList *changed_properties; 512s # GSource *changed_properties_idle_source; 512s # GMainContext *context; 512s # GMutex lock; 512s # }; 512s # 512s # static void 512s # _good_types_skeleton_handle_method_call ( 512s # GDBusConnection *connection G_GNUC_UNUSED, 512s # const gchar *sender G_GNUC_UNUSED, 512s # const gchar *object_path G_GNUC_UNUSED, 512s # const gchar *interface_name, 512s # const gchar *method_name, 512s # GVariant *parameters, 512s # GDBusMethodInvocation *invocation, 512s # gpointer user_data) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 512s # _ExtendedGDBusMethodInfo *info; 512s # GVariantIter iter; 512s # GVariant *child; 512s # GValue *paramv; 512s # gsize num_params; 512s # guint num_extra; 512s # gsize n; 512s # guint signal_id; 512s # GValue return_value = G_VALUE_INIT; 512s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 512s # g_assert (info != NULL); 512s # num_params = g_variant_n_children (parameters); 512s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 512s # n = 0; 512s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 512s # g_value_set_object (¶mv[n++], skeleton); 512s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 512s # g_value_set_object (¶mv[n++], invocation); 512s # if (info->pass_fdlist) 512s # { 512s # #ifdef G_OS_UNIX 512s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 512s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 512s # #else 512s # g_assert_not_reached (); 512s # #endif 512s # } 512s # g_variant_iter_init (&iter, parameters); 512s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 512s # { 512s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 512s # if (arg_info->use_gvariant) 512s # { 512s # g_value_init (¶mv[n], G_TYPE_VARIANT); 512s # g_value_set_variant (¶mv[n], child); 512s # n++; 512s # } 512s # else 512s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 512s # g_variant_unref (child); 512s # } 512s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 512s # g_value_init (&return_value, G_TYPE_BOOLEAN); 512s # g_signal_emitv (paramv, signal_id, 0, &return_value); 512s # if (!g_value_get_boolean (&return_value)) 512s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 512s # g_value_unset (&return_value); 512s # for (n = 0; n < num_params + num_extra; n++) 512s # g_value_unset (¶mv[n]); 512s # g_free (paramv); 512s # } 512s # 512s # static GVariant * 512s # _good_types_skeleton_handle_get_property ( 512s # GDBusConnection *connection G_GNUC_UNUSED, 512s # const gchar *sender G_GNUC_UNUSED, 512s # const gchar *object_path G_GNUC_UNUSED, 512s # const gchar *interface_name G_GNUC_UNUSED, 512s # const gchar *property_name, 512s # GError **error, 512s # gpointer user_data) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 512s # GValue value = G_VALUE_INIT; 512s # GParamSpec *pspec; 512s # _ExtendedGDBusPropertyInfo *info; 512s # GVariant *ret; 512s # ret = NULL; 512s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 512s # g_assert (info != NULL); 512s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 512s # if (pspec == NULL) 512s # { 512s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 512s # } 512s # else 512s # { 512s # g_value_init (&value, pspec->value_type); 512s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 512s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 512s # g_value_unset (&value); 512s # } 512s # return ret; 512s # } 512s # 512s # static gboolean 512s # _good_types_skeleton_handle_set_property ( 512s # GDBusConnection *connection G_GNUC_UNUSED, 512s # const gchar *sender G_GNUC_UNUSED, 512s # const gchar *object_path G_GNUC_UNUSED, 512s # const gchar *interface_name G_GNUC_UNUSED, 512s # const gchar *property_name, 512s # GVariant *variant, 512s # GError **error, 512s # gpointer user_data) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 512s # GValue value = G_VALUE_INIT; 512s # GParamSpec *pspec; 512s # _ExtendedGDBusPropertyInfo *info; 512s # gboolean ret; 512s # ret = FALSE; 512s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 512s # g_assert (info != NULL); 512s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 512s # if (pspec == NULL) 512s # { 512s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 512s # } 512s # else 512s # { 512s # if (info->use_gvariant) 512s # g_value_set_variant (&value, variant); 512s # else 512s # g_dbus_gvariant_to_gvalue (variant, &value); 512s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 512s # g_value_unset (&value); 512s # ret = TRUE; 512s # } 512s # return ret; 512s # } 512s # 512s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 512s # { 512s # _good_types_skeleton_handle_method_call, 512s # _good_types_skeleton_handle_get_property, 512s # _good_types_skeleton_handle_set_property, 512s # {NULL} 512s # }; 512s # 512s # static GDBusInterfaceInfo * 512s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 512s # { 512s # return good_types_interface_info (); 512s # } 512s # 512s # static GDBusInterfaceVTable * 512s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 512s # { 512s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 512s # } 512s # 512s # static GVariant * 512s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 512s # 512s # GVariantBuilder builder; 512s # guint n; 512s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 512s # if (_good_types_interface_info.parent_struct.properties == NULL) 512s # goto out; 512s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 512s # { 512s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 512s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 512s # { 512s # GVariant *value; 512s # 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); 512s # if (value != NULL) 512s # { 512s # g_variant_take_ref (value); 512s # g_variant_builder_add (&builder, "{sv}", info->name, value); 512s # g_variant_unref (value); 512s # } 512s # } 512s # } 512s # out: 512s # return g_variant_builder_end (&builder); 512s # } 512s # 512s # static gboolean _good_types_emit_changed (gpointer user_data); 512s # 512s # static void 512s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 512s # gboolean emit_changed = FALSE; 512s # 512s # g_mutex_lock (&skeleton->priv->lock); 512s # if (skeleton->priv->changed_properties_idle_source != NULL) 512s # { 512s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 512s # skeleton->priv->changed_properties_idle_source = NULL; 512s # emit_changed = TRUE; 512s # } 512s # g_mutex_unlock (&skeleton->priv->lock); 512s # 512s # if (emit_changed) 512s # _good_types_emit_changed (skeleton); 512s # } 512s # 512s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 512s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 512s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 512s # G_ADD_PRIVATE (GoodTypesSkeleton) 512s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 512s # 512s # #else 512s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 512s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 512s # 512s # #endif 512s # static void 512s # good_types_skeleton_finalize (GObject *object) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 512s # guint n; 512s # for (n = 0; n < 1; n++) 512s # g_value_unset (&skeleton->priv->properties[n]); 512s # g_free (skeleton->priv->properties); 512s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 512s # if (skeleton->priv->changed_properties_idle_source != NULL) 512s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 512s # g_main_context_unref (skeleton->priv->context); 512s # g_mutex_clear (&skeleton->priv->lock); 512s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 512s # } 512s # 512s # static void 512s # good_types_skeleton_get_property (GObject *object, 512s # guint prop_id, 512s # GValue *value, 512s # GParamSpec *pspec G_GNUC_UNUSED) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 512s # g_assert (prop_id != 0 && prop_id - 1 < 1); 512s # g_mutex_lock (&skeleton->priv->lock); 512s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 512s # g_mutex_unlock (&skeleton->priv->lock); 512s # } 512s # 512s # static gboolean 512s # _good_types_emit_changed (gpointer user_data) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 512s # GList *l; 512s # GVariantBuilder builder; 512s # GVariantBuilder invalidated_builder; 512s # guint num_changes; 512s # 512s # g_mutex_lock (&skeleton->priv->lock); 512s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 512s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 512s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 512s # { 512s # ChangedProperty *cp = l->data; 512s # GVariant *variant; 512s # const GValue *cur_value; 512s # 512s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 512s # if (!_g_value_equal (cur_value, &cp->orig_value)) 512s # { 512s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 512s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 512s # g_variant_unref (variant); 512s # num_changes++; 512s # } 512s # } 512s # if (num_changes > 0) 512s # { 512s # GList *connections, *ll; 512s # GVariant *signal_variant; 512s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 512s # &builder, &invalidated_builder)); 512s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 512s # for (ll = connections; ll != NULL; ll = ll->next) 512s # { 512s # GDBusConnection *connection = ll->data; 512s # 512s # g_dbus_connection_emit_signal (connection, 512s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 512s # "org.freedesktop.DBus.Properties", 512s # "PropertiesChanged", 512s # signal_variant, 512s # NULL); 512s # } 512s # g_variant_unref (signal_variant); 512s # g_list_free_full (connections, g_object_unref); 512s # } 512s # else 512s # { 512s # g_variant_builder_clear (&builder); 512s # g_variant_builder_clear (&invalidated_builder); 512s # } 512s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 512s # skeleton->priv->changed_properties = NULL; 512s # skeleton->priv->changed_properties_idle_source = NULL; 512s # g_mutex_unlock (&skeleton->priv->lock); 512s # return FALSE; 512s # } 512s # 512s # static void 512s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 512s # { 512s # ChangedProperty *cp; 512s # GList *l; 512s # cp = NULL; 512s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 512s # { 512s # ChangedProperty *i_cp = l->data; 512s # if (i_cp->info == info) 512s # { 512s # cp = i_cp; 512s # break; 512s # } 512s # } 512s # if (cp == NULL) 512s # { 512s # cp = g_new0 (ChangedProperty, 1); 512s # cp->prop_id = prop_id; 512s # cp->info = info; 512s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 512s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 512s # g_value_copy (orig_value, &cp->orig_value); 512s # } 512s # } 512s # 512s # static void 512s # good_types_skeleton_notify (GObject *object, 512s # GParamSpec *pspec G_GNUC_UNUSED) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 512s # g_mutex_lock (&skeleton->priv->lock); 512s # if (skeleton->priv->changed_properties != NULL && 512s # skeleton->priv->changed_properties_idle_source == NULL) 512s # { 512s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 512s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 512s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 512s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 512s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 512s # g_source_unref (skeleton->priv->changed_properties_idle_source); 512s # } 512s # g_mutex_unlock (&skeleton->priv->lock); 512s # } 512s # 512s # static void 512s # good_types_skeleton_set_property (GObject *object, 512s # guint prop_id, 512s # const GValue *value, 512s # GParamSpec *pspec) 512s # { 512s # const _ExtendedGDBusPropertyInfo *info; 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 512s # g_assert (prop_id != 0 && prop_id - 1 < 1); 512s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 512s # g_mutex_lock (&skeleton->priv->lock); 512s # g_object_freeze_notify (object); 512s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 512s # { 512s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 512s # info->emits_changed_signal) 512s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 512s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 512s # g_object_notify_by_pspec (object, pspec); 512s # } 512s # g_mutex_unlock (&skeleton->priv->lock); 512s # g_object_thaw_notify (object); 512s # } 512s # 512s # static void 512s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 512s # { 512s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 512s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 512s # #else 512s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 512s # #endif 512s # 512s # g_mutex_init (&skeleton->priv->lock); 512s # skeleton->priv->context = g_main_context_ref_thread_default (); 512s # skeleton->priv->properties = g_new0 (GValue, 1); 512s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 512s # } 512s # 512s # static GVariant * 512s # good_types_skeleton_get_good_property_type (GoodTypes *object) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 512s # GVariant *value; 512s # g_mutex_lock (&skeleton->priv->lock); 512s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 512s # g_mutex_unlock (&skeleton->priv->lock); 512s # return value; 512s # } 512s # 512s # static void 512s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 512s # { 512s # GObjectClass *gobject_class; 512s # GDBusInterfaceSkeletonClass *skeleton_class; 512s # 512s # gobject_class = G_OBJECT_CLASS (klass); 512s # gobject_class->finalize = good_types_skeleton_finalize; 512s # gobject_class->get_property = good_types_skeleton_get_property; 512s # gobject_class->set_property = good_types_skeleton_set_property; 512s # gobject_class->notify = good_types_skeleton_notify; 512s # 512s # 512s # good_types_override_properties (gobject_class, 1); 512s # 512s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 512s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 512s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 512s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 512s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 512s # 512s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 512s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 512s # #endif 512s # } 512s # 512s # static void 512s # good_types_skeleton_iface_init (GoodTypesIface *iface) 512s # { 512s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 512s # } 512s # 512s # /** 512s # * good_types_skeleton_new: 512s # * 512s # * Creates a skeleton object for the D-Bus interface GoodTypes. 512s # * 512s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 512s # */ 512s # GoodTypes * 512s # good_types_skeleton_new (void) 512s # { 512s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 512s # } 512s # /tmp/tmpbtczdijx/tmpkn_qs0kt.xml: 512s # 512s # 512s # 512s # 512s # 512s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmpkn_qs0kt.xml', '--output', '-', '--body'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: /* 512s # * This file is generated by gdbus-codegen, do not modify it. 512s # * 512s # * The license of this code is the same as for the D-Bus interface description 512s # * it was derived from. Note that it links to GLib, so must comply with the 512s # * LGPL linking clauses. 512s # */ 512s # 512s # #ifdef HAVE_CONFIG_H 512s # # include "config.h" 512s # #endif 512s # 512s # #include 512s # #ifdef G_OS_UNIX 512s # # include 512s # #endif 512s # 512s # #ifdef G_ENABLE_DEBUG 512s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 512s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 512s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 512s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 512s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 512s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 512s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 512s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 512s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 512s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 512s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 512s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 512s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 512s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 512s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 512s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 512s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 512s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 512s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 512s # #else /* !G_ENABLE_DEBUG */ 512s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 512s # * Do not access GValues directly in your code. Instead, use the 512s # * g_value_get_*() functions 512s # */ 512s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 512s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 512s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 512s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 512s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 512s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 512s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 512s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 512s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 512s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 512s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 512s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 512s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 512s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 512s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 512s # #endif /* !G_ENABLE_DEBUG */ 512s # 512s # typedef struct 512s # { 512s # GDBusArgInfo parent_struct; 512s # gboolean use_gvariant; 512s # } _ExtendedGDBusArgInfo; 512s # 512s # typedef struct 512s # { 512s # GDBusMethodInfo parent_struct; 512s # const gchar *signal_name; 512s # gboolean pass_fdlist; 512s # } _ExtendedGDBusMethodInfo; 512s # 512s # typedef struct 512s # { 512s # GDBusSignalInfo parent_struct; 512s # const gchar *signal_name; 512s # } _ExtendedGDBusSignalInfo; 512s # 512s # typedef struct 512s # { 512s # GDBusPropertyInfo parent_struct; 512s # const gchar *hyphen_name; 512s # guint use_gvariant : 1; 512s # guint emits_changed_signal : 1; 512s # } _ExtendedGDBusPropertyInfo; 512s # 512s # typedef struct 512s # { 512s # GDBusInterfaceInfo parent_struct; 512s # const gchar *hyphen_name; 512s # } _ExtendedGDBusInterfaceInfo; 512s # 512s # typedef struct 512s # { 512s # const _ExtendedGDBusPropertyInfo *info; 512s # guint prop_id; 512s # GValue orig_value; /* the value before the change */ 512s # } ChangedProperty; 512s # 512s # static void 512s # _changed_property_free (ChangedProperty *data) 512s # { 512s # g_value_unset (&data->orig_value); 512s # g_free (data); 512s # } 512s # 512s # static gboolean 512s # _g_strv_equal0 (gchar **a, gchar **b) 512s # { 512s # gboolean ret = FALSE; 512s # guint n; 512s # if (a == NULL && b == NULL) 512s # { 512s # ret = TRUE; 512s # goto out; 512s # } 512s # if (a == NULL || b == NULL) 512s # goto out; 512s # if (g_strv_length (a) != g_strv_length (b)) 512s # goto out; 512s # for (n = 0; a[n] != NULL; n++) 512s # if (g_strcmp0 (a[n], b[n]) != 0) 512s # goto out; 512s # ret = TRUE; 512s # out: 512s # return ret; 512s # } 512s # 512s # static gboolean 512s # _g_variant_equal0 (GVariant *a, GVariant *b) 512s # { 512s # gboolean ret = FALSE; 512s # if (a == NULL && b == NULL) 512s # { 512s # ret = TRUE; 512s # goto out; 512s # } 512s # if (a == NULL || b == NULL) 512s # goto out; 512s # ret = g_variant_equal (a, b); 512s # out: 512s # return ret; 512s # } 512s # 512s # G_GNUC_UNUSED static gboolean 512s # _g_value_equal (const GValue *a, const GValue *b) 512s # { 512s # gboolean ret = FALSE; 512s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 512s # switch (G_VALUE_TYPE (a)) 512s # { 512s # case G_TYPE_BOOLEAN: 512s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 512s # break; 512s # case G_TYPE_UCHAR: 512s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 512s # break; 512s # case G_TYPE_INT: 512s # ret = (g_value_get_int (a) == g_value_get_int (b)); 512s # break; 512s # case G_TYPE_UINT: 512s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 512s # break; 512s # case G_TYPE_INT64: 512s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 512s # break; 512s # case G_TYPE_UINT64: 512s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 512s # break; 512s # case G_TYPE_DOUBLE: 512s # { 512s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 512s # gdouble da = g_value_get_double (a); 512s # gdouble db = g_value_get_double (b); 512s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 512s # } 512s # break; 512s # case G_TYPE_STRING: 512s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 512s # break; 512s # case G_TYPE_VARIANT: 512s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 512s # break; 512s # default: 512s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 512s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 512s # else 512s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 512s # break; 512s # } 512s # return ret; 512s # } 512s # 512s # /* ------------------------------------------------------------------------ 512s # * Code for interface GoodTypes 512s # * ------------------------------------------------------------------------ 512s # */ 512s # 512s # /** 512s # * SECTION:GoodTypes 512s # * @title: GoodTypes 512s # * @short_description: Generated C code for the GoodTypes D-Bus interface 512s # * 512s # * This section contains code for working with the GoodTypes D-Bus interface in C. 512s # */ 512s # 512s # /* ---- Introspection data for GoodTypes ---- */ 512s # 512s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 512s # { 512s # { 512s # -1, 512s # (gchar *) "GoodPropertyType", 512s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 512s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 512s # NULL 512s # }, 512s # "good-property-type", 512s # FALSE, 512s # TRUE 512s # }; 512s # 512s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 512s # { 512s # &_good_types_property_info_good_property_type.parent_struct, 512s # NULL 512s # }; 512s # 512s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 512s # { 512s # { 512s # -1, 512s # (gchar *) "GoodTypes", 512s # NULL, 512s # NULL, 512s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 512s # NULL 512s # }, 512s # "good-types", 512s # }; 512s # 512s # 512s # /** 512s # * good_types_interface_info: 512s # * 512s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 512s # * 512s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 512s # */ 512s # GDBusInterfaceInfo * 512s # good_types_interface_info (void) 512s # { 512s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 512s # } 512s # 512s # /** 512s # * good_types_override_properties: 512s # * @klass: The class structure for a #GObject derived class. 512s # * @property_id_begin: The property id to assign to the first overridden property. 512s # * 512s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 512s # * The properties are overridden in the order they are defined. 512s # * 512s # * Returns: The last property id. 512s # */ 512s # guint 512s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 512s # { 512s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 512s # return property_id_begin - 1; 512s # } 512s # 512s # 512s # 512s # /** 512s # * GoodTypes: 512s # * 512s # * Abstract interface type for the D-Bus interface GoodTypes. 512s # */ 512s # 512s # /** 512s # * GoodTypesIface: 512s # * @parent_iface: The parent interface. 512s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 512s # * 512s # * Virtual table for the D-Bus interface GoodTypes. 512s # */ 512s # 512s # typedef GoodTypesIface GoodTypesInterface; 512s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 512s # 512s # static void 512s # good_types_default_init (GoodTypesIface *iface) 512s # { 512s # /* GObject properties for D-Bus properties: */ 512s # /** 512s # * GoodTypes:good-property-type: 512s # * 512s # * Represents the D-Bus property "GoodPropertyType". 512s # * 512s # * 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. 512s # */ 512s # g_object_interface_install_property (iface, 512s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 512s # } 512s # 512s # /** 512s # * good_types_get_good_property_type: (skip) 512s # * @object: A GoodTypes. 512s # * 512s # * Gets the value of the "GoodPropertyType" D-Bus property. 512s # * 512s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 512s # * 512s # * 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. 512s # * 512s # * 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. 512s # */ 512s # GVariant * 512s # good_types_get_good_property_type (GoodTypes *object) 512s # { 512s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 512s # 512s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 512s # } 512s # 512s # /** 512s # * good_types_dup_good_property_type: (skip) 512s # * @object: A GoodTypes. 512s # * 512s # * Gets a copy of the "GoodPropertyType" D-Bus property. 512s # * 512s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 512s # * 512s # * 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(). 512s # */ 512s # GVariant * 512s # good_types_dup_good_property_type (GoodTypes *object) 512s # { 512s # GVariant *value; 512s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 512s # return value; 512s # } 512s # 512s # /** 512s # * good_types_set_good_property_type: (skip) 512s # * @object: A GoodTypes. 512s # * @value: The value to set. 512s # * 512s # * Sets the "GoodPropertyType" D-Bus property to @value. 512s # * 512s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 512s # */ 512s # void 512s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 512s # { 512s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 512s # } 512s # 512s # /* ------------------------------------------------------------------------ */ 512s # 512s # /** 512s # * GoodTypesProxy: 512s # * 512s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 512s # */ 512s # 512s # /** 512s # * GoodTypesProxyClass: 512s # * @parent_class: The parent class. 512s # * 512s # * Class structure for GoodTypesProxy. 512s # */ 512s # 512s # struct _GoodTypesProxyPrivate 512s # { 512s # GData *qdata; 512s # }; 512s # 512s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 512s # 512s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 512s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 512s # G_ADD_PRIVATE (GoodTypesProxy) 512s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 512s # 512s # #else 512s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 512s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 512s # 512s # #endif 512s # static void 512s # good_types_proxy_finalize (GObject *object) 512s # { 512s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 512s # g_datalist_clear (&proxy->priv->qdata); 512s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 512s # } 512s # 512s # static void 512s # good_types_proxy_get_property (GObject *object, 512s # guint prop_id, 512s # GValue *value, 512s # GParamSpec *pspec G_GNUC_UNUSED) 512s # { 512s # const _ExtendedGDBusPropertyInfo *info; 512s # GVariant *variant; 512s # g_assert (prop_id != 0 && prop_id - 1 < 1); 512s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 512s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 512s # if (info->use_gvariant) 512s # { 512s # g_value_set_variant (value, variant); 512s # } 512s # else 512s # { 512s # if (variant != NULL) 512s # g_dbus_gvariant_to_gvalue (variant, value); 512s # } 512s # if (variant != NULL) 512s # g_variant_unref (variant); 512s # } 512s # 512s # static void 512s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 512s # GAsyncResult *res, 512s # gpointer user_data) 512s # { 512s # const _ExtendedGDBusPropertyInfo *info = user_data; 512s # GError *error; 512s # GVariant *_ret; 512s # error = NULL; 512s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 512s # if (!_ret) 512s # { 512s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 512s # info->parent_struct.name, 512s # error->message, g_quark_to_string (error->domain), error->code); 512s # g_error_free (error); 512s # } 512s # else 512s # { 512s # g_variant_unref (_ret); 512s # } 512s # } 512s # 512s # static void 512s # good_types_proxy_set_property (GObject *object, 512s # guint prop_id, 512s # const GValue *value, 512s # GParamSpec *pspec G_GNUC_UNUSED) 512s # { 512s # const _ExtendedGDBusPropertyInfo *info; 512s # GVariant *variant; 512s # g_assert (prop_id != 0 && prop_id - 1 < 1); 512s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 512s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 512s # g_dbus_proxy_call (G_DBUS_PROXY (object), 512s # "org.freedesktop.DBus.Properties.Set", 512s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 512s # G_DBUS_CALL_FLAGS_NONE, 512s # -1, 512s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 512s # g_variant_unref (variant); 512s # } 512s # 512s # static void 512s # good_types_proxy_g_signal (GDBusProxy *proxy, 512s # const gchar *sender_name G_GNUC_UNUSED, 512s # const gchar *signal_name, 512s # GVariant *parameters) 512s # { 512s # _ExtendedGDBusSignalInfo *info; 512s # GVariantIter iter; 512s # GVariant *child; 512s # GValue *paramv; 512s # gsize num_params; 512s # gsize n; 512s # guint signal_id; 512s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 512s # if (info == NULL) 512s # return; 512s # num_params = g_variant_n_children (parameters); 512s # paramv = g_new0 (GValue, num_params + 1); 512s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 512s # g_value_set_object (¶mv[0], proxy); 512s # g_variant_iter_init (&iter, parameters); 512s # n = 1; 512s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 512s # { 512s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 512s # if (arg_info->use_gvariant) 512s # { 512s # g_value_init (¶mv[n], G_TYPE_VARIANT); 512s # g_value_set_variant (¶mv[n], child); 512s # n++; 512s # } 512s # else 512s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 512s # g_variant_unref (child); 512s # } 512s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 512s # g_signal_emitv (paramv, signal_id, 0, NULL); 512s # for (n = 0; n < num_params + 1; n++) 512s # g_value_unset (¶mv[n]); 512s # g_free (paramv); 512s # } 512s # 512s # static void 512s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 512s # GVariant *changed_properties, 512s # const gchar *const *invalidated_properties) 512s # { 512s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 512s # guint n; 512s # const gchar *key; 512s # GVariantIter *iter; 512s # _ExtendedGDBusPropertyInfo *info; 512s # g_variant_get (changed_properties, "a{sv}", &iter); 512s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 512s # { 512s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 512s # g_datalist_remove_data (&proxy->priv->qdata, key); 512s # if (info != NULL) 512s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 512s # } 512s # g_variant_iter_free (iter); 512s # for (n = 0; invalidated_properties[n] != NULL; n++) 512s # { 512s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 512s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 512s # if (info != NULL) 512s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 512s # } 512s # } 512s # 512s # static GVariant * 512s # good_types_proxy_get_good_property_type (GoodTypes *object) 512s # { 512s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 512s # GVariant *variant; 512s # GVariant *value = NULL; 512s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 512s # value = variant; 512s # if (variant != NULL) 512s # g_variant_unref (variant); 512s # return value; 512s # } 512s # 512s # static void 512s # good_types_proxy_init (GoodTypesProxy *proxy) 512s # { 512s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 512s # proxy->priv = good_types_proxy_get_instance_private (proxy); 512s # #else 512s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 512s # #endif 512s # 512s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 512s # } 512s # 512s # static void 512s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 512s # { 512s # GObjectClass *gobject_class; 512s # GDBusProxyClass *proxy_class; 512s # 512s # gobject_class = G_OBJECT_CLASS (klass); 512s # gobject_class->finalize = good_types_proxy_finalize; 512s # gobject_class->get_property = good_types_proxy_get_property; 512s # gobject_class->set_property = good_types_proxy_set_property; 512s # 512s # proxy_class = G_DBUS_PROXY_CLASS (klass); 512s # proxy_class->g_signal = good_types_proxy_g_signal; 512s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 512s # 512s # good_types_override_properties (gobject_class, 1); 512s # 512s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 512s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 512s # #endif 512s # } 512s # 512s # static void 512s # good_types_proxy_iface_init (GoodTypesIface *iface) 512s # { 512s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 512s # } 512s # 512s # /** 512s # * good_types_proxy_new: 512s # * @connection: A #GDBusConnection. 512s # * @flags: Flags from the #GDBusProxyFlags enumeration. 512s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 512s # * @object_path: An object path. 512s # * @cancellable: (nullable): A #GCancellable or %NULL. 512s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 512s # * @user_data: User data to pass to @callback. 512s # * 512s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 512s # * 512s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 512s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 512s # * 512s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 512s # */ 512s # void 512s # good_types_proxy_new ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data) 512s # { 512s # 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); 512s # } 512s # 512s # /** 512s # * good_types_proxy_new_finish: 512s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 512s # * @error: Return location for error or %NULL 512s # * 512s # * Finishes an operation started with good_types_proxy_new(). 512s # * 512s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 512s # */ 512s # GoodTypes * 512s # good_types_proxy_new_finish ( 512s # GAsyncResult *res, 512s # GError **error) 512s # { 512s # GObject *ret; 512s # GObject *source_object; 512s # source_object = g_async_result_get_source_object (res); 512s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 512s # g_object_unref (source_object); 512s # if (ret != NULL) 512s # return GOOD_TYPES (ret); 512s # else 512s # return NULL; 512s # } 512s # 512s # /** 512s # * good_types_proxy_new_sync: 512s # * @connection: A #GDBusConnection. 512s # * @flags: Flags from the #GDBusProxyFlags enumeration. 512s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 512s # * @object_path: An object path. 512s # * @cancellable: (nullable): A #GCancellable or %NULL. 512s # * @error: Return location for error or %NULL 512s # * 512s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 512s # * 512s # * The calling thread is blocked until a reply is received. 512s # * 512s # * See good_types_proxy_new() for the asynchronous version of this constructor. 512s # * 512s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 512s # */ 512s # GoodTypes * 512s # good_types_proxy_new_sync ( 512s # GDBusConnection *connection, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error) 512s # { 512s # GInitable *ret; 512s # 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); 512s # if (ret != NULL) 512s # return GOOD_TYPES (ret); 512s # else 512s # return NULL; 512s # } 512s # 512s # 512s # /** 512s # * good_types_proxy_new_for_bus: 512s # * @bus_type: A #GBusType. 512s # * @flags: Flags from the #GDBusProxyFlags enumeration. 512s # * @name: A bus name (well-known or unique). 512s # * @object_path: An object path. 512s # * @cancellable: (nullable): A #GCancellable or %NULL. 512s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 512s # * @user_data: User data to pass to @callback. 512s # * 512s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 512s # * 512s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 512s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 512s # * 512s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 512s # */ 512s # void 512s # good_types_proxy_new_for_bus ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GAsyncReadyCallback callback, 512s # gpointer user_data) 512s # { 512s # 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); 512s # } 512s # 512s # /** 512s # * good_types_proxy_new_for_bus_finish: 512s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 512s # * @error: Return location for error or %NULL 512s # * 512s # * Finishes an operation started with good_types_proxy_new_for_bus(). 512s # * 512s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 512s # */ 512s # GoodTypes * 512s # good_types_proxy_new_for_bus_finish ( 512s # GAsyncResult *res, 512s # GError **error) 512s # { 512s # GObject *ret; 512s # GObject *source_object; 512s # source_object = g_async_result_get_source_object (res); 512s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 512s # g_object_unref (source_object); 512s # if (ret != NULL) 512s # return GOOD_TYPES (ret); 512s # else 512s # return NULL; 512s # } 512s # 512s # /** 512s # * good_types_proxy_new_for_bus_sync: 512s # * @bus_type: A #GBusType. 512s # * @flags: Flags from the #GDBusProxyFlags enumeration. 512s # * @name: A bus name (well-known or unique). 512s # * @object_path: An object path. 512s # * @cancellable: (nullable): A #GCancellable or %NULL. 512s # * @error: Return location for error or %NULL 512s # * 512s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 512s # * 512s # * The calling thread is blocked until a reply is received. 512s # * 512s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 512s # * 512s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 512s # */ 512s # GoodTypes * 512s # good_types_proxy_new_for_bus_sync ( 512s # GBusType bus_type, 512s # GDBusProxyFlags flags, 512s # const gchar *name, 512s # const gchar *object_path, 512s # GCancellable *cancellable, 512s # GError **error) 512s # { 512s # GInitable *ret; 512s # 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); 512s # if (ret != NULL) 512s # return GOOD_TYPES (ret); 512s # else 512s # return NULL; 512s # } 512s # 512s # 512s # /* ------------------------------------------------------------------------ */ 512s # 512s # /** 512s # * GoodTypesSkeleton: 512s # * 512s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 512s # */ 512s # 512s # /** 512s # * GoodTypesSkeletonClass: 512s # * @parent_class: The parent class. 512s # * 512s # * Class structure for GoodTypesSkeleton. 512s # */ 512s # 512s # struct _GoodTypesSkeletonPrivate 512s # { 512s # GValue *properties; 512s # GList *changed_properties; 512s # GSource *changed_properties_idle_source; 512s # GMainContext *context; 512s # GMutex lock; 512s # }; 512s # 512s # static void 512s # _good_types_skeleton_handle_method_call ( 512s # GDBusConnection *connection G_GNUC_UNUSED, 512s # const gchar *sender G_GNUC_UNUSED, 512s # const gchar *object_path G_GNUC_UNUSED, 512s # const gchar *interface_name, 512s # const gchar *method_name, 512s # GVariant *parameters, 512s # GDBusMethodInvocation *invocation, 512s # gpointer user_data) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 512s # _ExtendedGDBusMethodInfo *info; 512s # GVariantIter iter; 512s # GVariant *child; 512s # GValue *paramv; 512s # gsize num_params; 512s # guint num_extra; 512s # gsize n; 512s # guint signal_id; 512s # GValue return_value = G_VALUE_INIT; 512s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 512s # g_assert (info != NULL); 512s # num_params = g_variant_n_children (parameters); 512s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 512s # n = 0; 512s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 512s # g_value_set_object (¶mv[n++], skeleton); 512s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 512s # g_value_set_object (¶mv[n++], invocation); 512s # if (info->pass_fdlist) 512s # { 512s # #ifdef G_OS_UNIX 512s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 512s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 512s # #else 512s # g_assert_not_reached (); 512s # #endif 512s # } 512s # g_variant_iter_init (&iter, parameters); 512s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 512s # { 512s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 512s # if (arg_info->use_gvariant) 512s # { 512s # g_value_init (¶mv[n], G_TYPE_VARIANT); 512s # g_value_set_variant (¶mv[n], child); 512s # n++; 512s # } 512s # else 512s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 512s # g_variant_unref (child); 512s # } 512s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 512s # g_value_init (&return_value, G_TYPE_BOOLEAN); 512s # g_signal_emitv (paramv, signal_id, 0, &return_value); 512s # if (!g_value_get_boolean (&return_value)) 512s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 512s # g_value_unset (&return_value); 512s # for (n = 0; n < num_params + num_extra; n++) 512s # g_value_unset (¶mv[n]); 512s # g_free (paramv); 512s # } 512s # 512s # static GVariant * 512s # _good_types_skeleton_handle_get_property ( 512s # GDBusConnection *connection G_GNUC_UNUSED, 512s # const gchar *sender G_GNUC_UNUSED, 512s # const gchar *object_path G_GNUC_UNUSED, 512s # const gchar *interface_name G_GNUC_UNUSED, 512s # const gchar *property_name, 512s # GError **error, 512s # gpointer user_data) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 512s # GValue value = G_VALUE_INIT; 512s # GParamSpec *pspec; 512s # _ExtendedGDBusPropertyInfo *info; 512s # GVariant *ret; 512s # ret = NULL; 512s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 512s # g_assert (info != NULL); 512s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 512s # if (pspec == NULL) 512s # { 512s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 512s # } 512s # else 512s # { 512s # g_value_init (&value, pspec->value_type); 512s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 512s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 512s # g_value_unset (&value); 512s # } 512s # return ret; 512s # } 512s # 512s # static gboolean 512s # _good_types_skeleton_handle_set_property ( 512s # GDBusConnection *connection G_GNUC_UNUSED, 512s # const gchar *sender G_GNUC_UNUSED, 512s # const gchar *object_path G_GNUC_UNUSED, 512s # const gchar *interface_name G_GNUC_UNUSED, 512s # const gchar *property_name, 512s # GVariant *variant, 512s # GError **error, 512s # gpointer user_data) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 512s # GValue value = G_VALUE_INIT; 512s # GParamSpec *pspec; 512s # _ExtendedGDBusPropertyInfo *info; 512s # gboolean ret; 512s # ret = FALSE; 512s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 512s # g_assert (info != NULL); 512s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 512s # if (pspec == NULL) 512s # { 512s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 512s # } 512s # else 512s # { 512s # if (info->use_gvariant) 512s # g_value_set_variant (&value, variant); 512s # else 512s # g_dbus_gvariant_to_gvalue (variant, &value); 512s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 512s # g_value_unset (&value); 512s # ret = TRUE; 512s # } 512s # return ret; 512s # } 512s # 512s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 512s # { 512s # _good_types_skeleton_handle_method_call, 512s # _good_types_skeleton_handle_get_property, 512s # _good_types_skeleton_handle_set_property, 512s # {NULL} 512s # }; 512s # 512s # static GDBusInterfaceInfo * 512s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 512s # { 512s # return good_types_interface_info (); 512s # } 512s # 512s # static GDBusInterfaceVTable * 512s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 512s # { 512s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 512s # } 512s # 512s # static GVariant * 512s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 512s # { 512s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 512s # 512s # GVariantBuilder builder; 512s # guint n; 512s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 512s # if (_good_types_interface_info.parent_struct.properties == NULL) 512s # goto out; 512s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 512s # { 512s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 512s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 512s # { 512s # GVariant *value; 512s # 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); 512s # if (value != NULL) 512s # { 512s # g_variant_take_ref (value); 512s # g_variant_builder_add (&builder, "{sv}", info->name, value); 512s # g_variant_unref (value); 512s # } 512s # } 512s # } 512s # out: 513s # return g_variant_builder_end (&builder); 513s # } 513s # 513s # static gboolean _good_types_emit_changed (gpointer user_data); 513s # 513s # static void 513s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 513s # gboolean emit_changed = FALSE; 513s # 513s # g_mutex_lock (&skeleton->priv->lock); 513s # if (skeleton->priv->changed_properties_idle_source != NULL) 513s # { 513s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 513s # skeleton->priv->changed_properties_idle_source = NULL; 513s # emit_changed = TRUE; 513s # } 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # 513s # if (emit_changed) 513s # _good_types_emit_changed (skeleton); 513s # } 513s # 513s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_ADD_PRIVATE (GoodTypesSkeleton) 513s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 513s # 513s # #endif 513s # static void 513s # good_types_skeleton_finalize (GObject *object) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # guint n; 513s # for (n = 0; n < 1; n++) 513s # g_value_unset (&skeleton->priv->properties[n]); 513s # g_free (skeleton->priv->properties); 513s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 513s # if (skeleton->priv->changed_properties_idle_source != NULL) 513s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 513s # g_main_context_unref (skeleton->priv->context); 513s # g_mutex_clear (&skeleton->priv->lock); 513s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # good_types_skeleton_get_property (GObject *object, 513s # guint prop_id, 513s # GValue *value, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # g_assert (prop_id != 0 && prop_id - 1 < 1); 513s # g_mutex_lock (&skeleton->priv->lock); 513s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # } 513s # 513s # static gboolean 513s # _good_types_emit_changed (gpointer user_data) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 513s # GList *l; 513s # GVariantBuilder builder; 513s # GVariantBuilder invalidated_builder; 513s # guint num_changes; 513s # 513s # g_mutex_lock (&skeleton->priv->lock); 513s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 513s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 513s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 513s # { 513s # ChangedProperty *cp = l->data; 513s # GVariant *variant; 513s # const GValue *cur_value; 513s # 513s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 513s # if (!_g_value_equal (cur_value, &cp->orig_value)) 513s # { 513s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 513s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 513s # g_variant_unref (variant); 513s # num_changes++; 513s # } 513s # } 513s # if (num_changes > 0) 513s # { 513s # GList *connections, *ll; 513s # GVariant *signal_variant; 513s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 513s # &builder, &invalidated_builder)); 513s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 513s # for (ll = connections; ll != NULL; ll = ll->next) 513s # { 513s # GDBusConnection *connection = ll->data; 513s # 513s # g_dbus_connection_emit_signal (connection, 513s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 513s # "org.freedesktop.DBus.Properties", 513s # "PropertiesChanged", 513s # signal_variant, 513s # NULL); 513s # } 513s # g_variant_unref (signal_variant); 513s # g_list_free_full (connections, g_object_unref); 513s # } 513s # else 513s # { 513s # g_variant_builder_clear (&builder); 513s # g_variant_builder_clear (&invalidated_builder); 513s # } 513s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 513s # skeleton->priv->changed_properties = NULL; 513s # skeleton->priv->changed_properties_idle_source = NULL; 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # return FALSE; 513s # } 513s # 513s # static void 513s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 513s # { 513s # ChangedProperty *cp; 513s # GList *l; 513s # cp = NULL; 513s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 513s # { 513s # ChangedProperty *i_cp = l->data; 513s # if (i_cp->info == info) 513s # { 513s # cp = i_cp; 513s # break; 513s # } 513s # } 513s # if (cp == NULL) 513s # { 513s # cp = g_new0 (ChangedProperty, 1); 513s # cp->prop_id = prop_id; 513s # cp->info = info; 513s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 513s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 513s # g_value_copy (orig_value, &cp->orig_value); 513s # } 513s # } 513s # 513s # static void 513s # good_types_skeleton_notify (GObject *object, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # g_mutex_lock (&skeleton->priv->lock); 513s # if (skeleton->priv->changed_properties != NULL && 513s # skeleton->priv->changed_properties_idle_source == NULL) 513s # { 513s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 513s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 513s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 513s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 513s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 513s # g_source_unref (skeleton->priv->changed_properties_idle_source); 513s # } 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # } 513s # 513s # static void 513s # good_types_skeleton_set_property (GObject *object, 513s # guint prop_id, 513s # const GValue *value, 513s # GParamSpec *pspec) 513s # { 513s # const _ExtendedGDBusPropertyInfo *info; 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # g_assert (prop_id != 0 && prop_id - 1 < 1); 513s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 513s # g_mutex_lock (&skeleton->priv->lock); 513s # g_object_freeze_notify (object); 513s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 513s # { 513s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 513s # info->emits_changed_signal) 513s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 513s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 513s # g_object_notify_by_pspec (object, pspec); 513s # } 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # g_object_thaw_notify (object); 513s # } 513s # 513s # static void 513s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 513s # #else 513s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 513s # #endif 513s # 513s # g_mutex_init (&skeleton->priv->lock); 513s # skeleton->priv->context = g_main_context_ref_thread_default (); 513s # skeleton->priv->properties = g_new0 (GValue, 1); 513s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 513s # } 513s # 513s # static GVariant * 513s # good_types_skeleton_get_good_property_type (GoodTypes *object) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # GVariant *value; 513s # g_mutex_lock (&skeleton->priv->lock); 513s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # return value; 513s # } 513s # 513s # static void 513s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusInterfaceSkeletonClass *skeleton_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = good_types_skeleton_finalize; 513s # gobject_class->get_property = good_types_skeleton_get_property; 513s # gobject_class->set_property = good_types_skeleton_set_property; 513s # gobject_class->notify = good_types_skeleton_notify; 513s # 513s # 513s # good_types_override_properties (gobject_class, 1); 513s # 513s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 513s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 513s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 513s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 513s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # good_types_skeleton_iface_init (GoodTypesIface *iface) 513s # { 513s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 513s # } 513s # 513s # /** 513s # * good_types_skeleton_new: 513s # * 513s # * Creates a skeleton object for the D-Bus interface GoodTypes. 513s # * 513s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 513s # */ 513s # GoodTypes * 513s # good_types_skeleton_new (void) 513s # { 513s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 513s # } 513s # /tmp/tmpbtczdijx/tmp3vy5edrt.xml: 513s # 513s # 513s # 513s # 513s # 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbtczdijx/tmp3vy5edrt.xml', '--output', '-', '--body'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: /* 513s # * This file is generated by gdbus-codegen, do not modify it. 513s # * 513s # * The license of this code is the same as for the D-Bus interface description 513s # * it was derived from. Note that it links to GLib, so must comply with the 513s # * LGPL linking clauses. 513s # */ 513s # 513s # #ifdef HAVE_CONFIG_H 513s # # include "config.h" 513s # #endif 513s # 513s # #include 513s # #ifdef G_OS_UNIX 513s # # include 513s # #endif 513s # 513s # #ifdef G_ENABLE_DEBUG 513s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 513s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 513s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 513s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 513s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 513s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 513s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 513s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 513s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 513s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 513s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 513s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 513s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 513s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 513s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 513s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 513s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 513s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 513s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 513s # #else /* !G_ENABLE_DEBUG */ 513s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 513s # * Do not access GValues directly in your code. Instead, use the 513s # * g_value_get_*() functions 513s # */ 513s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 513s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 513s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 513s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 513s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 513s # #endif /* !G_ENABLE_DEBUG */ 513s # 513s # typedef struct 513s # { 513s # GDBusArgInfo parent_struct; 513s # gboolean use_gvariant; 513s # } _ExtendedGDBusArgInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusMethodInfo parent_struct; 513s # const gchar *signal_name; 513s # gboolean pass_fdlist; 513s # } _ExtendedGDBusMethodInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusSignalInfo parent_struct; 513s # const gchar *signal_name; 513s # } _ExtendedGDBusSignalInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusPropertyInfo parent_struct; 513s # const gchar *hyphen_name; 513s # guint use_gvariant : 1; 513s # guint emits_changed_signal : 1; 513s # } _ExtendedGDBusPropertyInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusInterfaceInfo parent_struct; 513s # const gchar *hyphen_name; 513s # } _ExtendedGDBusInterfaceInfo; 513s # 513s # typedef struct 513s # { 513s # const _ExtendedGDBusPropertyInfo *info; 513s # guint prop_id; 513s # GValue orig_value; /* the value before the change */ 513s # } ChangedProperty; 513s # 513s # static void 513s # _changed_property_free (ChangedProperty *data) 513s # { 513s # g_value_unset (&data->orig_value); 513s # g_free (data); 513s # } 513s # 513s # static gboolean 513s # _g_strv_equal0 (gchar **a, gchar **b) 513s # { 513s # gboolean ret = FALSE; 513s # guint n; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # if (g_strv_length (a) != g_strv_length (b)) 513s # goto out; 513s # for (n = 0; a[n] != NULL; n++) 513s # if (g_strcmp0 (a[n], b[n]) != 0) 513s # goto out; 513s # ret = TRUE; 513s # out: 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _g_variant_equal0 (GVariant *a, GVariant *b) 513s # { 513s # gboolean ret = FALSE; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # ret = g_variant_equal (a, b); 513s # out: 513s # return ret; 513s # } 513s # 513s # G_GNUC_UNUSED static gboolean 513s # _g_value_equal (const GValue *a, const GValue *b) 513s # { 513s # gboolean ret = FALSE; 513s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 513s # switch (G_VALUE_TYPE (a)) 513s # { 513s # case G_TYPE_BOOLEAN: 513s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 513s # break; 513s # case G_TYPE_UCHAR: 513s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 513s # break; 513s # case G_TYPE_INT: 513s # ret = (g_value_get_int (a) == g_value_get_int (b)); 513s # break; 513s # case G_TYPE_UINT: 513s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 513s # break; 513s # case G_TYPE_INT64: 513s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 513s # break; 513s # case G_TYPE_UINT64: 513s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 513s # break; 513s # case G_TYPE_DOUBLE: 513s # { 513s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 513s # gdouble da = g_value_get_double (a); 513s # gdouble db = g_value_get_double (b); 513s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 513s # } 513s # break; 513s # case G_TYPE_STRING: 513s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 513s # break; 513s # case G_TYPE_VARIANT: 513s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 513s # break; 513s # default: 513s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 513s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 513s # else 513s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 513s # break; 513s # } 513s # return ret; 513s # } 513s # 513s # /* ------------------------------------------------------------------------ 513s # * Code for interface GoodTypes 513s # * ------------------------------------------------------------------------ 513s # */ 513s # 513s # /** 513s # * SECTION:GoodTypes 513s # * @title: GoodTypes 513s # * @short_description: Generated C code for the GoodTypes D-Bus interface 513s # * 513s # * This section contains code for working with the GoodTypes D-Bus interface in C. 513s # */ 513s # 513s # /* ---- Introspection data for GoodTypes ---- */ 513s # 513s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 513s # { 513s # { 513s # -1, 513s # (gchar *) "GoodPropertyType", 513s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 513s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 513s # NULL 513s # }, 513s # "good-property-type", 513s # FALSE, 513s # TRUE 513s # }; 513s # 513s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 513s # { 513s # &_good_types_property_info_good_property_type.parent_struct, 513s # NULL 513s # }; 513s # 513s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 513s # { 513s # { 513s # -1, 513s # (gchar *) "GoodTypes", 513s # NULL, 513s # NULL, 513s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 513s # NULL 513s # }, 513s # "good-types", 513s # }; 513s # 513s # 513s # /** 513s # * good_types_interface_info: 513s # * 513s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 513s # * 513s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 513s # */ 513s # GDBusInterfaceInfo * 513s # good_types_interface_info (void) 513s # { 513s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 513s # } 513s # 513s # /** 513s # * good_types_override_properties: 513s # * @klass: The class structure for a #GObject derived class. 513s # * @property_id_begin: The property id to assign to the first overridden property. 513s # * 513s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 513s # * The properties are overridden in the order they are defined. 513s # * 513s # * Returns: The last property id. 513s # */ 513s # guint 513s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 513s # { 513s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 513s # return property_id_begin - 1; 513s # } 513s # 513s # 513s # 513s # /** 513s # * GoodTypes: 513s # * 513s # * Abstract interface type for the D-Bus interface GoodTypes. 513s # */ 513s # 513s # /** 513s # * GoodTypesIface: 513s # * @parent_iface: The parent interface. 513s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 513s # * 513s # * Virtual table for the D-Bus interface GoodTypes. 513s # */ 513s # 513s # typedef GoodTypesIface GoodTypesInterface; 513s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 513s # 513s # static void 513s # good_types_default_init (GoodTypesIface *iface) 513s # { 513s # /* GObject properties for D-Bus properties: */ 513s # /** 513s # * GoodTypes:good-property-type: 513s # * 513s # * Represents the D-Bus property "GoodPropertyType". 513s # * 513s # * 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. 513s # */ 513s # g_object_interface_install_property (iface, 513s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 513s # } 513s # 513s # /** 513s # * good_types_get_good_property_type: (skip) 513s # * @object: A GoodTypes. 513s # * 513s # * Gets the value of the "GoodPropertyType" D-Bus property. 513s # * 513s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 513s # * 513s # * 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. 513s # * 513s # * 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. 513s # */ 513s # GVariant * 513s # good_types_get_good_property_type (GoodTypes *object) 513s # { 513s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 513s # 513s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 513s # } 513s # 513s # /** 513s # * good_types_dup_good_property_type: (skip) 513s # * @object: A GoodTypes. 513s # * 513s # * Gets a copy of the "GoodPropertyType" D-Bus property. 513s # * 513s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 513s # * 513s # * 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(). 513s # */ 513s # GVariant * 513s # good_types_dup_good_property_type (GoodTypes *object) 513s # { 513s # GVariant *value; 513s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 513s # return value; 513s # } 513s # 513s # /** 513s # * good_types_set_good_property_type: (skip) 513s # * @object: A GoodTypes. 513s # * @value: The value to set. 513s # * 513s # * Sets the "GoodPropertyType" D-Bus property to @value. 513s # * 513s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 513s # */ 513s # void 513s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 513s # { 513s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 513s # } 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * GoodTypesProxy: 513s # * 513s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * GoodTypesProxyClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for GoodTypesProxy. 513s # */ 513s # 513s # struct _GoodTypesProxyPrivate 513s # { 513s # GData *qdata; 513s # }; 513s # 513s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 513s # G_ADD_PRIVATE (GoodTypesProxy) 513s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 513s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 513s # 513s # #endif 513s # static void 513s # good_types_proxy_finalize (GObject *object) 513s # { 513s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 513s # g_datalist_clear (&proxy->priv->qdata); 513s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # good_types_proxy_get_property (GObject *object, 513s # guint prop_id, 513s # GValue *value, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # const _ExtendedGDBusPropertyInfo *info; 513s # GVariant *variant; 513s # g_assert (prop_id != 0 && prop_id - 1 < 1); 513s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 513s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 513s # if (info->use_gvariant) 513s # { 513s # g_value_set_variant (value, variant); 513s # } 513s # else 513s # { 513s # if (variant != NULL) 513s # g_dbus_gvariant_to_gvalue (variant, value); 513s # } 513s # if (variant != NULL) 513s # g_variant_unref (variant); 513s # } 513s # 513s # static void 513s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 513s # GAsyncResult *res, 513s # gpointer user_data) 513s # { 513s # const _ExtendedGDBusPropertyInfo *info = user_data; 513s # GError *error; 513s # GVariant *_ret; 513s # error = NULL; 513s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 513s # if (!_ret) 513s # { 513s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 513s # info->parent_struct.name, 513s # error->message, g_quark_to_string (error->domain), error->code); 513s # g_error_free (error); 513s # } 513s # else 513s # { 513s # g_variant_unref (_ret); 513s # } 513s # } 513s # 513s # static void 513s # good_types_proxy_set_property (GObject *object, 513s # guint prop_id, 513s # const GValue *value, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # const _ExtendedGDBusPropertyInfo *info; 513s # GVariant *variant; 513s # g_assert (prop_id != 0 && prop_id - 1 < 1); 513s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 513s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 513s # g_dbus_proxy_call (G_DBUS_PROXY (object), 513s # "org.freedesktop.DBus.Properties.Set", 513s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 513s # G_DBUS_CALL_FLAGS_NONE, 513s # -1, 513s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 513s # g_variant_unref (variant); 513s # } 513s # 513s # static void 513s # good_types_proxy_g_signal (GDBusProxy *proxy, 513s # const gchar *sender_name G_GNUC_UNUSED, 513s # const gchar *signal_name, 513s # GVariant *parameters) 513s # { 513s # _ExtendedGDBusSignalInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # gsize n; 513s # guint signal_id; 513s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 513s # if (info == NULL) 513s # return; 513s # num_params = g_variant_n_children (parameters); 513s # paramv = g_new0 (GValue, num_params + 1); 513s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 513s # g_value_set_object (¶mv[0], proxy); 513s # g_variant_iter_init (&iter, parameters); 513s # n = 1; 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 513s # g_signal_emitv (paramv, signal_id, 0, NULL); 513s # for (n = 0; n < num_params + 1; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static void 513s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 513s # GVariant *changed_properties, 513s # const gchar *const *invalidated_properties) 513s # { 513s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 513s # guint n; 513s # const gchar *key; 513s # GVariantIter *iter; 513s # _ExtendedGDBusPropertyInfo *info; 513s # g_variant_get (changed_properties, "a{sv}", &iter); 513s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 513s # g_datalist_remove_data (&proxy->priv->qdata, key); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # g_variant_iter_free (iter); 513s # for (n = 0; invalidated_properties[n] != NULL; n++) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 513s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # } 513s # 513s # static GVariant * 513s # good_types_proxy_get_good_property_type (GoodTypes *object) 513s # { 513s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 513s # GVariant *variant; 513s # GVariant *value = NULL; 513s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 513s # value = variant; 513s # if (variant != NULL) 513s # g_variant_unref (variant); 513s # return value; 513s # } 513s # 513s # static void 513s # good_types_proxy_init (GoodTypesProxy *proxy) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # proxy->priv = good_types_proxy_get_instance_private (proxy); 513s # #else 513s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 513s # #endif 513s # 513s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 513s # } 513s # 513s # static void 513s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusProxyClass *proxy_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = good_types_proxy_finalize; 513s # gobject_class->get_property = good_types_proxy_get_property; 513s # gobject_class->set_property = good_types_proxy_set_property; 513s # 513s # proxy_class = G_DBUS_PROXY_CLASS (klass); 513s # proxy_class->g_signal = good_types_proxy_g_signal; 513s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 513s # 513s # good_types_override_properties (gobject_class, 1); 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # good_types_proxy_iface_init (GoodTypesIface *iface) 513s # { 513s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 513s # } 513s # 513s # /** 513s # * good_types_proxy_new: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 513s # * 513s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # good_types_proxy_new ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # 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); 513s # } 513s # 513s # /** 513s # * good_types_proxy_new_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with good_types_proxy_new(). 513s # * 513s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # GoodTypes * 513s # good_types_proxy_new_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return GOOD_TYPES (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * good_types_proxy_new_sync: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See good_types_proxy_new() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # GoodTypes * 513s # good_types_proxy_new_sync ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return GOOD_TYPES (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /** 513s # * good_types_proxy_new_for_bus: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 513s # * 513s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # good_types_proxy_new_for_bus ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # 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); 513s # } 513s # 513s # /** 513s # * good_types_proxy_new_for_bus_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with good_types_proxy_new_for_bus(). 513s # * 513s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # GoodTypes * 513s # good_types_proxy_new_for_bus_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return GOOD_TYPES (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * good_types_proxy_new_for_bus_sync: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # GoodTypes * 513s # good_types_proxy_new_for_bus_sync ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return GOOD_TYPES (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * GoodTypesSkeleton: 513s # * 513s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * GoodTypesSkeletonClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for GoodTypesSkeleton. 513s # */ 513s # 513s # struct _GoodTypesSkeletonPrivate 513s # { 513s # GValue *properties; 513s # GList *changed_properties; 513s # GSource *changed_properties_idle_source; 513s # GMainContext *context; 513s # GMutex lock; 513s # }; 513s # 513s # static void 513s # _good_types_skeleton_handle_method_call ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name, 513s # const gchar *method_name, 513s # GVariant *parameters, 513s # GDBusMethodInvocation *invocation, 513s # gpointer user_data) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 513s # _ExtendedGDBusMethodInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # guint num_extra; 513s # gsize n; 513s # guint signal_id; 513s # GValue return_value = G_VALUE_INIT; 513s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 513s # g_assert (info != NULL); 513s # num_params = g_variant_n_children (parameters); 513s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 513s # n = 0; 513s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 513s # g_value_set_object (¶mv[n++], skeleton); 513s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 513s # g_value_set_object (¶mv[n++], invocation); 513s # if (info->pass_fdlist) 513s # { 513s # #ifdef G_OS_UNIX 513s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 513s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 513s # #else 513s # g_assert_not_reached (); 513s # #endif 513s # } 513s # g_variant_iter_init (&iter, parameters); 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 513s # g_value_init (&return_value, G_TYPE_BOOLEAN); 513s # g_signal_emitv (paramv, signal_id, 0, &return_value); 513s # if (!g_value_get_boolean (&return_value)) 513s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 513s # g_value_unset (&return_value); 513s # for (n = 0; n < num_params + num_extra; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static GVariant * 513s # _good_types_skeleton_handle_get_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # GVariant *ret; 513s # ret = NULL; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # g_value_init (&value, pspec->value_type); 513s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 513s # g_value_unset (&value); 513s # } 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _good_types_skeleton_handle_set_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GVariant *variant, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # gboolean ret; 513s # ret = FALSE; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # if (info->use_gvariant) 513s # g_value_set_variant (&value, variant); 513s # else 513s # g_dbus_gvariant_to_gvalue (variant, &value); 513s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # g_value_unset (&value); 513s # ret = TRUE; 513s # } 513s # return ret; 513s # } 513s # 513s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 513s # { 513s # _good_types_skeleton_handle_method_call, 513s # _good_types_skeleton_handle_get_property, 513s # _good_types_skeleton_handle_set_property, 513s # {NULL} 513s # }; 513s # 513s # static GDBusInterfaceInfo * 513s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 513s # { 513s # return good_types_interface_info (); 513s # } 513s # 513s # static GDBusInterfaceVTable * 513s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 513s # { 513s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 513s # } 513s # 513s # static GVariant * 513s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 513s # 513s # GVariantBuilder builder; 513s # guint n; 513s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 513s # if (_good_types_interface_info.parent_struct.properties == NULL) 513s # goto out; 513s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 513s # { 513s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 513s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 513s # { 513s # GVariant *value; 513s # 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); 513s # if (value != NULL) 513s # { 513s # g_variant_take_ref (value); 513s # g_variant_builder_add (&builder, "{sv}", info->name, value); 513s # g_variant_unref (value); 513s # } 513s # } 513s # } 513s # out: 513s # return g_variant_builder_end (&builder); 513s # } 513s # 513s # static gboolean _good_types_emit_changed (gpointer user_data); 513s # 513s # static void 513s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 513s # gboolean emit_changed = FALSE; 513s # 513s # g_mutex_lock (&skeleton->priv->lock); 513s # if (skeleton->priv->changed_properties_idle_source != NULL) 513s # { 513s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 513s # skeleton->priv->changed_properties_idle_source = NULL; 513s # emit_changed = TRUE; 513s # } 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # 513s # if (emit_changed) 513s # _good_types_emit_changed (skeleton); 513s # } 513s # 513s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_ADD_PRIVATE (GoodTypesSkeleton) 513s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 513s # 513s # #endif 513s # static void 513s # good_types_skeleton_finalize (GObject *object) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # guint n; 513s # for (n = 0; n < 1; n++) 513s # g_value_unset (&skeleton->priv->properties[n]); 513s # g_free (skeleton->priv->properties); 513s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 513s # if (skeleton->priv->changed_properties_idle_source != NULL) 513s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 513s # g_main_context_unref (skeleton->priv->context); 513s # g_mutex_clear (&skeleton->priv->lock); 513s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # good_types_skeleton_get_property (GObject *object, 513s # guint prop_id, 513s # GValue *value, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # g_assert (prop_id != 0 && prop_id - 1 < 1); 513s # g_mutex_lock (&skeleton->priv->lock); 513s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # } 513s # 513s # static gboolean 513s # _good_types_emit_changed (gpointer user_data) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 513s # GList *l; 513s # GVariantBuilder builder; 513s # GVariantBuilder invalidated_builder; 513s # guint num_changes; 513s # 513s # g_mutex_lock (&skeleton->priv->lock); 513s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 513s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 513s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 513s # { 513s # ChangedProperty *cp = l->data; 513s # GVariant *variant; 513s # const GValue *cur_value; 513s # 513s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 513s # if (!_g_value_equal (cur_value, &cp->orig_value)) 513s # { 513s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 513s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 513s # g_variant_unref (variant); 513s # num_changes++; 513s # } 513s # } 513s # if (num_changes > 0) 513s # { 513s # GList *connections, *ll; 513s # GVariant *signal_variant; 513s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 513s # &builder, &invalidated_builder)); 513s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 513s # for (ll = connections; ll != NULL; ll = ll->next) 513s # { 513s # GDBusConnection *connection = ll->data; 513s # 513s # g_dbus_connection_emit_signal (connection, 513s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 513s # "org.freedesktop.DBus.Properties", 513s # "PropertiesChanged", 513s # signal_variant, 513s # NULL); 513s # } 513s # g_variant_unref (signal_variant); 513s # g_list_free_full (connections, g_object_unref); 513s # } 513s # else 513s # { 513s # g_variant_builder_clear (&builder); 513s # g_variant_builder_clear (&invalidated_builder); 513s # } 513s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 513s # skeleton->priv->changed_properties = NULL; 513s # skeleton->priv->changed_properties_idle_source = NULL; 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # return FALSE; 513s # } 513s # 513s # static void 513s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 513s # { 513s # ChangedProperty *cp; 513s # GList *l; 513s # cp = NULL; 513s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 513s # { 513s # ChangedProperty *i_cp = l->data; 513s # if (i_cp->info == info) 513s # { 513s # cp = i_cp; 513s # break; 513s # } 513s # } 513s # if (cp == NULL) 513s # { 513s # cp = g_new0 (ChangedProperty, 1); 513s # cp->prop_id = prop_id; 513s # cp->info = info; 513s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 513s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 513s # g_value_copy (orig_value, &cp->orig_value); 513s # } 513s # } 513s # 513s # static void 513s # good_types_skeleton_notify (GObject *object, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # g_mutex_lock (&skeleton->priv->lock); 513s # if (skeleton->priv->changed_properties != NULL && 513s # skeleton->priv->changed_properties_idle_source == NULL) 513s # { 513s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 513s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 513s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 513s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 513s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 513s # g_source_unref (skeleton->priv->changed_properties_idle_source); 513s # } 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # } 513s # 513s # static void 513s # good_types_skeleton_set_property (GObject *object, 513s # guint prop_id, 513s # const GValue *value, 513s # GParamSpec *pspec) 513s # { 513s # const _ExtendedGDBusPropertyInfo *info; 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # g_assert (prop_id != 0 && prop_id - 1 < 1); 513s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 513s # g_mutex_lock (&skeleton->priv->lock); 513s # g_object_freeze_notify (object); 513s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 513s # { 513s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 513s # info->emits_changed_signal) 513s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 513s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 513s # g_object_notify_by_pspec (object, pspec); 513s # } 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # g_object_thaw_notify (object); 513s # } 513s # 513s # static void 513s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 513s # #else 513s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 513s # #endif 513s # 513s # g_mutex_init (&skeleton->priv->lock); 513s # skeleton->priv->context = g_main_context_ref_thread_default (); 513s # skeleton->priv->properties = g_new0 (GValue, 1); 513s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 513s # } 513s # 513s # static GVariant * 513s # good_types_skeleton_get_good_property_type (GoodTypes *object) 513s # { 513s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 513s # GVariant *value; 513s # g_mutex_lock (&skeleton->priv->lock); 513s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 513s # g_mutex_unlock (&skeleton->priv->lock); 513s # return value; 513s # } 513s # 513s # static void 513s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusInterfaceSkeletonClass *skeleton_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = good_types_skeleton_finalize; 513s # gobject_class->get_property = good_types_skeleton_get_property; 513s # gobject_class->set_property = good_types_skeleton_set_property; 513s # gobject_class->notify = good_types_skeleton_notify; 513s # 513s # 513s # good_types_override_properties (gobject_class, 1); 513s # 513s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 513s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 513s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 513s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 513s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # good_types_skeleton_iface_init (GoodTypesIface *iface) 513s # { 513s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 513s # } 513s # 513s # /** 513s # * good_types_skeleton_new: 513s # * 513s # * Creates a skeleton object for the D-Bus interface GoodTypes. 513s # * 513s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 513s # */ 513s # GoodTypes * 513s # good_types_skeleton_new (void) 513s # { 513s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 513s # } 513s ok 3 __main__.TestCodegen.test_empty_interface_body 513s # tmpdir: /tmp/tmpvlbw59mi 513s # codegen: /usr/bin/gdbus-codegen 513s # /tmp/tmpvlbw59mi/tmpe4imw5zf.xml: 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvlbw59mi/tmpe4imw5zf.xml', '--output', '-', '--body'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: /* 513s # * This file is generated by gdbus-codegen, do not modify it. 513s # * 513s # * The license of this code is the same as for the D-Bus interface description 513s # * it was derived from. Note that it links to GLib, so must comply with the 513s # * LGPL linking clauses. 513s # */ 513s # 513s # #ifdef HAVE_CONFIG_H 513s # # include "config.h" 513s # #endif 513s # 513s # #include 513s # #ifdef G_OS_UNIX 513s # # include 513s # #endif 513s # 513s # #ifdef G_ENABLE_DEBUG 513s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 513s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 513s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 513s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 513s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 513s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 513s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 513s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 513s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 513s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 513s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 513s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 513s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 513s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 513s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 513s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 513s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 513s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 513s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 513s # #else /* !G_ENABLE_DEBUG */ 513s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 513s # * Do not access GValues directly in your code. Instead, use the 513s # * g_value_get_*() functions 513s # */ 513s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 513s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 513s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 513s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 513s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 513s # #endif /* !G_ENABLE_DEBUG */ 513s # 513s # typedef struct 513s # { 513s # GDBusArgInfo parent_struct; 513s # gboolean use_gvariant; 513s # } _ExtendedGDBusArgInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusMethodInfo parent_struct; 513s # const gchar *signal_name; 513s # gboolean pass_fdlist; 513s # } _ExtendedGDBusMethodInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusSignalInfo parent_struct; 513s # const gchar *signal_name; 513s # } _ExtendedGDBusSignalInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusPropertyInfo parent_struct; 513s # const gchar *hyphen_name; 513s # guint use_gvariant : 1; 513s # guint emits_changed_signal : 1; 513s # } _ExtendedGDBusPropertyInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusInterfaceInfo parent_struct; 513s # const gchar *hyphen_name; 513s # } _ExtendedGDBusInterfaceInfo; 513s # 513s # typedef struct 513s # { 513s # const _ExtendedGDBusPropertyInfo *info; 513s # guint prop_id; 513s # GValue orig_value; /* the value before the change */ 513s # } ChangedProperty; 513s # 513s # static void 513s # _changed_property_free (ChangedProperty *data) 513s # { 513s # g_value_unset (&data->orig_value); 513s # g_free (data); 513s # } 513s # 513s # static gboolean 513s # _g_strv_equal0 (gchar **a, gchar **b) 513s # { 513s # gboolean ret = FALSE; 513s # guint n; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # if (g_strv_length (a) != g_strv_length (b)) 513s # goto out; 513s # for (n = 0; a[n] != NULL; n++) 513s # if (g_strcmp0 (a[n], b[n]) != 0) 513s # goto out; 513s # ret = TRUE; 513s # out: 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _g_variant_equal0 (GVariant *a, GVariant *b) 513s # { 513s # gboolean ret = FALSE; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # ret = g_variant_equal (a, b); 513s # out: 513s # return ret; 513s # } 513s # 513s # G_GNUC_UNUSED static gboolean 513s # _g_value_equal (const GValue *a, const GValue *b) 513s # { 513s # gboolean ret = FALSE; 513s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 513s # switch (G_VALUE_TYPE (a)) 513s # { 513s # case G_TYPE_BOOLEAN: 513s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 513s # break; 513s # case G_TYPE_UCHAR: 513s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 513s # break; 513s # case G_TYPE_INT: 513s # ret = (g_value_get_int (a) == g_value_get_int (b)); 513s # break; 513s # case G_TYPE_UINT: 513s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 513s # break; 513s # case G_TYPE_INT64: 513s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 513s # break; 513s # case G_TYPE_UINT64: 513s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 513s # break; 513s # case G_TYPE_DOUBLE: 513s # { 513s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 513s # gdouble da = g_value_get_double (a); 513s # gdouble db = g_value_get_double (b); 513s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 513s # } 513s # break; 513s # case G_TYPE_STRING: 513s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 513s # break; 513s # case G_TYPE_VARIANT: 513s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 513s # break; 513s # default: 513s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 513s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 513s # else 513s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 513s # break; 513s # } 513s # return ret; 513s # } 513s ok 4 __main__.TestCodegen.test_empty_interface_header 513s # tmpdir: /tmp/tmpr48klefz 513s # codegen: /usr/bin/gdbus-codegen 513s # /tmp/tmpr48klefz/tmp3fo6z_ym.xml: 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr48klefz/tmp3fo6z_ym.xml', '--output', '-', '--header'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: /* 513s # * This file is generated by gdbus-codegen, do not modify it. 513s # * 513s # * The license of this code is the same as for the D-Bus interface description 513s # * it was derived from. Note that it links to GLib, so must comply with the 513s # * LGPL linking clauses. 513s # */ 513s # 513s # #ifndef __STDOUT__ 513s # #define __STDOUT__ 513s # 513s # #include 513s # 513s # G_BEGIN_DECLS 513s # 513s # 513s # G_END_DECLS 513s # 513s # #endif /* __STDOUT__ */ 513s ok 5 __main__.TestCodegen.test_empty_interface_info_body 513s # tmpdir: /tmp/tmp9skdr7s_ 513s # codegen: /usr/bin/gdbus-codegen 513s # /tmp/tmp9skdr7s_/tmpy_ipo2le.xml: 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9skdr7s_/tmpy_ipo2le.xml', '--output', '-', '--interface-info-body'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: /* 513s # * This file is generated by gdbus-codegen, do not modify it. 513s # * 513s # * The license of this code is the same as for the D-Bus interface description 513s # * it was derived from. Note that it links to GLib, so must comply with the 513s # * LGPL linking clauses. 513s # */ 513s # 513s # #ifdef HAVE_CONFIG_H 513s # # include "config.h" 513s # #endif 513s # 513s # #include 513s ok 6 __main__.TestCodegen.test_empty_interface_info_header 513s # tmpdir: /tmp/tmpu_3bxc4g 513s # codegen: /usr/bin/gdbus-codegen 513s # /tmp/tmpu_3bxc4g/tmpzhcd_m8e.xml: 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu_3bxc4g/tmpzhcd_m8e.xml', '--output', '-', '--interface-info-header'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: /* 513s # * This file is generated by gdbus-codegen, do not modify it. 513s # * 513s # * The license of this code is the same as for the D-Bus interface description 513s # * it was derived from. Note that it links to GLib, so must comply with the 513s # * LGPL linking clauses. 513s # */ 513s # 513s # #ifndef __STDOUT__ 513s # #define __STDOUT__ 513s # 513s # #include 513s # 513s # G_BEGIN_DECLS 513s # 513s # 513s # G_END_DECLS 513s # 513s # #endif /* __STDOUT__ */ 513s ok 7 __main__.TestCodegen.test_generate_docbook 513s # tmpdir: /tmp/tmp_5fgq4xh 513s # codegen: /usr/bin/gdbus-codegen 513s # /tmp/tmp_5fgq4xh/tmpymm3b_mv.xml: 513s # 513s # 513s # 513s # 513s # 513s # 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_5fgq4xh/tmpymm3b_mv.xml', '--generate-docbook', 'test'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: 513s ok 8 __main__.TestCodegen.test_generate_md 513s # tmpdir: /tmp/tmp45z40lf7 513s # codegen: /usr/bin/gdbus-codegen 513s # /tmp/tmp45z40lf7/tmpmt_fald1.xml: 513s # 513s # 513s # 513s # 513s # 513s # 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45z40lf7/tmpmt_fald1.xml', '--generate-md', 'test'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: 513s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 513s # tmpdir: /tmp/tmpzqk3n5u6 513s # codegen: /usr/bin/gdbus-codegen 513s # /tmp/tmpzqk3n5u6/tmpah9gawfa.xml: 513s # 513s # 513s # 513s # 513s # 513s # 513s # 513s # 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzqk3n5u6/tmpah9gawfa.xml', '--output', '-', '--body'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: /* 513s # * This file is generated by gdbus-codegen, do not modify it. 513s # * 513s # * The license of this code is the same as for the D-Bus interface description 513s # * it was derived from. Note that it links to GLib, so must comply with the 513s # * LGPL linking clauses. 513s # */ 513s # 513s # #ifdef HAVE_CONFIG_H 513s # # include "config.h" 513s # #endif 513s # 513s # #include 513s # #ifdef G_OS_UNIX 513s # # include 513s # #endif 513s # 513s # #ifdef G_ENABLE_DEBUG 513s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 513s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 513s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 513s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 513s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 513s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 513s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 513s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 513s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 513s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 513s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 513s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 513s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 513s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 513s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 513s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 513s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 513s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 513s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 513s # #else /* !G_ENABLE_DEBUG */ 513s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 513s # * Do not access GValues directly in your code. Instead, use the 513s # * g_value_get_*() functions 513s # */ 513s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 513s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 513s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 513s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 513s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 513s # #endif /* !G_ENABLE_DEBUG */ 513s # 513s # typedef struct 513s # { 513s # GDBusArgInfo parent_struct; 513s # gboolean use_gvariant; 513s # } _ExtendedGDBusArgInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusMethodInfo parent_struct; 513s # const gchar *signal_name; 513s # gboolean pass_fdlist; 513s # } _ExtendedGDBusMethodInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusSignalInfo parent_struct; 513s # const gchar *signal_name; 513s # } _ExtendedGDBusSignalInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusPropertyInfo parent_struct; 513s # const gchar *hyphen_name; 513s # guint use_gvariant : 1; 513s # guint emits_changed_signal : 1; 513s # } _ExtendedGDBusPropertyInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusInterfaceInfo parent_struct; 513s # const gchar *hyphen_name; 513s # } _ExtendedGDBusInterfaceInfo; 513s # 513s # typedef struct 513s # { 513s # const _ExtendedGDBusPropertyInfo *info; 513s # guint prop_id; 513s # GValue orig_value; /* the value before the change */ 513s # } ChangedProperty; 513s # 513s # static void 513s # _changed_property_free (ChangedProperty *data) 513s # { 513s # g_value_unset (&data->orig_value); 513s # g_free (data); 513s # } 513s # 513s # static gboolean 513s # _g_strv_equal0 (gchar **a, gchar **b) 513s # { 513s # gboolean ret = FALSE; 513s # guint n; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # if (g_strv_length (a) != g_strv_length (b)) 513s # goto out; 513s # for (n = 0; a[n] != NULL; n++) 513s # if (g_strcmp0 (a[n], b[n]) != 0) 513s # goto out; 513s # ret = TRUE; 513s # out: 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _g_variant_equal0 (GVariant *a, GVariant *b) 513s # { 513s # gboolean ret = FALSE; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # ret = g_variant_equal (a, b); 513s # out: 513s # return ret; 513s # } 513s # 513s # G_GNUC_UNUSED static gboolean 513s # _g_value_equal (const GValue *a, const GValue *b) 513s # { 513s # gboolean ret = FALSE; 513s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 513s # switch (G_VALUE_TYPE (a)) 513s # { 513s # case G_TYPE_BOOLEAN: 513s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 513s # break; 513s # case G_TYPE_UCHAR: 513s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 513s # break; 513s # case G_TYPE_INT: 513s # ret = (g_value_get_int (a) == g_value_get_int (b)); 513s # break; 513s # case G_TYPE_UINT: 513s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 513s # break; 513s # case G_TYPE_INT64: 513s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 513s # break; 513s # case G_TYPE_UINT64: 513s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 513s # break; 513s # case G_TYPE_DOUBLE: 513s # { 513s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 513s # gdouble da = g_value_get_double (a); 513s # gdouble db = g_value_get_double (b); 513s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 513s # } 513s # break; 513s # case G_TYPE_STRING: 513s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 513s # break; 513s # case G_TYPE_VARIANT: 513s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 513s # break; 513s # default: 513s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 513s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 513s # else 513s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 513s # break; 513s # } 513s # return ret; 513s # } 513s # 513s # static void 513s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 513s # GClosure *closure, 513s # GValue *return_value, 513s # unsigned int n_param_values, 513s # const GValue *param_values, 513s # void *invocation_hint G_GNUC_UNUSED, 513s # void *marshal_data) 513s # { 513s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 513s # (void *data1, 513s # GDBusMethodInvocation *arg_method_invocation, 513s # void *data2); 513s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 513s # GCClosure *cc = (GCClosure*) closure; 513s # void *data1, *data2; 513s # gboolean v_return; 513s # 513s # g_return_if_fail (return_value != NULL); 513s # g_return_if_fail (n_param_values == 2); 513s # 513s # if (G_CCLOSURE_SWAP_DATA (closure)) 513s # { 513s # data1 = closure->data; 513s # data2 = g_value_peek_pointer (param_values + 0); 513s # } 513s # else 513s # { 513s # data1 = g_value_peek_pointer (param_values + 0); 513s # data2 = closure->data; 513s # } 513s # 513s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 513s # (marshal_data ? marshal_data : cc->callback); 513s # 513s # v_return = 513s # callback (data1, 513s # g_marshal_value_peek_object (param_values + 1), 513s # data2); 513s # 513s # g_value_set_boolean (return_value, v_return); 513s # } 513s # 513s # /* ------------------------------------------------------------------------ 513s # * Code for interface org.project.CallableIface 513s # * ------------------------------------------------------------------------ 513s # */ 513s # 513s # /** 513s # * SECTION:OrgProjectCallableIface 513s # * @title: OrgProjectCallableIface 513s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 513s # * 513s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 513s # */ 513s # 513s # /* ---- Introspection data for org.project.CallableIface ---- */ 513s # 513s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 513s # { 513s # { 513s # -1, 513s # (gchar *) "SimpleMethod", 513s # NULL, 513s # NULL, 513s # NULL 513s # }, 513s # "handle-simple-method", 513s # FALSE 513s # }; 513s # 513s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 513s # { 513s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 513s # NULL 513s # }; 513s # 513s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 513s # { 513s # { 513s # -1, 513s # (gchar *) "org.project.CallableIface", 513s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 513s # NULL, 513s # NULL, 513s # NULL 513s # }, 513s # "org-project-callable-iface", 513s # }; 513s # 513s # 513s # /** 513s # * org_project_callable_iface_interface_info: 513s # * 513s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 513s # * 513s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 513s # */ 513s # GDBusInterfaceInfo * 513s # org_project_callable_iface_interface_info (void) 513s # { 513s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_override_properties: 513s # * @klass: The class structure for a #GObject derived class. 513s # * @property_id_begin: The property id to assign to the first overridden property. 513s # * 513s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 513s # * The properties are overridden in the order they are defined. 513s # * 513s # * Returns: The last property id. 513s # */ 513s # guint 513s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 513s # { 513s # return property_id_begin - 1; 513s # } 513s # 513s # 513s # inline static void 513s # org_project_callable_iface_method_marshal_simple_method ( 513s # GClosure *closure, 513s # GValue *return_value, 513s # unsigned int n_param_values, 513s # const GValue *param_values, 513s # void *invocation_hint, 513s # void *marshal_data) 513s # { 513s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 513s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 513s # } 513s # 513s # 513s # /** 513s # * OrgProjectCallableIface: 513s # * 513s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 513s # */ 513s # 513s # /** 513s # * OrgProjectCallableIfaceIface: 513s # * @parent_iface: The parent interface. 513s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 513s # * 513s # * Virtual table for the D-Bus interface org.project.CallableIface. 513s # */ 513s # 513s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 513s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 513s # 513s # static void 513s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 513s # { 513s # /* GObject signals for incoming D-Bus method calls: */ 513s # /** 513s # * OrgProjectCallableIface::handle-simple-method: 513s # * @object: A #OrgProjectCallableIface. 513s # * @invocation: A #GDBusMethodInvocation. 513s # * 513s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 513s # * 513s # * 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. 513s # * 513s # * 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. 513s # */ 513s # g_signal_new ("handle-simple-method", 513s # G_TYPE_FROM_INTERFACE (iface), 513s # G_SIGNAL_RUN_LAST, 513s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 513s # g_signal_accumulator_true_handled, 513s # NULL, 513s # org_project_callable_iface_method_marshal_simple_method, 513s # G_TYPE_BOOLEAN, 513s # 1, 513s # G_TYPE_DBUS_METHOD_INVOCATION); 513s # 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_call_simple_method: 513s # * @proxy: A #OrgProjectCallableIfaceProxy. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 513s # * 513s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 513s # */ 513s # void 513s # org_project_callable_iface_call_simple_method ( 513s # OrgProjectCallableIface *proxy, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 513s # "SimpleMethod", 513s # g_variant_new ("()"), 513s # G_DBUS_CALL_FLAGS_NONE, 513s # -1, 513s # cancellable, 513s # callback, 513s # user_data); 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_call_simple_method_finish: 513s # * @proxy: A #OrgProjectCallableIfaceProxy. 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 513s # * @error: Return location for error or %NULL. 513s # * 513s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 513s # * 513s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 513s # */ 513s # gboolean 513s # org_project_callable_iface_call_simple_method_finish ( 513s # OrgProjectCallableIface *proxy, 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GVariant *_ret; 513s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 513s # if (_ret == NULL) 513s # goto _out; 513s # g_variant_get (_ret, 513s # "()"); 513s # g_variant_unref (_ret); 513s # _out: 513s # return _ret != NULL; 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_call_simple_method_sync: 513s # * @proxy: A #OrgProjectCallableIfaceProxy. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL. 513s # * 513s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 513s # * 513s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 513s # */ 513s # gboolean 513s # org_project_callable_iface_call_simple_method_sync ( 513s # OrgProjectCallableIface *proxy, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GVariant *_ret; 513s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 513s # "SimpleMethod", 513s # g_variant_new ("()"), 513s # G_DBUS_CALL_FLAGS_NONE, 513s # -1, 513s # cancellable, 513s # error); 513s # if (_ret == NULL) 513s # goto _out; 513s # g_variant_get (_ret, 513s # "()"); 513s # g_variant_unref (_ret); 513s # _out: 513s # return _ret != NULL; 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_complete_simple_method: 513s # * @object: A #OrgProjectCallableIface. 513s # * @invocation: (transfer full): A #GDBusMethodInvocation. 513s # * 513s # * 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. 513s # * 513s # * This method will free @invocation, you cannot use it afterwards. 513s # */ 513s # void 513s # org_project_callable_iface_complete_simple_method ( 513s # OrgProjectCallableIface *object G_GNUC_UNUSED, 513s # GDBusMethodInvocation *invocation) 513s # { 513s # g_dbus_method_invocation_return_value (invocation, 513s # g_variant_new ("()")); 513s # } 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * OrgProjectCallableIfaceProxy: 513s # * 513s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * OrgProjectCallableIfaceProxyClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for #OrgProjectCallableIfaceProxy. 513s # */ 513s # 513s # struct _OrgProjectCallableIfaceProxyPrivate 513s # { 513s # GData *qdata; 513s # }; 513s # 513s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 513s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 513s # 513s # #endif 513s # static void 513s # org_project_callable_iface_proxy_finalize (GObject *object) 513s # { 513s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 513s # g_datalist_clear (&proxy->priv->qdata); 513s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 513s # guint prop_id G_GNUC_UNUSED, 513s # GValue *value G_GNUC_UNUSED, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void 513s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 513s # guint prop_id G_GNUC_UNUSED, 513s # const GValue *value G_GNUC_UNUSED, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void 513s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 513s # const gchar *sender_name G_GNUC_UNUSED, 513s # const gchar *signal_name, 513s # GVariant *parameters) 513s # { 513s # _ExtendedGDBusSignalInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # gsize n; 513s # guint signal_id; 513s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 513s # if (info == NULL) 513s # return; 513s # num_params = g_variant_n_children (parameters); 513s # paramv = g_new0 (GValue, num_params + 1); 513s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 513s # g_value_set_object (¶mv[0], proxy); 513s # g_variant_iter_init (&iter, parameters); 513s # n = 1; 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 513s # g_signal_emitv (paramv, signal_id, 0, NULL); 513s # for (n = 0; n < num_params + 1; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static void 513s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 513s # GVariant *changed_properties, 513s # const gchar *const *invalidated_properties) 513s # { 513s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 513s # guint n; 513s # const gchar *key; 513s # GVariantIter *iter; 513s # _ExtendedGDBusPropertyInfo *info; 513s # g_variant_get (changed_properties, "a{sv}", &iter); 513s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 513s # g_datalist_remove_data (&proxy->priv->qdata, key); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # g_variant_iter_free (iter); 513s # for (n = 0; invalidated_properties[n] != NULL; n++) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 513s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # } 513s # 513s # static void 513s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 513s # #else 513s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 513s # #endif 513s # 513s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 513s # } 513s # 513s # static void 513s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusProxyClass *proxy_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 513s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 513s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 513s # 513s # proxy_class = G_DBUS_PROXY_CLASS (klass); 513s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 513s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_proxy_new: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 513s # * 513s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # org_project_callable_iface_proxy_new ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # 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); 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_proxy_new_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 513s # * 513s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectCallableIface * 513s # org_project_callable_iface_proxy_new_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return ORG_PROJECT_CALLABLE_IFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_proxy_new_sync: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectCallableIface * 513s # org_project_callable_iface_proxy_new_sync ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return ORG_PROJECT_CALLABLE_IFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /** 513s # * org_project_callable_iface_proxy_new_for_bus: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 513s # * 513s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # org_project_callable_iface_proxy_new_for_bus ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # 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); 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_proxy_new_for_bus_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 513s # * 513s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectCallableIface * 513s # org_project_callable_iface_proxy_new_for_bus_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return ORG_PROJECT_CALLABLE_IFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_proxy_new_for_bus_sync: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectCallableIface * 513s # org_project_callable_iface_proxy_new_for_bus_sync ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return ORG_PROJECT_CALLABLE_IFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * OrgProjectCallableIfaceSkeleton: 513s # * 513s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * OrgProjectCallableIfaceSkeletonClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for #OrgProjectCallableIfaceSkeleton. 513s # */ 513s # 513s # struct _OrgProjectCallableIfaceSkeletonPrivate 513s # { 513s # GValue *properties; 513s # GList *changed_properties; 513s # GSource *changed_properties_idle_source; 513s # GMainContext *context; 513s # GMutex lock; 513s # }; 513s # 513s # static void 513s # _org_project_callable_iface_skeleton_handle_method_call ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name, 513s # const gchar *method_name, 513s # GVariant *parameters, 513s # GDBusMethodInvocation *invocation, 513s # gpointer user_data) 513s # { 513s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 513s # _ExtendedGDBusMethodInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # guint num_extra; 513s # gsize n; 513s # guint signal_id; 513s # GValue return_value = G_VALUE_INIT; 513s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 513s # g_assert (info != NULL); 513s # num_params = g_variant_n_children (parameters); 513s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 513s # n = 0; 513s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 513s # g_value_set_object (¶mv[n++], skeleton); 513s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 513s # g_value_set_object (¶mv[n++], invocation); 513s # if (info->pass_fdlist) 513s # { 513s # #ifdef G_OS_UNIX 513s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 513s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 513s # #else 513s # g_assert_not_reached (); 513s # #endif 513s # } 513s # g_variant_iter_init (&iter, parameters); 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 513s # g_value_init (&return_value, G_TYPE_BOOLEAN); 513s # g_signal_emitv (paramv, signal_id, 0, &return_value); 513s # if (!g_value_get_boolean (&return_value)) 513s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 513s # g_value_unset (&return_value); 513s # for (n = 0; n < num_params + num_extra; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static GVariant * 513s # _org_project_callable_iface_skeleton_handle_get_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # GVariant *ret; 513s # ret = NULL; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # g_value_init (&value, pspec->value_type); 513s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 513s # g_value_unset (&value); 513s # } 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _org_project_callable_iface_skeleton_handle_set_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GVariant *variant, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # gboolean ret; 513s # ret = FALSE; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # if (info->use_gvariant) 513s # g_value_set_variant (&value, variant); 513s # else 513s # g_dbus_gvariant_to_gvalue (variant, &value); 513s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # g_value_unset (&value); 513s # ret = TRUE; 513s # } 513s # return ret; 513s # } 513s # 513s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 513s # { 513s # _org_project_callable_iface_skeleton_handle_method_call, 513s # _org_project_callable_iface_skeleton_handle_get_property, 513s # _org_project_callable_iface_skeleton_handle_set_property, 513s # {NULL} 513s # }; 513s # 513s # static GDBusInterfaceInfo * 513s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 513s # { 513s # return org_project_callable_iface_interface_info (); 513s # } 513s # 513s # static GDBusInterfaceVTable * 513s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 513s # { 513s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 513s # } 513s # 513s # static GVariant * 513s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 513s # { 513s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 513s # 513s # GVariantBuilder builder; 513s # guint n; 513s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 513s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 513s # goto out; 513s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 513s # { 513s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 513s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 513s # { 513s # GVariant *value; 513s # 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); 513s # if (value != NULL) 513s # { 513s # g_variant_take_ref (value); 513s # g_variant_builder_add (&builder, "{sv}", info->name, value); 513s # g_variant_unref (value); 513s # } 513s # } 513s # } 513s # out: 513s # return g_variant_builder_end (&builder); 513s # } 513s # 513s # static void 513s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 513s # 513s # #endif 513s # static void 513s # org_project_callable_iface_skeleton_finalize (GObject *object) 513s # { 513s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 513s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 513s # if (skeleton->priv->changed_properties_idle_source != NULL) 513s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 513s # g_main_context_unref (skeleton->priv->context); 513s # g_mutex_clear (&skeleton->priv->lock); 513s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 513s # #else 513s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 513s # #endif 513s # 513s # g_mutex_init (&skeleton->priv->lock); 513s # skeleton->priv->context = g_main_context_ref_thread_default (); 513s # } 513s # 513s # static void 513s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusInterfaceSkeletonClass *skeleton_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 513s # 513s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 513s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 513s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 513s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 513s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # /** 513s # * org_project_callable_iface_skeleton_new: 513s # * 513s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 513s # * 513s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 513s # */ 513s # OrgProjectCallableIface * 513s # org_project_callable_iface_skeleton_new (void) 513s # { 513s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 513s # } 513s # 513s # /* ------------------------------------------------------------------------ 513s # * Code for interface org.project.OtherCallableIface 513s # * ------------------------------------------------------------------------ 513s # */ 513s # 513s # /** 513s # * SECTION:OrgProjectOtherCallableIface 513s # * @title: OrgProjectOtherCallableIface 513s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 513s # * 513s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 513s # */ 513s # 513s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 513s # 513s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 513s # { 513s # { 513s # -1, 513s # (gchar *) "SimpleMethod", 513s # NULL, 513s # NULL, 513s # NULL 513s # }, 513s # "handle-simple-method", 513s # FALSE 513s # }; 513s # 513s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 513s # { 513s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 513s # NULL 513s # }; 513s # 513s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 513s # { 513s # { 513s # -1, 513s # (gchar *) "org.project.OtherCallableIface", 513s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 513s # NULL, 513s # NULL, 513s # NULL 513s # }, 513s # "org-project-other-callable-iface", 513s # }; 513s # 513s # 513s # /** 513s # * org_project_other_callable_iface_interface_info: 513s # * 513s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 513s # * 513s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 513s # */ 513s # GDBusInterfaceInfo * 513s # org_project_other_callable_iface_interface_info (void) 513s # { 513s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_override_properties: 513s # * @klass: The class structure for a #GObject derived class. 513s # * @property_id_begin: The property id to assign to the first overridden property. 513s # * 513s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 513s # * The properties are overridden in the order they are defined. 513s # * 513s # * Returns: The last property id. 513s # */ 513s # guint 513s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 513s # { 513s # return property_id_begin - 1; 513s # } 513s # 513s # 513s # inline static void 513s # org_project_other_callable_iface_method_marshal_simple_method ( 513s # GClosure *closure, 513s # GValue *return_value, 513s # unsigned int n_param_values, 513s # const GValue *param_values, 513s # void *invocation_hint, 513s # void *marshal_data) 513s # { 513s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 513s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 513s # } 513s # 513s # 513s # /** 513s # * OrgProjectOtherCallableIface: 513s # * 513s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 513s # */ 513s # 513s # /** 513s # * OrgProjectOtherCallableIfaceIface: 513s # * @parent_iface: The parent interface. 513s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 513s # * 513s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 513s # */ 513s # 513s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 513s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 513s # 513s # static void 513s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 513s # { 513s # /* GObject signals for incoming D-Bus method calls: */ 513s # /** 513s # * OrgProjectOtherCallableIface::handle-simple-method: 513s # * @object: A #OrgProjectOtherCallableIface. 513s # * @invocation: A #GDBusMethodInvocation. 513s # * 513s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 513s # * 513s # * 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. 513s # * 513s # * 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. 513s # */ 513s # g_signal_new ("handle-simple-method", 513s # G_TYPE_FROM_INTERFACE (iface), 513s # G_SIGNAL_RUN_LAST, 513s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 513s # g_signal_accumulator_true_handled, 513s # NULL, 513s # org_project_other_callable_iface_method_marshal_simple_method, 513s # G_TYPE_BOOLEAN, 513s # 1, 513s # G_TYPE_DBUS_METHOD_INVOCATION); 513s # 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_call_simple_method: 513s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 513s # * 513s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 513s # */ 513s # void 513s # org_project_other_callable_iface_call_simple_method ( 513s # OrgProjectOtherCallableIface *proxy, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 513s # "SimpleMethod", 513s # g_variant_new ("()"), 513s # G_DBUS_CALL_FLAGS_NONE, 513s # -1, 513s # cancellable, 513s # callback, 513s # user_data); 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_call_simple_method_finish: 513s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 513s # * @error: Return location for error or %NULL. 513s # * 513s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 513s # * 513s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 513s # */ 513s # gboolean 513s # org_project_other_callable_iface_call_simple_method_finish ( 513s # OrgProjectOtherCallableIface *proxy, 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GVariant *_ret; 513s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 513s # if (_ret == NULL) 513s # goto _out; 513s # g_variant_get (_ret, 513s # "()"); 513s # g_variant_unref (_ret); 513s # _out: 513s # return _ret != NULL; 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_call_simple_method_sync: 513s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL. 513s # * 513s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 513s # * 513s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 513s # */ 513s # gboolean 513s # org_project_other_callable_iface_call_simple_method_sync ( 513s # OrgProjectOtherCallableIface *proxy, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GVariant *_ret; 513s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 513s # "SimpleMethod", 513s # g_variant_new ("()"), 513s # G_DBUS_CALL_FLAGS_NONE, 513s # -1, 513s # cancellable, 513s # error); 513s # if (_ret == NULL) 513s # goto _out; 513s # g_variant_get (_ret, 513s # "()"); 513s # g_variant_unref (_ret); 513s # _out: 513s # return _ret != NULL; 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_complete_simple_method: 513s # * @object: A #OrgProjectOtherCallableIface. 513s # * @invocation: (transfer full): A #GDBusMethodInvocation. 513s # * 513s # * 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. 513s # * 513s # * This method will free @invocation, you cannot use it afterwards. 513s # */ 513s # void 513s # org_project_other_callable_iface_complete_simple_method ( 513s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 513s # GDBusMethodInvocation *invocation) 513s # { 513s # g_dbus_method_invocation_return_value (invocation, 513s # g_variant_new ("()")); 513s # } 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * OrgProjectOtherCallableIfaceProxy: 513s # * 513s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * OrgProjectOtherCallableIfaceProxyClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 513s # */ 513s # 513s # struct _OrgProjectOtherCallableIfaceProxyPrivate 513s # { 513s # GData *qdata; 513s # }; 513s # 513s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 513s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 513s # 513s # #endif 513s # static void 513s # org_project_other_callable_iface_proxy_finalize (GObject *object) 513s # { 513s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 513s # g_datalist_clear (&proxy->priv->qdata); 513s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 513s # guint prop_id G_GNUC_UNUSED, 513s # GValue *value G_GNUC_UNUSED, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 513s # guint prop_id G_GNUC_UNUSED, 513s # const GValue *value G_GNUC_UNUSED, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 513s # const gchar *sender_name G_GNUC_UNUSED, 513s # const gchar *signal_name, 513s # GVariant *parameters) 513s # { 513s # _ExtendedGDBusSignalInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # gsize n; 513s # guint signal_id; 513s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 513s # if (info == NULL) 513s # return; 513s # num_params = g_variant_n_children (parameters); 513s # paramv = g_new0 (GValue, num_params + 1); 513s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 513s # g_value_set_object (¶mv[0], proxy); 513s # g_variant_iter_init (&iter, parameters); 513s # n = 1; 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 513s # g_signal_emitv (paramv, signal_id, 0, NULL); 513s # for (n = 0; n < num_params + 1; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 513s # GVariant *changed_properties, 513s # const gchar *const *invalidated_properties) 513s # { 513s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 513s # guint n; 513s # const gchar *key; 513s # GVariantIter *iter; 513s # _ExtendedGDBusPropertyInfo *info; 513s # g_variant_get (changed_properties, "a{sv}", &iter); 513s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 513s # g_datalist_remove_data (&proxy->priv->qdata, key); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # g_variant_iter_free (iter); 513s # for (n = 0; invalidated_properties[n] != NULL; n++) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 513s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 513s # #else 513s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 513s # #endif 513s # 513s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusProxyClass *proxy_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 513s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 513s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 513s # 513s # proxy_class = G_DBUS_PROXY_CLASS (klass); 513s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 513s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_proxy_new: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 513s # * 513s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # org_project_other_callable_iface_proxy_new ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # 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); 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_proxy_new_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 513s # * 513s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectOtherCallableIface * 513s # org_project_other_callable_iface_proxy_new_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_proxy_new_sync: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectOtherCallableIface * 513s # org_project_other_callable_iface_proxy_new_sync ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /** 513s # * org_project_other_callable_iface_proxy_new_for_bus: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 513s # * 513s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # org_project_other_callable_iface_proxy_new_for_bus ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # 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); 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 513s # * 513s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectOtherCallableIface * 513s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectOtherCallableIface * 513s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * OrgProjectOtherCallableIfaceSkeleton: 513s # * 513s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * OrgProjectOtherCallableIfaceSkeletonClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 513s # */ 513s # 513s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 513s # { 513s # GValue *properties; 513s # GList *changed_properties; 513s # GSource *changed_properties_idle_source; 513s # GMainContext *context; 513s # GMutex lock; 513s # }; 513s # 513s # static void 513s # _org_project_other_callable_iface_skeleton_handle_method_call ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name, 513s # const gchar *method_name, 513s # GVariant *parameters, 513s # GDBusMethodInvocation *invocation, 513s # gpointer user_data) 513s # { 513s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 513s # _ExtendedGDBusMethodInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # guint num_extra; 513s # gsize n; 513s # guint signal_id; 513s # GValue return_value = G_VALUE_INIT; 513s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 513s # g_assert (info != NULL); 513s # num_params = g_variant_n_children (parameters); 513s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 513s # n = 0; 513s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 513s # g_value_set_object (¶mv[n++], skeleton); 513s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 513s # g_value_set_object (¶mv[n++], invocation); 513s # if (info->pass_fdlist) 513s # { 513s # #ifdef G_OS_UNIX 513s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 513s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 513s # #else 513s # g_assert_not_reached (); 513s # #endif 513s # } 513s # g_variant_iter_init (&iter, parameters); 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 513s # g_value_init (&return_value, G_TYPE_BOOLEAN); 513s # g_signal_emitv (paramv, signal_id, 0, &return_value); 513s # if (!g_value_get_boolean (&return_value)) 513s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 513s # g_value_unset (&return_value); 513s # for (n = 0; n < num_params + num_extra; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static GVariant * 513s # _org_project_other_callable_iface_skeleton_handle_get_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # GVariant *ret; 513s # ret = NULL; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # g_value_init (&value, pspec->value_type); 513s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 513s # g_value_unset (&value); 513s # } 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _org_project_other_callable_iface_skeleton_handle_set_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GVariant *variant, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # gboolean ret; 513s # ret = FALSE; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # if (info->use_gvariant) 513s # g_value_set_variant (&value, variant); 513s # else 513s # g_dbus_gvariant_to_gvalue (variant, &value); 513s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # g_value_unset (&value); 513s # ret = TRUE; 513s # } 513s # return ret; 513s # } 513s # 513s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 513s # { 513s # _org_project_other_callable_iface_skeleton_handle_method_call, 513s # _org_project_other_callable_iface_skeleton_handle_get_property, 513s # _org_project_other_callable_iface_skeleton_handle_set_property, 513s # {NULL} 513s # }; 513s # 513s # static GDBusInterfaceInfo * 513s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 513s # { 513s # return org_project_other_callable_iface_interface_info (); 513s # } 513s # 513s # static GDBusInterfaceVTable * 513s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 513s # { 513s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 513s # } 513s # 513s # static GVariant * 513s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 513s # { 513s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 513s # 513s # GVariantBuilder builder; 513s # guint n; 513s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 513s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 513s # goto out; 513s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 513s # { 513s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 513s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 513s # { 513s # GVariant *value; 513s # 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); 513s # if (value != NULL) 513s # { 513s # g_variant_take_ref (value); 513s # g_variant_builder_add (&builder, "{sv}", info->name, value); 513s # g_variant_unref (value); 513s # } 513s # } 513s # } 513s # out: 513s # return g_variant_builder_end (&builder); 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 513s # 513s # #endif 513s # static void 513s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 513s # { 513s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 513s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 513s # if (skeleton->priv->changed_properties_idle_source != NULL) 513s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 513s # g_main_context_unref (skeleton->priv->context); 513s # g_mutex_clear (&skeleton->priv->lock); 513s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 513s # #else 513s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 513s # #endif 513s # 513s # g_mutex_init (&skeleton->priv->lock); 513s # skeleton->priv->context = g_main_context_ref_thread_default (); 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusInterfaceSkeletonClass *skeleton_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 513s # 513s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 513s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 513s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 513s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 513s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # /** 513s # * org_project_other_callable_iface_skeleton_new: 513s # * 513s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 513s # * 513s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 513s # */ 513s # OrgProjectOtherCallableIface * 513s # org_project_other_callable_iface_skeleton_new (void) 513s # { 513s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 513s # } 513s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 513s # tmpdir: /tmp/tmpb4sf3v38 513s # codegen: /usr/bin/gdbus-codegen 513s # /tmp/tmpb4sf3v38/tmp8073q5ig.xml: 513s # 513s # 513s # 513s # 513s # 513s # 513s # 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmp8073q5ig.xml', '--output', '-', '--body'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: /* 513s # * This file is generated by gdbus-codegen, do not modify it. 513s # * 513s # * The license of this code is the same as for the D-Bus interface description 513s # * it was derived from. Note that it links to GLib, so must comply with the 513s # * LGPL linking clauses. 513s # */ 513s # 513s # #ifdef HAVE_CONFIG_H 513s # # include "config.h" 513s # #endif 513s # 513s # #include 513s # #ifdef G_OS_UNIX 513s # # include 513s # #endif 513s # 513s # #ifdef G_ENABLE_DEBUG 513s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 513s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 513s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 513s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 513s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 513s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 513s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 513s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 513s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 513s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 513s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 513s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 513s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 513s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 513s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 513s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 513s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 513s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 513s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 513s # #else /* !G_ENABLE_DEBUG */ 513s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 513s # * Do not access GValues directly in your code. Instead, use the 513s # * g_value_get_*() functions 513s # */ 513s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 513s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 513s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 513s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 513s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 513s # #endif /* !G_ENABLE_DEBUG */ 513s # 513s # typedef struct 513s # { 513s # GDBusArgInfo parent_struct; 513s # gboolean use_gvariant; 513s # } _ExtendedGDBusArgInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusMethodInfo parent_struct; 513s # const gchar *signal_name; 513s # gboolean pass_fdlist; 513s # } _ExtendedGDBusMethodInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusSignalInfo parent_struct; 513s # const gchar *signal_name; 513s # } _ExtendedGDBusSignalInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusPropertyInfo parent_struct; 513s # const gchar *hyphen_name; 513s # guint use_gvariant : 1; 513s # guint emits_changed_signal : 1; 513s # } _ExtendedGDBusPropertyInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusInterfaceInfo parent_struct; 513s # const gchar *hyphen_name; 513s # } _ExtendedGDBusInterfaceInfo; 513s # 513s # typedef struct 513s # { 513s # const _ExtendedGDBusPropertyInfo *info; 513s # guint prop_id; 513s # GValue orig_value; /* the value before the change */ 513s # } ChangedProperty; 513s # 513s # static void 513s # _changed_property_free (ChangedProperty *data) 513s # { 513s # g_value_unset (&data->orig_value); 513s # g_free (data); 513s # } 513s # 513s # static gboolean 513s # _g_strv_equal0 (gchar **a, gchar **b) 513s # { 513s # gboolean ret = FALSE; 513s # guint n; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # if (g_strv_length (a) != g_strv_length (b)) 513s # goto out; 513s # for (n = 0; a[n] != NULL; n++) 513s # if (g_strcmp0 (a[n], b[n]) != 0) 513s # goto out; 513s # ret = TRUE; 513s # out: 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _g_variant_equal0 (GVariant *a, GVariant *b) 513s # { 513s # gboolean ret = FALSE; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # ret = g_variant_equal (a, b); 513s # out: 513s # return ret; 513s # } 513s # 513s # G_GNUC_UNUSED static gboolean 513s # _g_value_equal (const GValue *a, const GValue *b) 513s # { 513s # gboolean ret = FALSE; 513s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 513s # switch (G_VALUE_TYPE (a)) 513s # { 513s # case G_TYPE_BOOLEAN: 513s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 513s # break; 513s # case G_TYPE_UCHAR: 513s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 513s # break; 513s # case G_TYPE_INT: 513s # ret = (g_value_get_int (a) == g_value_get_int (b)); 513s # break; 513s # case G_TYPE_UINT: 513s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 513s # break; 513s # case G_TYPE_INT64: 513s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 513s # break; 513s # case G_TYPE_UINT64: 513s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 513s # break; 513s # case G_TYPE_DOUBLE: 513s # { 513s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 513s # gdouble da = g_value_get_double (a); 513s # gdouble db = g_value_get_double (b); 513s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 513s # } 513s # break; 513s # case G_TYPE_STRING: 513s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 513s # break; 513s # case G_TYPE_VARIANT: 513s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 513s # break; 513s # default: 513s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 513s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 513s # else 513s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 513s # break; 513s # } 513s # return ret; 513s # } 513s # 513s # static void 513s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 513s # GClosure *closure, 513s # GValue *return_value, 513s # unsigned int n_param_values, 513s # const GValue *param_values, 513s # void *invocation_hint G_GNUC_UNUSED, 513s # void *marshal_data) 513s # { 513s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 513s # (void *data1, 513s # GDBusMethodInvocation *arg_method_invocation, 513s # gboolean arg_arg_b, 513s # void *data2); 513s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 513s # GCClosure *cc = (GCClosure*) closure; 513s # void *data1, *data2; 513s # gboolean v_return; 513s # 513s # g_return_if_fail (return_value != NULL); 513s # g_return_if_fail (n_param_values == 3); 513s # 513s # if (G_CCLOSURE_SWAP_DATA (closure)) 513s # { 513s # data1 = closure->data; 513s # data2 = g_value_peek_pointer (param_values + 0); 513s # } 513s # else 513s # { 513s # data1 = g_value_peek_pointer (param_values + 0); 513s # data2 = closure->data; 513s # } 513s # 513s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 513s # (marshal_data ? marshal_data : cc->callback); 513s # 513s # v_return = 513s # callback (data1, 513s # g_marshal_value_peek_object (param_values + 1), 513s # g_marshal_value_peek_boolean (param_values + 2), 513s # data2); 513s # 513s # g_value_set_boolean (return_value, v_return); 513s # } 513s # 513s # /* ------------------------------------------------------------------------ 513s # * Code for interface org.project.UsefulInterface 513s # * ------------------------------------------------------------------------ 513s # */ 513s # 513s # /** 513s # * SECTION:OrgProjectUsefulInterface 513s # * @title: OrgProjectUsefulInterface 513s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 513s # * 513s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 513s # */ 513s # 513s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 513s # 513s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 513s # { 513s # { 513s # -1, 513s # (gchar *) "arg_b", 513s # (gchar *) "b", 513s # NULL 513s # }, 513s # FALSE 513s # }; 513s # 513s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 513s # { 513s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 513s # NULL 513s # }; 513s # 513s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 513s # { 513s # { 513s # -1, 513s # (gchar *) "SingleArgMethodB", 513s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 513s # NULL, 513s # NULL 513s # }, 513s # "handle-single-arg-method-b", 513s # FALSE 513s # }; 513s # 513s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 513s # { 513s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 513s # NULL 513s # }; 513s # 513s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 513s # { 513s # { 513s # -1, 513s # (gchar *) "org.project.UsefulInterface", 513s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 513s # NULL, 513s # NULL, 513s # NULL 513s # }, 513s # "org-project-useful-interface", 513s # }; 513s # 513s # 513s # /** 513s # * org_project_useful_interface_interface_info: 513s # * 513s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 513s # * 513s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 513s # */ 513s # GDBusInterfaceInfo * 513s # org_project_useful_interface_interface_info (void) 513s # { 513s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_override_properties: 513s # * @klass: The class structure for a #GObject derived class. 513s # * @property_id_begin: The property id to assign to the first overridden property. 513s # * 513s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 513s # * The properties are overridden in the order they are defined. 513s # * 513s # * Returns: The last property id. 513s # */ 513s # guint 513s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 513s # { 513s # return property_id_begin - 1; 513s # } 513s # 513s # 513s # inline static void 513s # org_project_useful_interface_method_marshal_single_arg_method_b ( 513s # GClosure *closure, 513s # GValue *return_value, 513s # unsigned int n_param_values, 513s # const GValue *param_values, 513s # void *invocation_hint, 513s # void *marshal_data) 513s # { 513s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 513s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 513s # } 513s # 513s # 513s # /** 513s # * OrgProjectUsefulInterface: 513s # * 513s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 513s # */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceIface: 513s # * @parent_iface: The parent interface. 513s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 513s # * 513s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 513s # */ 513s # 513s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 513s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 513s # 513s # static void 513s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 513s # { 513s # /* GObject signals for incoming D-Bus method calls: */ 513s # /** 513s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 513s # * @object: A #OrgProjectUsefulInterface. 513s # * @invocation: A #GDBusMethodInvocation. 513s # * @arg_arg_b: Argument passed by remote caller. 513s # * 513s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 513s # * 513s # * 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. 513s # * 513s # * 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. 513s # */ 513s # g_signal_new ("handle-single-arg-method-b", 513s # G_TYPE_FROM_INTERFACE (iface), 513s # G_SIGNAL_RUN_LAST, 513s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 513s # g_signal_accumulator_true_handled, 513s # NULL, 513s # org_project_useful_interface_method_marshal_single_arg_method_b, 513s # G_TYPE_BOOLEAN, 513s # 2, 513s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 513s # 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_call_single_arg_method_b: 513s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 513s # * @arg_arg_b: Argument to pass with the method invocation. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 513s # * 513s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 513s # */ 513s # void 513s # org_project_useful_interface_call_single_arg_method_b ( 513s # OrgProjectUsefulInterface *proxy, 513s # gboolean arg_arg_b, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 513s # "SingleArgMethodB", 513s # g_variant_new ("(b)", 513s # arg_arg_b), 513s # G_DBUS_CALL_FLAGS_NONE, 513s # -1, 513s # cancellable, 513s # callback, 513s # user_data); 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_call_single_arg_method_b_finish: 513s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 513s # * @error: Return location for error or %NULL. 513s # * 513s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 513s # * 513s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 513s # */ 513s # gboolean 513s # org_project_useful_interface_call_single_arg_method_b_finish ( 513s # OrgProjectUsefulInterface *proxy, 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GVariant *_ret; 513s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 513s # if (_ret == NULL) 513s # goto _out; 513s # g_variant_get (_ret, 513s # "()"); 513s # g_variant_unref (_ret); 513s # _out: 513s # return _ret != NULL; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_call_single_arg_method_b_sync: 513s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 513s # * @arg_arg_b: Argument to pass with the method invocation. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL. 513s # * 513s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 513s # * 513s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 513s # */ 513s # gboolean 513s # org_project_useful_interface_call_single_arg_method_b_sync ( 513s # OrgProjectUsefulInterface *proxy, 513s # gboolean arg_arg_b, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GVariant *_ret; 513s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 513s # "SingleArgMethodB", 513s # g_variant_new ("(b)", 513s # arg_arg_b), 513s # G_DBUS_CALL_FLAGS_NONE, 513s # -1, 513s # cancellable, 513s # error); 513s # if (_ret == NULL) 513s # goto _out; 513s # g_variant_get (_ret, 513s # "()"); 513s # g_variant_unref (_ret); 513s # _out: 513s # return _ret != NULL; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_complete_single_arg_method_b: 513s # * @object: A #OrgProjectUsefulInterface. 513s # * @invocation: (transfer full): A #GDBusMethodInvocation. 513s # * 513s # * 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. 513s # * 513s # * This method will free @invocation, you cannot use it afterwards. 513s # */ 513s # void 513s # org_project_useful_interface_complete_single_arg_method_b ( 513s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 513s # GDBusMethodInvocation *invocation) 513s # { 513s # g_dbus_method_invocation_return_value (invocation, 513s # g_variant_new ("()")); 513s # } 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceProxy: 513s # * 513s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceProxyClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for #OrgProjectUsefulInterfaceProxy. 513s # */ 513s # 513s # struct _OrgProjectUsefulInterfaceProxyPrivate 513s # { 513s # GData *qdata; 513s # }; 513s # 513s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 513s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 513s # 513s # #endif 513s # static void 513s # org_project_useful_interface_proxy_finalize (GObject *object) 513s # { 513s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 513s # g_datalist_clear (&proxy->priv->qdata); 513s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 513s # guint prop_id G_GNUC_UNUSED, 513s # GValue *value G_GNUC_UNUSED, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 513s # guint prop_id G_GNUC_UNUSED, 513s # const GValue *value G_GNUC_UNUSED, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 513s # const gchar *sender_name G_GNUC_UNUSED, 513s # const gchar *signal_name, 513s # GVariant *parameters) 513s # { 513s # _ExtendedGDBusSignalInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # gsize n; 513s # guint signal_id; 513s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 513s # if (info == NULL) 513s # return; 513s # num_params = g_variant_n_children (parameters); 513s # paramv = g_new0 (GValue, num_params + 1); 513s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 513s # g_value_set_object (¶mv[0], proxy); 513s # g_variant_iter_init (&iter, parameters); 513s # n = 1; 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 513s # g_signal_emitv (paramv, signal_id, 0, NULL); 513s # for (n = 0; n < num_params + 1; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 513s # GVariant *changed_properties, 513s # const gchar *const *invalidated_properties) 513s # { 513s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 513s # guint n; 513s # const gchar *key; 513s # GVariantIter *iter; 513s # _ExtendedGDBusPropertyInfo *info; 513s # g_variant_get (changed_properties, "a{sv}", &iter); 513s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 513s # g_datalist_remove_data (&proxy->priv->qdata, key); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # g_variant_iter_free (iter); 513s # for (n = 0; invalidated_properties[n] != NULL; n++) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 513s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 513s # #else 513s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 513s # #endif 513s # 513s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusProxyClass *proxy_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 513s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 513s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 513s # 513s # proxy_class = G_DBUS_PROXY_CLASS (klass); 513s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 513s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 513s # * 513s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # org_project_useful_interface_proxy_new ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # g_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); 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 513s # * 513s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectUsefulInterface * 513s # org_project_useful_interface_proxy_new_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_sync: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectUsefulInterface * 513s # org_project_useful_interface_proxy_new_sync ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_for_bus: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 513s # * 513s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # org_project_useful_interface_proxy_new_for_bus ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # g_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); 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_for_bus_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 513s # * 513s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectUsefulInterface * 513s # org_project_useful_interface_proxy_new_for_bus_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_for_bus_sync: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectUsefulInterface * 513s # org_project_useful_interface_proxy_new_for_bus_sync ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceSkeleton: 513s # * 513s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceSkeletonClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 513s # */ 513s # 513s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 513s # { 513s # GValue *properties; 513s # GList *changed_properties; 513s # GSource *changed_properties_idle_source; 513s # GMainContext *context; 513s # GMutex lock; 513s # }; 513s # 513s # static void 513s # _org_project_useful_interface_skeleton_handle_method_call ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name, 513s # const gchar *method_name, 513s # GVariant *parameters, 513s # GDBusMethodInvocation *invocation, 513s # gpointer user_data) 513s # { 513s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 513s # _ExtendedGDBusMethodInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # guint num_extra; 513s # gsize n; 513s # guint signal_id; 513s # GValue return_value = G_VALUE_INIT; 513s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 513s # g_assert (info != NULL); 513s # num_params = g_variant_n_children (parameters); 513s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 513s # n = 0; 513s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 513s # g_value_set_object (¶mv[n++], skeleton); 513s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 513s # g_value_set_object (¶mv[n++], invocation); 513s # if (info->pass_fdlist) 513s # { 513s # #ifdef G_OS_UNIX 513s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 513s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 513s # #else 513s # g_assert_not_reached (); 513s # #endif 513s # } 513s # g_variant_iter_init (&iter, parameters); 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 513s # g_value_init (&return_value, G_TYPE_BOOLEAN); 513s # g_signal_emitv (paramv, signal_id, 0, &return_value); 513s # if (!g_value_get_boolean (&return_value)) 513s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 513s # g_value_unset (&return_value); 513s # for (n = 0; n < num_params + num_extra; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static GVariant * 513s # _org_project_useful_interface_skeleton_handle_get_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # GVariant *ret; 513s # ret = NULL; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # g_value_init (&value, pspec->value_type); 513s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 513s # g_value_unset (&value); 513s # } 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _org_project_useful_interface_skeleton_handle_set_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GVariant *variant, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # gboolean ret; 513s # ret = FALSE; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # if (info->use_gvariant) 513s # g_value_set_variant (&value, variant); 513s # else 513s # g_dbus_gvariant_to_gvalue (variant, &value); 513s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # g_value_unset (&value); 513s # ret = TRUE; 513s # } 513s # return ret; 513s # } 513s # 513s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 513s # { 513s # _org_project_useful_interface_skeleton_handle_method_call, 513s # _org_project_useful_interface_skeleton_handle_get_property, 513s # _org_project_useful_interface_skeleton_handle_set_property, 513s # {NULL} 513s # }; 513s # 513s # static GDBusInterfaceInfo * 513s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 513s # { 513s # return org_project_useful_interface_interface_info (); 513s # } 513s # 513s # static GDBusInterfaceVTable * 513s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 513s # { 513s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 513s # } 513s # 513s # static GVariant * 513s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 513s # { 513s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 513s # 513s # GVariantBuilder builder; 513s # guint n; 513s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 513s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 513s # goto out; 513s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 513s # { 513s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 513s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 513s # { 513s # GVariant *value; 513s # 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); 513s # if (value != NULL) 513s # { 513s # g_variant_take_ref (value); 513s # g_variant_builder_add (&builder, "{sv}", info->name, value); 513s # g_variant_unref (value); 513s # } 513s # } 513s # } 513s # out: 513s # return g_variant_builder_end (&builder); 513s # } 513s # 513s # static void 513s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 513s # 513s # #endif 513s # static void 513s # org_project_useful_interface_skeleton_finalize (GObject *object) 513s # { 513s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 513s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 513s # if (skeleton->priv->changed_properties_idle_source != NULL) 513s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 513s # g_main_context_unref (skeleton->priv->context); 513s # g_mutex_clear (&skeleton->priv->lock); 513s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 513s # #else 513s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 513s # #endif 513s # 513s # g_mutex_init (&skeleton->priv->lock); 513s # skeleton->priv->context = g_main_context_ref_thread_default (); 513s # } 513s # 513s # static void 513s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusInterfaceSkeletonClass *skeleton_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 513s # 513s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 513s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 513s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 513s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 513s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_skeleton_new: 513s # * 513s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 513s # * 513s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 513s # */ 513s # OrgProjectUsefulInterface * 513s # org_project_useful_interface_skeleton_new (void) 513s # { 513s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 513s # } 513s # /tmp/tmpb4sf3v38/tmp6t1e64vh.xml: 513s # 513s # 513s # 513s # 513s # 513s # 513s # 513s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmp6t1e64vh.xml', '--output', '-', '--body'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: /* 513s # * This file is generated by gdbus-codegen, do not modify it. 513s # * 513s # * The license of this code is the same as for the D-Bus interface description 513s # * it was derived from. Note that it links to GLib, so must comply with the 513s # * LGPL linking clauses. 513s # */ 513s # 513s # #ifdef HAVE_CONFIG_H 513s # # include "config.h" 513s # #endif 513s # 513s # #include 513s # #ifdef G_OS_UNIX 513s # # include 513s # #endif 513s # 513s # #ifdef G_ENABLE_DEBUG 513s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 513s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 513s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 513s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 513s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 513s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 513s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 513s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 513s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 513s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 513s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 513s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 513s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 513s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 513s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 513s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 513s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 513s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 513s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 513s # #else /* !G_ENABLE_DEBUG */ 513s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 513s # * Do not access GValues directly in your code. Instead, use the 513s # * g_value_get_*() functions 513s # */ 513s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 513s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 513s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 513s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 513s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 513s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 513s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 513s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 513s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 513s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 513s # #endif /* !G_ENABLE_DEBUG */ 513s # 513s # typedef struct 513s # { 513s # GDBusArgInfo parent_struct; 513s # gboolean use_gvariant; 513s # } _ExtendedGDBusArgInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusMethodInfo parent_struct; 513s # const gchar *signal_name; 513s # gboolean pass_fdlist; 513s # } _ExtendedGDBusMethodInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusSignalInfo parent_struct; 513s # const gchar *signal_name; 513s # } _ExtendedGDBusSignalInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusPropertyInfo parent_struct; 513s # const gchar *hyphen_name; 513s # guint use_gvariant : 1; 513s # guint emits_changed_signal : 1; 513s # } _ExtendedGDBusPropertyInfo; 513s # 513s # typedef struct 513s # { 513s # GDBusInterfaceInfo parent_struct; 513s # const gchar *hyphen_name; 513s # } _ExtendedGDBusInterfaceInfo; 513s # 513s # typedef struct 513s # { 513s # const _ExtendedGDBusPropertyInfo *info; 513s # guint prop_id; 513s # GValue orig_value; /* the value before the change */ 513s # } ChangedProperty; 513s # 513s # static void 513s # _changed_property_free (ChangedProperty *data) 513s # { 513s # g_value_unset (&data->orig_value); 513s # g_free (data); 513s # } 513s # 513s # static gboolean 513s # _g_strv_equal0 (gchar **a, gchar **b) 513s # { 513s # gboolean ret = FALSE; 513s # guint n; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # if (g_strv_length (a) != g_strv_length (b)) 513s # goto out; 513s # for (n = 0; a[n] != NULL; n++) 513s # if (g_strcmp0 (a[n], b[n]) != 0) 513s # goto out; 513s # ret = TRUE; 513s # out: 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _g_variant_equal0 (GVariant *a, GVariant *b) 513s # { 513s # gboolean ret = FALSE; 513s # if (a == NULL && b == NULL) 513s # { 513s # ret = TRUE; 513s # goto out; 513s # } 513s # if (a == NULL || b == NULL) 513s # goto out; 513s # ret = g_variant_equal (a, b); 513s # out: 513s # return ret; 513s # } 513s # 513s # G_GNUC_UNUSED static gboolean 513s # _g_value_equal (const GValue *a, const GValue *b) 513s # { 513s # gboolean ret = FALSE; 513s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 513s # switch (G_VALUE_TYPE (a)) 513s # { 513s # case G_TYPE_BOOLEAN: 513s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 513s # break; 513s # case G_TYPE_UCHAR: 513s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 513s # break; 513s # case G_TYPE_INT: 513s # ret = (g_value_get_int (a) == g_value_get_int (b)); 513s # break; 513s # case G_TYPE_UINT: 513s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 513s # break; 513s # case G_TYPE_INT64: 513s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 513s # break; 513s # case G_TYPE_UINT64: 513s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 513s # break; 513s # case G_TYPE_DOUBLE: 513s # { 513s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 513s # gdouble da = g_value_get_double (a); 513s # gdouble db = g_value_get_double (b); 513s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 513s # } 513s # break; 513s # case G_TYPE_STRING: 513s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 513s # break; 513s # case G_TYPE_VARIANT: 513s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 513s # break; 513s # default: 513s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 513s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 513s # else 513s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 513s # break; 513s # } 513s # return ret; 513s # } 513s # 513s # static void 513s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 513s # GClosure *closure, 513s # GValue *return_value, 513s # unsigned int n_param_values, 513s # const GValue *param_values, 513s # void *invocation_hint G_GNUC_UNUSED, 513s # void *marshal_data) 513s # { 513s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 513s # (void *data1, 513s # GDBusMethodInvocation *arg_method_invocation, 513s # guchar arg_arg_y, 513s # void *data2); 513s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 513s # GCClosure *cc = (GCClosure*) closure; 513s # void *data1, *data2; 513s # gboolean v_return; 513s # 513s # g_return_if_fail (return_value != NULL); 513s # g_return_if_fail (n_param_values == 3); 513s # 513s # if (G_CCLOSURE_SWAP_DATA (closure)) 513s # { 513s # data1 = closure->data; 513s # data2 = g_value_peek_pointer (param_values + 0); 513s # } 513s # else 513s # { 513s # data1 = g_value_peek_pointer (param_values + 0); 513s # data2 = closure->data; 513s # } 513s # 513s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 513s # (marshal_data ? marshal_data : cc->callback); 513s # 513s # v_return = 513s # callback (data1, 513s # g_marshal_value_peek_object (param_values + 1), 513s # g_marshal_value_peek_uchar (param_values + 2), 513s # data2); 513s # 513s # g_value_set_boolean (return_value, v_return); 513s # } 513s # 513s # /* ------------------------------------------------------------------------ 513s # * Code for interface org.project.UsefulInterface 513s # * ------------------------------------------------------------------------ 513s # */ 513s # 513s # /** 513s # * SECTION:OrgProjectUsefulInterface 513s # * @title: OrgProjectUsefulInterface 513s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 513s # * 513s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 513s # */ 513s # 513s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 513s # 513s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 513s # { 513s # { 513s # -1, 513s # (gchar *) "arg_y", 513s # (gchar *) "y", 513s # NULL 513s # }, 513s # FALSE 513s # }; 513s # 513s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 513s # { 513s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 513s # NULL 513s # }; 513s # 513s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 513s # { 513s # { 513s # -1, 513s # (gchar *) "SingleArgMethodY", 513s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 513s # NULL, 513s # NULL 513s # }, 513s # "handle-single-arg-method-y", 513s # FALSE 513s # }; 513s # 513s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 513s # { 513s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 513s # NULL 513s # }; 513s # 513s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 513s # { 513s # { 513s # -1, 513s # (gchar *) "org.project.UsefulInterface", 513s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 513s # NULL, 513s # NULL, 513s # NULL 513s # }, 513s # "org-project-useful-interface", 513s # }; 513s # 513s # 513s # /** 513s # * org_project_useful_interface_interface_info: 513s # * 513s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 513s # * 513s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 513s # */ 513s # GDBusInterfaceInfo * 513s # org_project_useful_interface_interface_info (void) 513s # { 513s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_override_properties: 513s # * @klass: The class structure for a #GObject derived class. 513s # * @property_id_begin: The property id to assign to the first overridden property. 513s # * 513s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 513s # * The properties are overridden in the order they are defined. 513s # * 513s # * Returns: The last property id. 513s # */ 513s # guint 513s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 513s # { 513s # return property_id_begin - 1; 513s # } 513s # 513s # 513s # inline static void 513s # org_project_useful_interface_method_marshal_single_arg_method_y ( 513s # GClosure *closure, 513s # GValue *return_value, 513s # unsigned int n_param_values, 513s # const GValue *param_values, 513s # void *invocation_hint, 513s # void *marshal_data) 513s # { 513s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 513s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 513s # } 513s # 513s # 513s # /** 513s # * OrgProjectUsefulInterface: 513s # * 513s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 513s # */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceIface: 513s # * @parent_iface: The parent interface. 513s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 513s # * 513s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 513s # */ 513s # 513s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 513s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 513s # 513s # static void 513s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 513s # { 513s # /* GObject signals for incoming D-Bus method calls: */ 513s # /** 513s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 513s # * @object: A #OrgProjectUsefulInterface. 513s # * @invocation: A #GDBusMethodInvocation. 513s # * @arg_arg_y: Argument passed by remote caller. 513s # * 513s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 513s # * 513s # * 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. 513s # * 513s # * 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. 513s # */ 513s # g_signal_new ("handle-single-arg-method-y", 513s # G_TYPE_FROM_INTERFACE (iface), 513s # G_SIGNAL_RUN_LAST, 513s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 513s # g_signal_accumulator_true_handled, 513s # NULL, 513s # org_project_useful_interface_method_marshal_single_arg_method_y, 513s # G_TYPE_BOOLEAN, 513s # 2, 513s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 513s # 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_call_single_arg_method_y: 513s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 513s # * @arg_arg_y: Argument to pass with the method invocation. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 513s # * 513s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 513s # */ 513s # void 513s # org_project_useful_interface_call_single_arg_method_y ( 513s # OrgProjectUsefulInterface *proxy, 513s # guchar arg_arg_y, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 513s # "SingleArgMethodY", 513s # g_variant_new ("(y)", 513s # arg_arg_y), 513s # G_DBUS_CALL_FLAGS_NONE, 513s # -1, 513s # cancellable, 513s # callback, 513s # user_data); 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_call_single_arg_method_y_finish: 513s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 513s # * @error: Return location for error or %NULL. 513s # * 513s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 513s # * 513s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 513s # */ 513s # gboolean 513s # org_project_useful_interface_call_single_arg_method_y_finish ( 513s # OrgProjectUsefulInterface *proxy, 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GVariant *_ret; 513s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 513s # if (_ret == NULL) 513s # goto _out; 513s # g_variant_get (_ret, 513s # "()"); 513s # g_variant_unref (_ret); 513s # _out: 513s # return _ret != NULL; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_call_single_arg_method_y_sync: 513s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 513s # * @arg_arg_y: Argument to pass with the method invocation. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL. 513s # * 513s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 513s # * 513s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 513s # */ 513s # gboolean 513s # org_project_useful_interface_call_single_arg_method_y_sync ( 513s # OrgProjectUsefulInterface *proxy, 513s # guchar arg_arg_y, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GVariant *_ret; 513s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 513s # "SingleArgMethodY", 513s # g_variant_new ("(y)", 513s # arg_arg_y), 513s # G_DBUS_CALL_FLAGS_NONE, 513s # -1, 513s # cancellable, 513s # error); 513s # if (_ret == NULL) 513s # goto _out; 513s # g_variant_get (_ret, 513s # "()"); 513s # g_variant_unref (_ret); 513s # _out: 513s # return _ret != NULL; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_complete_single_arg_method_y: 513s # * @object: A #OrgProjectUsefulInterface. 513s # * @invocation: (transfer full): A #GDBusMethodInvocation. 513s # * 513s # * 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. 513s # * 513s # * This method will free @invocation, you cannot use it afterwards. 513s # */ 513s # void 513s # org_project_useful_interface_complete_single_arg_method_y ( 513s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 513s # GDBusMethodInvocation *invocation) 513s # { 513s # g_dbus_method_invocation_return_value (invocation, 513s # g_variant_new ("()")); 513s # } 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceProxy: 513s # * 513s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceProxyClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for #OrgProjectUsefulInterfaceProxy. 513s # */ 513s # 513s # struct _OrgProjectUsefulInterfaceProxyPrivate 513s # { 513s # GData *qdata; 513s # }; 513s # 513s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 513s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 513s # 513s # #else 513s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 513s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 513s # 513s # #endif 513s # static void 513s # org_project_useful_interface_proxy_finalize (GObject *object) 513s # { 513s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 513s # g_datalist_clear (&proxy->priv->qdata); 513s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 513s # guint prop_id G_GNUC_UNUSED, 513s # GValue *value G_GNUC_UNUSED, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 513s # guint prop_id G_GNUC_UNUSED, 513s # const GValue *value G_GNUC_UNUSED, 513s # GParamSpec *pspec G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 513s # const gchar *sender_name G_GNUC_UNUSED, 513s # const gchar *signal_name, 513s # GVariant *parameters) 513s # { 513s # _ExtendedGDBusSignalInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # gsize n; 513s # guint signal_id; 513s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 513s # if (info == NULL) 513s # return; 513s # num_params = g_variant_n_children (parameters); 513s # paramv = g_new0 (GValue, num_params + 1); 513s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 513s # g_value_set_object (¶mv[0], proxy); 513s # g_variant_iter_init (&iter, parameters); 513s # n = 1; 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 513s # g_signal_emitv (paramv, signal_id, 0, NULL); 513s # for (n = 0; n < num_params + 1; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 513s # GVariant *changed_properties, 513s # const gchar *const *invalidated_properties) 513s # { 513s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 513s # guint n; 513s # const gchar *key; 513s # GVariantIter *iter; 513s # _ExtendedGDBusPropertyInfo *info; 513s # g_variant_get (changed_properties, "a{sv}", &iter); 513s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 513s # g_datalist_remove_data (&proxy->priv->qdata, key); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # g_variant_iter_free (iter); 513s # for (n = 0; invalidated_properties[n] != NULL; n++) 513s # { 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 513s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 513s # if (info != NULL) 513s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 513s # } 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 513s # { 513s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 513s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 513s # #else 513s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 513s # #endif 513s # 513s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 513s # { 513s # GObjectClass *gobject_class; 513s # GDBusProxyClass *proxy_class; 513s # 513s # gobject_class = G_OBJECT_CLASS (klass); 513s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 513s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 513s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 513s # 513s # proxy_class = G_DBUS_PROXY_CLASS (klass); 513s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 513s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 513s # 513s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 513s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 513s # #endif 513s # } 513s # 513s # static void 513s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 513s # { 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 513s # * 513s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # org_project_useful_interface_proxy_new ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # g_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); 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 513s # * 513s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectUsefulInterface * 513s # org_project_useful_interface_proxy_new_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_sync: 513s # * @connection: A #GDBusConnection. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectUsefulInterface * 513s # org_project_useful_interface_proxy_new_sync ( 513s # GDBusConnection *connection, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_for_bus: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 513s # * @user_data: User data to pass to @callback. 513s # * 513s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 513s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 513s # * 513s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 513s # */ 513s # void 513s # org_project_useful_interface_proxy_new_for_bus ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GAsyncReadyCallback callback, 513s # gpointer user_data) 513s # { 513s # g_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); 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_for_bus_finish: 513s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 513s # * @error: Return location for error or %NULL 513s # * 513s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 513s # * 513s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectUsefulInterface * 513s # org_project_useful_interface_proxy_new_for_bus_finish ( 513s # GAsyncResult *res, 513s # GError **error) 513s # { 513s # GObject *ret; 513s # GObject *source_object; 513s # source_object = g_async_result_get_source_object (res); 513s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 513s # g_object_unref (source_object); 513s # if (ret != NULL) 513s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # /** 513s # * org_project_useful_interface_proxy_new_for_bus_sync: 513s # * @bus_type: A #GBusType. 513s # * @flags: Flags from the #GDBusProxyFlags enumeration. 513s # * @name: A bus name (well-known or unique). 513s # * @object_path: An object path. 513s # * @cancellable: (nullable): A #GCancellable or %NULL. 513s # * @error: Return location for error or %NULL 513s # * 513s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 513s # * 513s # * The calling thread is blocked until a reply is received. 513s # * 513s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 513s # * 513s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 513s # */ 513s # OrgProjectUsefulInterface * 513s # org_project_useful_interface_proxy_new_for_bus_sync ( 513s # GBusType bus_type, 513s # GDBusProxyFlags flags, 513s # const gchar *name, 513s # const gchar *object_path, 513s # GCancellable *cancellable, 513s # GError **error) 513s # { 513s # GInitable *ret; 513s # 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); 513s # if (ret != NULL) 513s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 513s # else 513s # return NULL; 513s # } 513s # 513s # 513s # /* ------------------------------------------------------------------------ */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceSkeleton: 513s # * 513s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 513s # */ 513s # 513s # /** 513s # * OrgProjectUsefulInterfaceSkeletonClass: 513s # * @parent_class: The parent class. 513s # * 513s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 513s # */ 513s # 513s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 513s # { 513s # GValue *properties; 513s # GList *changed_properties; 513s # GSource *changed_properties_idle_source; 513s # GMainContext *context; 513s # GMutex lock; 513s # }; 513s # 513s # static void 513s # _org_project_useful_interface_skeleton_handle_method_call ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name, 513s # const gchar *method_name, 513s # GVariant *parameters, 513s # GDBusMethodInvocation *invocation, 513s # gpointer user_data) 513s # { 513s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 513s # _ExtendedGDBusMethodInfo *info; 513s # GVariantIter iter; 513s # GVariant *child; 513s # GValue *paramv; 513s # gsize num_params; 513s # guint num_extra; 513s # gsize n; 513s # guint signal_id; 513s # GValue return_value = G_VALUE_INIT; 513s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 513s # g_assert (info != NULL); 513s # num_params = g_variant_n_children (parameters); 513s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 513s # n = 0; 513s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 513s # g_value_set_object (¶mv[n++], skeleton); 513s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 513s # g_value_set_object (¶mv[n++], invocation); 513s # if (info->pass_fdlist) 513s # { 513s # #ifdef G_OS_UNIX 513s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 513s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 513s # #else 513s # g_assert_not_reached (); 513s # #endif 513s # } 513s # g_variant_iter_init (&iter, parameters); 513s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 513s # { 513s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 513s # if (arg_info->use_gvariant) 513s # { 513s # g_value_init (¶mv[n], G_TYPE_VARIANT); 513s # g_value_set_variant (¶mv[n], child); 513s # n++; 513s # } 513s # else 513s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 513s # g_variant_unref (child); 513s # } 513s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 513s # g_value_init (&return_value, G_TYPE_BOOLEAN); 513s # g_signal_emitv (paramv, signal_id, 0, &return_value); 513s # if (!g_value_get_boolean (&return_value)) 513s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 513s # g_value_unset (&return_value); 513s # for (n = 0; n < num_params + num_extra; n++) 513s # g_value_unset (¶mv[n]); 513s # g_free (paramv); 513s # } 513s # 513s # static GVariant * 513s # _org_project_useful_interface_skeleton_handle_get_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # GVariant *ret; 513s # ret = NULL; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # g_value_init (&value, pspec->value_type); 513s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 513s # g_value_unset (&value); 513s # } 513s # return ret; 513s # } 513s # 513s # static gboolean 513s # _org_project_useful_interface_skeleton_handle_set_property ( 513s # GDBusConnection *connection G_GNUC_UNUSED, 513s # const gchar *sender G_GNUC_UNUSED, 513s # const gchar *object_path G_GNUC_UNUSED, 513s # const gchar *interface_name G_GNUC_UNUSED, 513s # const gchar *property_name, 513s # GVariant *variant, 513s # GError **error, 513s # gpointer user_data) 513s # { 513s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 513s # GValue value = G_VALUE_INIT; 513s # GParamSpec *pspec; 513s # _ExtendedGDBusPropertyInfo *info; 513s # gboolean ret; 513s # ret = FALSE; 513s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 513s # g_assert (info != NULL); 513s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 513s # if (pspec == NULL) 513s # { 513s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 513s # } 513s # else 513s # { 513s # if (info->use_gvariant) 513s # g_value_set_variant (&value, variant); 513s # else 513s # g_dbus_gvariant_to_gvalue (variant, &value); 513s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 513s # g_value_unset (&value); 513s # ret = TRUE; 513s # } 513s # return ret; 513s # } 513s # 513s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 513s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpgl73d5a3.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpgl73d5a3.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # gint16 arg_arg_n, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_int (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_n", 514s # (gchar *) "n", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodN", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-n", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_n ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_n: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-n", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_n, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_n: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_n: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_n ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint16 arg_arg_n, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodN", 514s # g_variant_new ("(n)", 514s # arg_arg_n), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_n_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_n_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_n_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_n: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_n_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint16 arg_arg_n, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodN", 514s # g_variant_new ("(n)", 514s # arg_arg_n), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_n: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_n ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpgbu_0fi5.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpgbu_0fi5.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # guint16 arg_arg_q, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_uint (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_q", 514s # (gchar *) "q", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodQ", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-q", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_q ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_q: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-q", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_q, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_q: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_q: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_q ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint16 arg_arg_q, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodQ", 514s # g_variant_new ("(q)", 514s # arg_arg_q), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_q_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_q_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_q_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_q: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_q_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint16 arg_arg_q, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodQ", 514s # g_variant_new ("(q)", 514s # arg_arg_q), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_q: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_q ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmp8f3gp_t4.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmp8f3gp_t4.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # gint arg_arg_i, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_int (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_i", 514s # (gchar *) "i", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodI", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-i", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_i ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_i: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-i", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_i, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_i: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_i: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_i ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint arg_arg_i, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodI", 514s # g_variant_new ("(i)", 514s # arg_arg_i), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_i_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_i_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_i_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_i: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_i_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint arg_arg_i, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodI", 514s # g_variant_new ("(i)", 514s # arg_arg_i), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_i: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_i ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpo2g1sjf4.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpo2g1sjf4.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # guint arg_arg_u, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_uint (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_u", 514s # (gchar *) "u", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodU", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-u", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_u ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_u: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-u", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_u, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_u: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_u: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_u ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint arg_arg_u, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodU", 514s # g_variant_new ("(u)", 514s # arg_arg_u), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_u_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_u_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_u_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_u: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_u_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint arg_arg_u, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodU", 514s # g_variant_new ("(u)", 514s # arg_arg_u), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_u: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_u ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpr9zk7dho.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpr9zk7dho.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # gint64 arg_arg_x, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_int64 (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_x", 514s # (gchar *) "x", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodX", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-x", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_x ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_x: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-x", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_x, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_x: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_x: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_x ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint64 arg_arg_x, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodX", 514s # g_variant_new ("(x)", 514s # arg_arg_x), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_x_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_x_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_x_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_x: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_x_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint64 arg_arg_x, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodX", 514s # g_variant_new ("(x)", 514s # arg_arg_x), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_x: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_x ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpkjwpj2m6.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpkjwpj2m6.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # guint64 arg_arg_t, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_uint64 (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_t", 514s # (gchar *) "t", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodT", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-t", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_t ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_t: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-t", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_t, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_t: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_t: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_t ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint64 arg_arg_t, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodT", 514s # g_variant_new ("(t)", 514s # arg_arg_t), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_t_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_t_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_t_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_t: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_t_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint64 arg_arg_t, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodT", 514s # g_variant_new ("(t)", 514s # arg_arg_t), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_t: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_t ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpxqo70oap.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpxqo70oap.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # gdouble arg_arg_d, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_double (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_d", 514s # (gchar *) "d", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodD", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-d", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_d ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_d: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-d", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_d, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_d: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_d: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_d ( 514s # OrgProjectUsefulInterface *proxy, 514s # gdouble arg_arg_d, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodD", 514s # g_variant_new ("(d)", 514s # arg_arg_d), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_d_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_d_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_d_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_d: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_d_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gdouble arg_arg_d, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodD", 514s # g_variant_new ("(d)", 514s # arg_arg_d), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_d: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_d ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpem18zooe.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpem18zooe.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # const gchar *arg_arg_s, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_string (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_s", 514s # (gchar *) "s", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodS", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-s", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_s ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_s: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-s", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_s, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_s: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_s: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_s ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *arg_arg_s, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodS", 514s # g_variant_new ("(s)", 514s # arg_arg_s), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_s_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_s_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_s_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_s: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_s_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *arg_arg_s, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodS", 514s # g_variant_new ("(s)", 514s # arg_arg_s), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_s: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_s ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmplk8faj00.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmplk8faj00.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # const gchar *arg_arg_o, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_string (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_o", 514s # (gchar *) "o", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodO", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-o", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_o ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_o: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-o", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_o, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_o: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_o: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_o ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *arg_arg_o, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodO", 514s # g_variant_new ("(o)", 514s # arg_arg_o), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_o_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_o_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_o_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_o: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_o_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *arg_arg_o, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodO", 514s # g_variant_new ("(o)", 514s # arg_arg_o), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_o: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_o ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpqhk4tbqc.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpqhk4tbqc.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # const gchar *arg_arg_g, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_string (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_g", 514s # (gchar *) "g", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodG", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-g", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_g ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_g: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-g", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_g, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_g: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_g: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_g ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *arg_arg_g, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodG", 514s # g_variant_new ("(g)", 514s # arg_arg_g), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_g_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_g_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_g_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_g: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_g_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *arg_arg_g, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodG", 514s # g_variant_new ("(g)", 514s # arg_arg_g), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_g: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_g ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmprfnzkgtb.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmprfnzkgtb.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # GVariant *arg_arg_h, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_variant (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_h", 514s # (gchar *) "h", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodH", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-h", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_h ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_h: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-h", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_h, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_h: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_h: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_h ( 514s # OrgProjectUsefulInterface *proxy, 514s # GVariant *arg_arg_h, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodH", 514s # g_variant_new ("(@h)", 514s # arg_arg_h), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_h_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_h_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_h_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_h: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_h_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # GVariant *arg_arg_h, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodH", 514s # g_variant_new ("(@h)", 514s # arg_arg_h), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_h: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_h ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpwk10fc1f.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpwk10fc1f.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # const gchar *arg_arg_ay, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_string (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_ay", 514s # (gchar *) "ay", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodAy", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-ay", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_ay: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-ay", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_ay, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_ay: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_ay: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_ay ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *arg_arg_ay, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAy", 514s # g_variant_new ("(^ay)", 514s # arg_arg_ay), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_ay_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_ay_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_ay_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_ay: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_ay_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *arg_arg_ay, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAy", 514s # g_variant_new ("(^ay)", 514s # arg_arg_ay), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_ay: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_ay ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmprqy7dqi0.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmprqy7dqi0.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # const gchar *const *arg_arg_as, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_boxed (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_as", 514s # (gchar *) "as", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodAs", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-as", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_as ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_as: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-as", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_as, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_as: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_as: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_as ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *const *arg_arg_as, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAs", 514s # g_variant_new ("(^as)", 514s # arg_arg_as), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_as_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_as_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_as_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_as: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_as_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *const *arg_arg_as, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAs", 514s # g_variant_new ("(^as)", 514s # arg_arg_as), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_as: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_as ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmppiwe2a4h.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmppiwe2a4h.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # const gchar *const *arg_arg_ao, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_boxed (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_ao", 514s # (gchar *) "ao", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodAo", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-ao", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_ao: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-ao", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_ao, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_ao: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_ao: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_ao ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *const *arg_arg_ao, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAo", 514s # g_variant_new ("(^ao)", 514s # arg_arg_ao), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_ao_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_ao_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_ao_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_ao: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_ao_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *const *arg_arg_ao, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAo", 514s # g_variant_new ("(^ao)", 514s # arg_arg_ao), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_ao: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_ao ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmp8kkfyu_4.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmp8kkfyu_4.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # const gchar *const *arg_arg_aay, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_boxed (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_aay", 514s # (gchar *) "aay", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodAay", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-aay", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_aay: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-aay", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_aay, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_aay: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_aay: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_aay ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *const *arg_arg_aay, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAay", 514s # g_variant_new ("(^aay)", 514s # arg_arg_aay), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_aay_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_aay_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_aay_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_aay: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_aay_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # const gchar *const *arg_arg_aay, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAay", 514s # g_variant_new ("(^aay)", 514s # arg_arg_aay), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_aay: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_aay ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmpb4sf3v38/tmpsx2_rfl9.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4sf3v38/tmpsx2_rfl9.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # GVariant *arg_arg_asv, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 3); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # g_marshal_value_peek_variant (param_values + 2), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_asv", 514s # (gchar *) "a{sv}", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodAsv", 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 514s # NULL, 514s # NULL 514s # }, 514s # "handle-single-arg-method-asv", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * @arg_arg_asv: Argument passed by remote caller. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-asv", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_asv, 514s # G_TYPE_BOOLEAN, 514s # 2, 514s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_asv: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_asv: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_asv ( 514s # OrgProjectUsefulInterface *proxy, 514s # GVariant *arg_arg_asv, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAsv", 514s # g_variant_new ("(@a{sv})", 514s # arg_arg_asv), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_asv_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_asv_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_asv_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @arg_arg_asv: Argument to pass with the method invocation. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_asv_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # GVariant *arg_arg_asv, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAsv", 514s # g_variant_new ("(@a{sv})", 514s # arg_arg_asv), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "()"); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_asv: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_asv ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("()")); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 514s # tmpdir: /tmp/tmppbdobmtu 514s # codegen: /usr/bin/gdbus-codegen 514s # /tmp/tmppbdobmtu/tmpi_h4d2wz.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpi_h4d2wz.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_b", 514s # (gchar *) "b", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodB", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-b", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_b ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-b", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_b, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_b: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_b ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodB", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_b_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_b_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gboolean *out_arg_b, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(b)", 514s # out_arg_b); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_b_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_b_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gboolean *out_arg_b, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodB", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(b)", 514s # out_arg_b); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_b: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_b: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_b ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # gboolean arg_b) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(b)", 514s # arg_b)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpu3eup0pq.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpu3eup0pq.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_y", 514s # (gchar *) "y", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodY", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-y", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_y ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-y", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_y, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_y: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_y ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodY", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_y_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_y_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # guchar *out_arg_y, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(y)", 514s # out_arg_y); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_y_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_y_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # guchar *out_arg_y, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodY", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(y)", 514s # out_arg_y); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_y: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_y: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_y ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # guchar arg_y) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(y)", 514s # arg_y)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmp1euid514.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmp1euid514.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_n", 514s # (gchar *) "n", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodN", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-n", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_n ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-n", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_n, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_n: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_n ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodN", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_n_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_n_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint16 *out_arg_n, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(n)", 514s # out_arg_n); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_n_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_n_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint16 *out_arg_n, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodN", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(n)", 514s # out_arg_n); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_n: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_n: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_n ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # gint16 arg_n) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(n)", 514s # arg_n)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpo1_63o6d.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpo1_63o6d.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_q", 514s # (gchar *) "q", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodQ", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-q", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_q ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-q", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_q, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_q: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_q ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodQ", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_q_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_q_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint16 *out_arg_q, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(q)", 514s # out_arg_q); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_q_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_q_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint16 *out_arg_q, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodQ", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(q)", 514s # out_arg_q); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_q: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_q: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_q ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # guint16 arg_q) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(q)", 514s # arg_q)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpzy2g56f9.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpzy2g56f9.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_i", 514s # (gchar *) "i", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodI", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-i", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_i ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-i", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_i, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_i: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_i ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodI", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_i_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_i_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint *out_arg_i, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(i)", 514s # out_arg_i); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_i_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_i_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint *out_arg_i, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodI", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(i)", 514s # out_arg_i); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_i: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_i: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_i ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # gint arg_i) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(i)", 514s # arg_i)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpkpuihd29.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpkpuihd29.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_u", 514s # (gchar *) "u", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodU", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-u", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_u ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-u", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_u, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_u: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_u ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodU", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_u_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_u_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint *out_arg_u, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(u)", 514s # out_arg_u); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_u_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_u_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint *out_arg_u, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodU", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(u)", 514s # out_arg_u); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_u: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_u: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_u ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # guint arg_u) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(u)", 514s # arg_u)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpckguyeo6.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpckguyeo6.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_x", 514s # (gchar *) "x", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodX", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-x", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_x ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-x", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_x, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_x: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_x ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodX", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_x_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_x_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint64 *out_arg_x, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(x)", 514s # out_arg_x); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_x_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_x_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gint64 *out_arg_x, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodX", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(x)", 514s # out_arg_x); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_x: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_x: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_x ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # gint64 arg_x) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(x)", 514s # arg_x)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpsp4eki0x.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpsp4eki0x.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_t", 514s # (gchar *) "t", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodT", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-t", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_t ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-t", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_t, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_t: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_t ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodT", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_t_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_t_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint64 *out_arg_t, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(t)", 514s # out_arg_t); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_t_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_t_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # guint64 *out_arg_t, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodT", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(t)", 514s # out_arg_t); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_t: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_t: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_t ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # guint64 arg_t) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(t)", 514s # arg_t)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmp34hw3iec.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmp34hw3iec.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_d", 514s # (gchar *) "d", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodD", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-d", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_d ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-d", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_d, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_d: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_d ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodD", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_d_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_d_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gdouble *out_arg_d, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(d)", 514s # out_arg_d); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_d_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_d_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gdouble *out_arg_d, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodD", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(d)", 514s # out_arg_d); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_d: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_d: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_d ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # gdouble arg_d) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(d)", 514s # arg_d)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmp8kgk_z4e.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmp8kgk_z4e.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_s", 514s # (gchar *) "s", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodS", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-s", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_s ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-s", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_s, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_s: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_s ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodS", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_s_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_s_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar **out_arg_s, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(s)", 514s # out_arg_s); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_s_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_s_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar **out_arg_s, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodS", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(s)", 514s # out_arg_s); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_s: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_s: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_s ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # const gchar *arg_s) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(s)", 514s # arg_s)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpskkg6sc5.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpskkg6sc5.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_o", 514s # (gchar *) "o", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodO", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-o", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_o ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-o", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_o, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_o: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_o ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodO", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_o_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_o_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar **out_arg_o, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(o)", 514s # out_arg_o); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_o_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_o_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar **out_arg_o, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodO", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(o)", 514s # out_arg_o); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_o: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_o: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_o ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # const gchar *arg_o) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(o)", 514s # arg_o)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpr1ffdqsy.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpr1ffdqsy.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_g", 514s # (gchar *) "g", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodG", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-g", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_g ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-g", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_g, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_g: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_g ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodG", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_g_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_g_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar **out_arg_g, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(g)", 514s # out_arg_g); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_g_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_g_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar **out_arg_g, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodG", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(g)", 514s # out_arg_g); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_g: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_g: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_g ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # const gchar *arg_g) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(g)", 514s # arg_g)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpuy_pplfm.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpuy_pplfm.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_h", 514s # (gchar *) "h", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodH", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-h", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_h ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-h", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_h, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_h: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_h ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodH", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_h_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_h_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # GVariant **out_arg_h, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(@h)", 514s # out_arg_h); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_h_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_h_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # GVariant **out_arg_h, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodH", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(@h)", 514s # out_arg_h); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_h: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_h: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_h ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # GVariant *arg_h) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(@h)", 514s # arg_h)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpzuiij_2l.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpzuiij_2l.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_ay", 514s # (gchar *) "ay", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodAy", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-ay", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-ay", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_ay, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_ay: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_ay ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAy", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_ay_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_ay_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar **out_arg_ay, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(^ay)", 514s # out_arg_ay); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_ay_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_ay_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar **out_arg_ay, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAy", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(^ay)", 514s # out_arg_ay); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_ay: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_ay: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_ay ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # const gchar *arg_ay) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(^ay)", 514s # arg_ay)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpijaizb1_.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpijaizb1_.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 514s # const _ExtendedGDBusPropertyInfo *info; 514s # guint prop_id; 514s # GValue orig_value; /* the value before the change */ 514s # } ChangedProperty; 514s # 514s # static void 514s # _changed_property_free (ChangedProperty *data) 514s # { 514s # g_value_unset (&data->orig_value); 514s # g_free (data); 514s # } 514s # 514s # static gboolean 514s # _g_strv_equal0 (gchar **a, gchar **b) 514s # { 514s # gboolean ret = FALSE; 514s # guint n; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # if (g_strv_length (a) != g_strv_length (b)) 514s # goto out; 514s # for (n = 0; a[n] != NULL; n++) 514s # if (g_strcmp0 (a[n], b[n]) != 0) 514s # goto out; 514s # ret = TRUE; 514s # out: 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _g_variant_equal0 (GVariant *a, GVariant *b) 514s # { 514s # gboolean ret = FALSE; 514s # if (a == NULL && b == NULL) 514s # { 514s # ret = TRUE; 514s # goto out; 514s # } 514s # if (a == NULL || b == NULL) 514s # goto out; 514s # ret = g_variant_equal (a, b); 514s # out: 514s # return ret; 514s # } 514s # 514s # G_GNUC_UNUSED static gboolean 514s # _g_value_equal (const GValue *a, const GValue *b) 514s # { 514s # gboolean ret = FALSE; 514s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 514s # switch (G_VALUE_TYPE (a)) 514s # { 514s # case G_TYPE_BOOLEAN: 514s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 514s # break; 514s # case G_TYPE_UCHAR: 514s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 514s # break; 514s # case G_TYPE_INT: 514s # ret = (g_value_get_int (a) == g_value_get_int (b)); 514s # break; 514s # case G_TYPE_UINT: 514s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 514s # break; 514s # case G_TYPE_INT64: 514s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 514s # break; 514s # case G_TYPE_UINT64: 514s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 514s # break; 514s # case G_TYPE_DOUBLE: 514s # { 514s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 514s # gdouble da = g_value_get_double (a); 514s # gdouble db = g_value_get_double (b); 514s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 514s # } 514s # break; 514s # case G_TYPE_STRING: 514s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 514s # break; 514s # case G_TYPE_VARIANT: 514s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 514s # break; 514s # default: 514s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 514s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 514s # else 514s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 514s # break; 514s # } 514s # return ret; 514s # } 514s # 514s # static void 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint G_GNUC_UNUSED, 514s # void *marshal_data) 514s # { 514s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (void *data1, 514s # GDBusMethodInvocation *arg_method_invocation, 514s # void *data2); 514s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 514s # GCClosure *cc = (GCClosure*) closure; 514s # void *data1, *data2; 514s # gboolean v_return; 514s # 514s # g_return_if_fail (return_value != NULL); 514s # g_return_if_fail (n_param_values == 2); 514s # 514s # if (G_CCLOSURE_SWAP_DATA (closure)) 514s # { 514s # data1 = closure->data; 514s # data2 = g_value_peek_pointer (param_values + 0); 514s # } 514s # else 514s # { 514s # data1 = g_value_peek_pointer (param_values + 0); 514s # data2 = closure->data; 514s # } 514s # 514s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 514s # (marshal_data ? marshal_data : cc->callback); 514s # 514s # v_return = 514s # callback (data1, 514s # g_marshal_value_peek_object (param_values + 1), 514s # data2); 514s # 514s # g_value_set_boolean (return_value, v_return); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ 514s # * Code for interface org.project.UsefulInterface 514s # * ------------------------------------------------------------------------ 514s # */ 514s # 514s # /** 514s # * SECTION:OrgProjectUsefulInterface 514s # * @title: OrgProjectUsefulInterface 514s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 514s # * 514s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 514s # */ 514s # 514s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 514s # 514s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 514s # { 514s # { 514s # -1, 514s # (gchar *) "arg_as", 514s # (gchar *) "as", 514s # NULL 514s # }, 514s # FALSE 514s # }; 514s # 514s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 514s # { 514s # { 514s # -1, 514s # (gchar *) "SingleArgMethodAs", 514s # NULL, 514s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 514s # NULL 514s # }, 514s # "handle-single-arg-method-as", 514s # FALSE 514s # }; 514s # 514s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 514s # { 514s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 514s # NULL 514s # }; 514s # 514s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 514s # { 514s # { 514s # -1, 514s # (gchar *) "org.project.UsefulInterface", 514s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 514s # NULL, 514s # NULL, 514s # NULL 514s # }, 514s # "org-project-useful-interface", 514s # }; 514s # 514s # 514s # /** 514s # * org_project_useful_interface_interface_info: 514s # * 514s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 514s # * 514s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 514s # */ 514s # GDBusInterfaceInfo * 514s # org_project_useful_interface_interface_info (void) 514s # { 514s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_override_properties: 514s # * @klass: The class structure for a #GObject derived class. 514s # * @property_id_begin: The property id to assign to the first overridden property. 514s # * 514s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 514s # * The properties are overridden in the order they are defined. 514s # * 514s # * Returns: The last property id. 514s # */ 514s # guint 514s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 514s # { 514s # return property_id_begin - 1; 514s # } 514s # 514s # 514s # inline static void 514s # org_project_useful_interface_method_marshal_single_arg_method_as ( 514s # GClosure *closure, 514s # GValue *return_value, 514s # unsigned int n_param_values, 514s # const GValue *param_values, 514s # void *invocation_hint, 514s # void *marshal_data) 514s # { 514s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 514s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 514s # } 514s # 514s # 514s # /** 514s # * OrgProjectUsefulInterface: 514s # * 514s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceIface: 514s # * @parent_iface: The parent interface. 514s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 514s # * 514s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 514s # */ 514s # 514s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 514s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 514s # 514s # static void 514s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 514s # { 514s # /* GObject signals for incoming D-Bus method calls: */ 514s # /** 514s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: A #GDBusMethodInvocation. 514s # * 514s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 514s # * 514s # * 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. 514s # * 514s # * 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. 514s # */ 514s # g_signal_new ("handle-single-arg-method-as", 514s # G_TYPE_FROM_INTERFACE (iface), 514s # G_SIGNAL_RUN_LAST, 514s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 514s # g_signal_accumulator_true_handled, 514s # NULL, 514s # org_project_useful_interface_method_marshal_single_arg_method_as, 514s # G_TYPE_BOOLEAN, 514s # 1, 514s # G_TYPE_DBUS_METHOD_INVOCATION); 514s # 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_as: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 514s # */ 514s # void 514s # org_project_useful_interface_call_single_arg_method_as ( 514s # OrgProjectUsefulInterface *proxy, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAs", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # callback, 514s # user_data); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_as_finish: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_as_finish ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar ***out_arg_as, 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(^as)", 514s # out_arg_as); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_call_single_arg_method_as_sync: 514s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 514s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL. 514s # * 514s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 514s # * 514s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 514s # */ 514s # gboolean 514s # org_project_useful_interface_call_single_arg_method_as_sync ( 514s # OrgProjectUsefulInterface *proxy, 514s # gchar ***out_arg_as, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GVariant *_ret; 514s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 514s # "SingleArgMethodAs", 514s # g_variant_new ("()"), 514s # G_DBUS_CALL_FLAGS_NONE, 514s # -1, 514s # cancellable, 514s # error); 514s # if (_ret == NULL) 514s # goto _out; 514s # g_variant_get (_ret, 514s # "(^as)", 514s # out_arg_as); 514s # g_variant_unref (_ret); 514s # _out: 514s # return _ret != NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_complete_single_arg_method_as: 514s # * @object: A #OrgProjectUsefulInterface. 514s # * @invocation: (transfer full): A #GDBusMethodInvocation. 514s # * @arg_as: Parameter to return. 514s # * 514s # * 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. 514s # * 514s # * This method will free @invocation, you cannot use it afterwards. 514s # */ 514s # void 514s # org_project_useful_interface_complete_single_arg_method_as ( 514s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 514s # GDBusMethodInvocation *invocation, 514s # const gchar *const *arg_as) 514s # { 514s # g_dbus_method_invocation_return_value (invocation, 514s # g_variant_new ("(^as)", 514s # arg_as)); 514s # } 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxy: 514s # * 514s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceProxyClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceProxy. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceProxyPrivate 514s # { 514s # GData *qdata; 514s # }; 514s # 514s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_proxy_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 514s # g_datalist_clear (&proxy->priv->qdata); 514s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 514s # guint prop_id G_GNUC_UNUSED, 514s # const GValue *value G_GNUC_UNUSED, 514s # GParamSpec *pspec G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 514s # const gchar *sender_name G_GNUC_UNUSED, 514s # const gchar *signal_name, 514s # GVariant *parameters) 514s # { 514s # _ExtendedGDBusSignalInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # gsize n; 514s # guint signal_id; 514s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 514s # if (info == NULL) 514s # return; 514s # num_params = g_variant_n_children (parameters); 514s # paramv = g_new0 (GValue, num_params + 1); 514s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[0], proxy); 514s # g_variant_iter_init (&iter, parameters); 514s # n = 1; 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_signal_emitv (paramv, signal_id, 0, NULL); 514s # for (n = 0; n < num_params + 1; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 514s # GVariant *changed_properties, 514s # const gchar *const *invalidated_properties) 514s # { 514s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 514s # guint n; 514s # const gchar *key; 514s # GVariantIter *iter; 514s # _ExtendedGDBusPropertyInfo *info; 514s # g_variant_get (changed_properties, "a{sv}", &iter); 514s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 514s # g_datalist_remove_data (&proxy->priv->qdata, key); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # g_variant_iter_free (iter); 514s # for (n = 0; invalidated_properties[n] != NULL; n++) 514s # { 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 514s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 514s # if (info != NULL) 514s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 514s # } 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 514s # #else 514s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 514s # #endif 514s # 514s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusProxyClass *proxy_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 514s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 514s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 514s # 514s # proxy_class = G_DBUS_PROXY_CLASS (klass); 514s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 514s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_sync: 514s # * @connection: A #GDBusConnection. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_sync ( 514s # GDBusConnection *connection, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 514s # * @user_data: User data to pass to @callback. 514s # * 514s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 514s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 514s # */ 514s # void 514s # org_project_useful_interface_proxy_new_for_bus ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GAsyncReadyCallback callback, 514s # gpointer user_data) 514s # { 514s # g_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); 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_finish: 514s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 514s # * @error: Return location for error or %NULL 514s # * 514s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_finish ( 514s # GAsyncResult *res, 514s # GError **error) 514s # { 514s # GObject *ret; 514s # GObject *source_object; 514s # source_object = g_async_result_get_source_object (res); 514s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 514s # g_object_unref (source_object); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_proxy_new_for_bus_sync: 514s # * @bus_type: A #GBusType. 514s # * @flags: Flags from the #GDBusProxyFlags enumeration. 514s # * @name: A bus name (well-known or unique). 514s # * @object_path: An object path. 514s # * @cancellable: (nullable): A #GCancellable or %NULL. 514s # * @error: Return location for error or %NULL 514s # * 514s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 514s # * 514s # * The calling thread is blocked until a reply is received. 514s # * 514s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_proxy_new_for_bus_sync ( 514s # GBusType bus_type, 514s # GDBusProxyFlags flags, 514s # const gchar *name, 514s # const gchar *object_path, 514s # GCancellable *cancellable, 514s # GError **error) 514s # { 514s # GInitable *ret; 514s # 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); 514s # if (ret != NULL) 514s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 514s # else 514s # return NULL; 514s # } 514s # 514s # 514s # /* ------------------------------------------------------------------------ */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeleton: 514s # * 514s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 514s # */ 514s # 514s # /** 514s # * OrgProjectUsefulInterfaceSkeletonClass: 514s # * @parent_class: The parent class. 514s # * 514s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 514s # */ 514s # 514s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 514s # { 514s # GValue *properties; 514s # GList *changed_properties; 514s # GSource *changed_properties_idle_source; 514s # GMainContext *context; 514s # GMutex lock; 514s # }; 514s # 514s # static void 514s # _org_project_useful_interface_skeleton_handle_method_call ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name, 514s # const gchar *method_name, 514s # GVariant *parameters, 514s # GDBusMethodInvocation *invocation, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # _ExtendedGDBusMethodInfo *info; 514s # GVariantIter iter; 514s # GVariant *child; 514s # GValue *paramv; 514s # gsize num_params; 514s # guint num_extra; 514s # gsize n; 514s # guint signal_id; 514s # GValue return_value = G_VALUE_INIT; 514s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 514s # g_assert (info != NULL); 514s # num_params = g_variant_n_children (parameters); 514s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 514s # n = 0; 514s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_set_object (¶mv[n++], skeleton); 514s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 514s # g_value_set_object (¶mv[n++], invocation); 514s # if (info->pass_fdlist) 514s # { 514s # #ifdef G_OS_UNIX 514s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 514s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 514s # #else 514s # g_assert_not_reached (); 514s # #endif 514s # } 514s # g_variant_iter_init (&iter, parameters); 514s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 514s # { 514s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 514s # if (arg_info->use_gvariant) 514s # { 514s # g_value_init (¶mv[n], G_TYPE_VARIANT); 514s # g_value_set_variant (¶mv[n], child); 514s # n++; 514s # } 514s # else 514s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 514s # g_variant_unref (child); 514s # } 514s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 514s # g_value_init (&return_value, G_TYPE_BOOLEAN); 514s # g_signal_emitv (paramv, signal_id, 0, &return_value); 514s # if (!g_value_get_boolean (&return_value)) 514s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 514s # g_value_unset (&return_value); 514s # for (n = 0; n < num_params + num_extra; n++) 514s # g_value_unset (¶mv[n]); 514s # g_free (paramv); 514s # } 514s # 514s # static GVariant * 514s # _org_project_useful_interface_skeleton_handle_get_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # GVariant *ret; 514s # ret = NULL; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # g_value_init (&value, pspec->value_type); 514s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 514s # g_value_unset (&value); 514s # } 514s # return ret; 514s # } 514s # 514s # static gboolean 514s # _org_project_useful_interface_skeleton_handle_set_property ( 514s # GDBusConnection *connection G_GNUC_UNUSED, 514s # const gchar *sender G_GNUC_UNUSED, 514s # const gchar *object_path G_GNUC_UNUSED, 514s # const gchar *interface_name G_GNUC_UNUSED, 514s # const gchar *property_name, 514s # GVariant *variant, 514s # GError **error, 514s # gpointer user_data) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 514s # GValue value = G_VALUE_INIT; 514s # GParamSpec *pspec; 514s # _ExtendedGDBusPropertyInfo *info; 514s # gboolean ret; 514s # ret = FALSE; 514s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 514s # g_assert (info != NULL); 514s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 514s # if (pspec == NULL) 514s # { 514s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 514s # } 514s # else 514s # { 514s # if (info->use_gvariant) 514s # g_value_set_variant (&value, variant); 514s # else 514s # g_dbus_gvariant_to_gvalue (variant, &value); 514s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 514s # g_value_unset (&value); 514s # ret = TRUE; 514s # } 514s # return ret; 514s # } 514s # 514s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 514s # { 514s # _org_project_useful_interface_skeleton_handle_method_call, 514s # _org_project_useful_interface_skeleton_handle_get_property, 514s # _org_project_useful_interface_skeleton_handle_set_property, 514s # {NULL} 514s # }; 514s # 514s # static GDBusInterfaceInfo * 514s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return org_project_useful_interface_interface_info (); 514s # } 514s # 514s # static GDBusInterfaceVTable * 514s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 514s # { 514s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 514s # } 514s # 514s # static GVariant * 514s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 514s # 514s # GVariantBuilder builder; 514s # guint n; 514s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 514s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 514s # goto out; 514s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 514s # { 514s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 514s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 514s # { 514s # GVariant *value; 514s # 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); 514s # if (value != NULL) 514s # { 514s # g_variant_take_ref (value); 514s # g_variant_builder_add (&builder, "{sv}", info->name, value); 514s # g_variant_unref (value); 514s # } 514s # } 514s # } 514s # out: 514s # return g_variant_builder_end (&builder); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #else 514s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 514s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 514s # 514s # #endif 514s # static void 514s # org_project_useful_interface_skeleton_finalize (GObject *object) 514s # { 514s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 514s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 514s # if (skeleton->priv->changed_properties_idle_source != NULL) 514s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 514s # g_main_context_unref (skeleton->priv->context); 514s # g_mutex_clear (&skeleton->priv->lock); 514s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 514s # { 514s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 514s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 514s # #else 514s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 514s # #endif 514s # 514s # g_mutex_init (&skeleton->priv->lock); 514s # skeleton->priv->context = g_main_context_ref_thread_default (); 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 514s # { 514s # GObjectClass *gobject_class; 514s # GDBusInterfaceSkeletonClass *skeleton_class; 514s # 514s # gobject_class = G_OBJECT_CLASS (klass); 514s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 514s # 514s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 514s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 514s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 514s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 514s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 514s # 514s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 514s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 514s # #endif 514s # } 514s # 514s # static void 514s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 514s # { 514s # } 514s # 514s # /** 514s # * org_project_useful_interface_skeleton_new: 514s # * 514s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 514s # * 514s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 514s # */ 514s # OrgProjectUsefulInterface * 514s # org_project_useful_interface_skeleton_new (void) 514s # { 514s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 514s # } 514s # /tmp/tmppbdobmtu/tmpmiq3188g.xml: 514s # 514s # 514s # 514s # 514s # 514s # 514s # 514s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpmiq3188g.xml', '--output', '-', '--body'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: /* 514s # * This file is generated by gdbus-codegen, do not modify it. 514s # * 514s # * The license of this code is the same as for the D-Bus interface description 514s # * it was derived from. Note that it links to GLib, so must comply with the 514s # * LGPL linking clauses. 514s # */ 514s # 514s # #ifdef HAVE_CONFIG_H 514s # # include "config.h" 514s # #endif 514s # 514s # #include 514s # #ifdef G_OS_UNIX 514s # # include 514s # #endif 514s # 514s # #ifdef G_ENABLE_DEBUG 514s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 514s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 514s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 514s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 514s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 514s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 514s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 514s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 514s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 514s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 514s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 514s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 514s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 514s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 514s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 514s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 514s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 514s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 514s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 514s # #else /* !G_ENABLE_DEBUG */ 514s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 514s # * Do not access GValues directly in your code. Instead, use the 514s # * g_value_get_*() functions 514s # */ 514s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 514s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 514s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 514s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 514s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 514s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 514s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 514s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 514s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 514s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 514s # #endif /* !G_ENABLE_DEBUG */ 514s # 514s # typedef struct 514s # { 514s # GDBusArgInfo parent_struct; 514s # gboolean use_gvariant; 514s # } _ExtendedGDBusArgInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusMethodInfo parent_struct; 514s # const gchar *signal_name; 514s # gboolean pass_fdlist; 514s # } _ExtendedGDBusMethodInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusSignalInfo parent_struct; 514s # const gchar *signal_name; 514s # } _ExtendedGDBusSignalInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusPropertyInfo parent_struct; 514s # const gchar *hyphen_name; 514s # guint use_gvariant : 1; 514s # guint emits_changed_signal : 1; 514s # } _ExtendedGDBusPropertyInfo; 514s # 514s # typedef struct 514s # { 514s # GDBusInterfaceInfo parent_struct; 514s # const gchar *hyphen_name; 514s # } _ExtendedGDBusInterfaceInfo; 514s # 514s # typedef struct 514s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # static void 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint G_GNUC_UNUSED, 515s # void *marshal_data) 515s # { 515s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 515s # (void *data1, 515s # GDBusMethodInvocation *arg_method_invocation, 515s # void *data2); 515s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 515s # GCClosure *cc = (GCClosure*) closure; 515s # void *data1, *data2; 515s # gboolean v_return; 515s # 515s # g_return_if_fail (return_value != NULL); 515s # g_return_if_fail (n_param_values == 2); 515s # 515s # if (G_CCLOSURE_SWAP_DATA (closure)) 515s # { 515s # data1 = closure->data; 515s # data2 = g_value_peek_pointer (param_values + 0); 515s # } 515s # else 515s # { 515s # data1 = g_value_peek_pointer (param_values + 0); 515s # data2 = closure->data; 515s # } 515s # 515s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 515s # (marshal_data ? marshal_data : cc->callback); 515s # 515s # v_return = 515s # callback (data1, 515s # g_marshal_value_peek_object (param_values + 1), 515s # data2); 515s # 515s # g_value_set_boolean (return_value, v_return); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.UsefulInterface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectUsefulInterface 515s # * @title: OrgProjectUsefulInterface 515s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 515s # */ 515s # 515s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 515s # { 515s # { 515s # -1, 515s # (gchar *) "arg_ao", 515s # (gchar *) "ao", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 515s # { 515s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgMethodAo", 515s # NULL, 515s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 515s # NULL 515s # }, 515s # "handle-single-arg-method-ao", 515s # FALSE 515s # }; 515s # 515s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 515s # { 515s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.UsefulInterface", 515s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 515s # NULL, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-useful-interface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_useful_interface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_useful_interface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectUsefulInterface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 515s # */ 515s # 515s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 515s # { 515s # /* GObject signals for incoming D-Bus method calls: */ 515s # /** 515s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 515s # * @object: A #OrgProjectUsefulInterface. 515s # * @invocation: A #GDBusMethodInvocation. 515s # * 515s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 515s # * 515s # * 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. 515s # * 515s # * 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. 515s # */ 515s # g_signal_new ("handle-single-arg-method-ao", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 515s # g_signal_accumulator_true_handled, 515s # NULL, 515s # org_project_useful_interface_method_marshal_single_arg_method_ao, 515s # G_TYPE_BOOLEAN, 515s # 1, 515s # G_TYPE_DBUS_METHOD_INVOCATION); 515s # 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_call_single_arg_method_ao: 515s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 515s # */ 515s # void 515s # org_project_useful_interface_call_single_arg_method_ao ( 515s # OrgProjectUsefulInterface *proxy, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 515s # "SingleArgMethodAo", 515s # g_variant_new ("()"), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # callback, 515s # user_data); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_call_single_arg_method_ao_finish: 515s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 515s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_useful_interface_call_single_arg_method_ao_finish ( 515s # OrgProjectUsefulInterface *proxy, 515s # gchar ***out_arg_ao, 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(^ao)", 515s # out_arg_ao); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_call_single_arg_method_ao_sync: 515s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 515s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_useful_interface_call_single_arg_method_ao_sync ( 515s # OrgProjectUsefulInterface *proxy, 515s # gchar ***out_arg_ao, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 515s # "SingleArgMethodAo", 515s # g_variant_new ("()"), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(^ao)", 515s # out_arg_ao); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_complete_single_arg_method_ao: 515s # * @object: A #OrgProjectUsefulInterface. 515s # * @invocation: (transfer full): A #GDBusMethodInvocation. 515s # * @arg_ao: Parameter to return. 515s # * 515s # * 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. 515s # * 515s # * This method will free @invocation, you cannot use it afterwards. 515s # */ 515s # void 515s # org_project_useful_interface_complete_single_arg_method_ao ( 515s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 515s # GDBusMethodInvocation *invocation, 515s # const gchar *const *arg_ao) 515s # { 515s # g_dbus_method_invocation_return_value (invocation, 515s # g_variant_new ("(^ao)", 515s # arg_ao)); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceProxy: 515s # * 515s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectUsefulInterfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectUsefulInterfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_useful_interface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 515s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 515s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_useful_interface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_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); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_useful_interface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_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); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceSkeleton: 515s # * 515s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_useful_interface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_useful_interface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_useful_interface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 515s # { 515s # _org_project_useful_interface_skeleton_handle_method_call, 515s # _org_project_useful_interface_skeleton_handle_get_property, 515s # _org_project_useful_interface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_useful_interface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_useful_interface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 515s # } 515s # /tmp/tmppbdobmtu/tmpirlz86z2.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpirlz86z2.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # static void 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint G_GNUC_UNUSED, 515s # void *marshal_data) 515s # { 515s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 515s # (void *data1, 515s # GDBusMethodInvocation *arg_method_invocation, 515s # void *data2); 515s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 515s # GCClosure *cc = (GCClosure*) closure; 515s # void *data1, *data2; 515s # gboolean v_return; 515s # 515s # g_return_if_fail (return_value != NULL); 515s # g_return_if_fail (n_param_values == 2); 515s # 515s # if (G_CCLOSURE_SWAP_DATA (closure)) 515s # { 515s # data1 = closure->data; 515s # data2 = g_value_peek_pointer (param_values + 0); 515s # } 515s # else 515s # { 515s # data1 = g_value_peek_pointer (param_values + 0); 515s # data2 = closure->data; 515s # } 515s # 515s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 515s # (marshal_data ? marshal_data : cc->callback); 515s # 515s # v_return = 515s # callback (data1, 515s # g_marshal_value_peek_object (param_values + 1), 515s # data2); 515s # 515s # g_value_set_boolean (return_value, v_return); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.UsefulInterface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectUsefulInterface 515s # * @title: OrgProjectUsefulInterface 515s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 515s # */ 515s # 515s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "arg_aay", 515s # (gchar *) "aay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 515s # { 515s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgMethodAay", 515s # NULL, 515s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 515s # NULL 515s # }, 515s # "handle-single-arg-method-aay", 515s # FALSE 515s # }; 515s # 515s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 515s # { 515s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.UsefulInterface", 515s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 515s # NULL, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-useful-interface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_useful_interface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_useful_interface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectUsefulInterface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 515s # */ 515s # 515s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 515s # { 515s # /* GObject signals for incoming D-Bus method calls: */ 515s # /** 515s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 515s # * @object: A #OrgProjectUsefulInterface. 515s # * @invocation: A #GDBusMethodInvocation. 515s # * 515s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 515s # * 515s # * 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. 515s # * 515s # * 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. 515s # */ 515s # g_signal_new ("handle-single-arg-method-aay", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 515s # g_signal_accumulator_true_handled, 515s # NULL, 515s # org_project_useful_interface_method_marshal_single_arg_method_aay, 515s # G_TYPE_BOOLEAN, 515s # 1, 515s # G_TYPE_DBUS_METHOD_INVOCATION); 515s # 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_call_single_arg_method_aay: 515s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 515s # */ 515s # void 515s # org_project_useful_interface_call_single_arg_method_aay ( 515s # OrgProjectUsefulInterface *proxy, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 515s # "SingleArgMethodAay", 515s # g_variant_new ("()"), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # callback, 515s # user_data); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_call_single_arg_method_aay_finish: 515s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 515s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_useful_interface_call_single_arg_method_aay_finish ( 515s # OrgProjectUsefulInterface *proxy, 515s # gchar ***out_arg_aay, 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(^aay)", 515s # out_arg_aay); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_call_single_arg_method_aay_sync: 515s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 515s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_useful_interface_call_single_arg_method_aay_sync ( 515s # OrgProjectUsefulInterface *proxy, 515s # gchar ***out_arg_aay, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 515s # "SingleArgMethodAay", 515s # g_variant_new ("()"), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(^aay)", 515s # out_arg_aay); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_complete_single_arg_method_aay: 515s # * @object: A #OrgProjectUsefulInterface. 515s # * @invocation: (transfer full): A #GDBusMethodInvocation. 515s # * @arg_aay: Parameter to return. 515s # * 515s # * 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. 515s # * 515s # * This method will free @invocation, you cannot use it afterwards. 515s # */ 515s # void 515s # org_project_useful_interface_complete_single_arg_method_aay ( 515s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 515s # GDBusMethodInvocation *invocation, 515s # const gchar *const *arg_aay) 515s # { 515s # g_dbus_method_invocation_return_value (invocation, 515s # g_variant_new ("(^aay)", 515s # arg_aay)); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceProxy: 515s # * 515s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectUsefulInterfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectUsefulInterfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_useful_interface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 515s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 515s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_useful_interface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_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); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_useful_interface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_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); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceSkeleton: 515s # * 515s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_useful_interface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_useful_interface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_useful_interface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 515s # { 515s # _org_project_useful_interface_skeleton_handle_method_call, 515s # _org_project_useful_interface_skeleton_handle_get_property, 515s # _org_project_useful_interface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_useful_interface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_useful_interface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 515s # } 515s # /tmp/tmppbdobmtu/tmpiewidk96.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbdobmtu/tmpiewidk96.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # static void 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint G_GNUC_UNUSED, 515s # void *marshal_data) 515s # { 515s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 515s # (void *data1, 515s # GDBusMethodInvocation *arg_method_invocation, 515s # void *data2); 515s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 515s # GCClosure *cc = (GCClosure*) closure; 515s # void *data1, *data2; 515s # gboolean v_return; 515s # 515s # g_return_if_fail (return_value != NULL); 515s # g_return_if_fail (n_param_values == 2); 515s # 515s # if (G_CCLOSURE_SWAP_DATA (closure)) 515s # { 515s # data1 = closure->data; 515s # data2 = g_value_peek_pointer (param_values + 0); 515s # } 515s # else 515s # { 515s # data1 = g_value_peek_pointer (param_values + 0); 515s # data2 = closure->data; 515s # } 515s # 515s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 515s # (marshal_data ? marshal_data : cc->callback); 515s # 515s # v_return = 515s # callback (data1, 515s # g_marshal_value_peek_object (param_values + 1), 515s # data2); 515s # 515s # g_value_set_boolean (return_value, v_return); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.UsefulInterface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectUsefulInterface 515s # * @title: OrgProjectUsefulInterface 515s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 515s # */ 515s # 515s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 515s # { 515s # { 515s # -1, 515s # (gchar *) "arg_asv", 515s # (gchar *) "a{sv}", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 515s # { 515s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgMethodAsv", 515s # NULL, 515s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 515s # NULL 515s # }, 515s # "handle-single-arg-method-asv", 515s # FALSE 515s # }; 515s # 515s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 515s # { 515s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.UsefulInterface", 515s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 515s # NULL, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-useful-interface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_useful_interface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_useful_interface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectUsefulInterface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 515s # */ 515s # 515s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 515s # { 515s # /* GObject signals for incoming D-Bus method calls: */ 515s # /** 515s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 515s # * @object: A #OrgProjectUsefulInterface. 515s # * @invocation: A #GDBusMethodInvocation. 515s # * 515s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 515s # * 515s # * 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. 515s # * 515s # * 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. 515s # */ 515s # g_signal_new ("handle-single-arg-method-asv", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 515s # g_signal_accumulator_true_handled, 515s # NULL, 515s # org_project_useful_interface_method_marshal_single_arg_method_asv, 515s # G_TYPE_BOOLEAN, 515s # 1, 515s # G_TYPE_DBUS_METHOD_INVOCATION); 515s # 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_call_single_arg_method_asv: 515s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 515s # */ 515s # void 515s # org_project_useful_interface_call_single_arg_method_asv ( 515s # OrgProjectUsefulInterface *proxy, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 515s # "SingleArgMethodAsv", 515s # g_variant_new ("()"), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # callback, 515s # user_data); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_call_single_arg_method_asv_finish: 515s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 515s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_useful_interface_call_single_arg_method_asv_finish ( 515s # OrgProjectUsefulInterface *proxy, 515s # GVariant **out_arg_asv, 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(@a{sv})", 515s # out_arg_asv); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_call_single_arg_method_asv_sync: 515s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 515s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_useful_interface_call_single_arg_method_asv_sync ( 515s # OrgProjectUsefulInterface *proxy, 515s # GVariant **out_arg_asv, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 515s # "SingleArgMethodAsv", 515s # g_variant_new ("()"), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(@a{sv})", 515s # out_arg_asv); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_complete_single_arg_method_asv: 515s # * @object: A #OrgProjectUsefulInterface. 515s # * @invocation: (transfer full): A #GDBusMethodInvocation. 515s # * @arg_asv: Parameter to return. 515s # * 515s # * 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. 515s # * 515s # * This method will free @invocation, you cannot use it afterwards. 515s # */ 515s # void 515s # org_project_useful_interface_complete_single_arg_method_asv ( 515s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 515s # GDBusMethodInvocation *invocation, 515s # GVariant *arg_asv) 515s # { 515s # g_dbus_method_invocation_return_value (invocation, 515s # g_variant_new ("(@a{sv})", 515s # arg_asv)); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceProxy: 515s # * 515s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectUsefulInterfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectUsefulInterfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_useful_interface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 515s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 515s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_useful_interface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_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); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_useful_interface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_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); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceSkeleton: 515s # * 515s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_useful_interface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_useful_interface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_useful_interface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 515s # { 515s # _org_project_useful_interface_skeleton_handle_method_call, 515s # _org_project_useful_interface_skeleton_handle_get_property, 515s # _org_project_useful_interface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_useful_interface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_useful_interface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 515s # } 515s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 515s # tmpdir: /tmp/tmp43tq06mt 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmp43tq06mt/tmp3yockb1y.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp43tq06mt/tmp3yockb1y.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # static void 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint G_GNUC_UNUSED, 515s # void *marshal_data) 515s # { 515s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 515s # (void *data1, 515s # GDBusMethodInvocation *arg_method_invocation, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv, 515s # void *data2); 515s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 515s # GCClosure *cc = (GCClosure*) closure; 515s # void *data1, *data2; 515s # gboolean v_return; 515s # 515s # g_return_if_fail (return_value != NULL); 515s # g_return_if_fail (n_param_values == 20); 515s # 515s # if (G_CCLOSURE_SWAP_DATA (closure)) 515s # { 515s # data1 = closure->data; 515s # data2 = g_value_peek_pointer (param_values + 0); 515s # } 515s # else 515s # { 515s # data1 = g_value_peek_pointer (param_values + 0); 515s # data2 = closure->data; 515s # } 515s # 515s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 515s # (marshal_data ? marshal_data : cc->callback); 515s # 515s # v_return = 515s # callback (data1, 515s # g_marshal_value_peek_object (param_values + 1), 515s # g_marshal_value_peek_boolean (param_values + 2), 515s # g_marshal_value_peek_uchar (param_values + 3), 515s # g_marshal_value_peek_int (param_values + 4), 515s # g_marshal_value_peek_uint (param_values + 5), 515s # g_marshal_value_peek_int (param_values + 6), 515s # g_marshal_value_peek_uint (param_values + 7), 515s # g_marshal_value_peek_int64 (param_values + 8), 515s # g_marshal_value_peek_uint64 (param_values + 9), 515s # g_marshal_value_peek_double (param_values + 10), 515s # g_marshal_value_peek_string (param_values + 11), 515s # g_marshal_value_peek_string (param_values + 12), 515s # g_marshal_value_peek_string (param_values + 13), 515s # g_marshal_value_peek_variant (param_values + 14), 515s # g_marshal_value_peek_string (param_values + 15), 515s # g_marshal_value_peek_boxed (param_values + 16), 515s # g_marshal_value_peek_boxed (param_values + 17), 515s # g_marshal_value_peek_boxed (param_values + 18), 515s # g_marshal_value_peek_variant (param_values + 19), 515s # data2); 515s # 515s # g_value_set_boolean (return_value, v_return); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.CallableIface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectCallableIface 515s # * @title: OrgProjectCallableIface 515s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 515s # */ 515s # 515s # /* ---- Introspection data for org.project.CallableIface ---- */ 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_b", 515s # (gchar *) "b", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_y", 515s # (gchar *) "y", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_n", 515s # (gchar *) "n", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_q", 515s # (gchar *) "q", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_i", 515s # (gchar *) "i", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_u", 515s # (gchar *) "u", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_x", 515s # (gchar *) "x", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_t", 515s # (gchar *) "t", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_d", 515s # (gchar *) "d", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_s", 515s # (gchar *) "s", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_o", 515s # (gchar *) "o", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_g", 515s # (gchar *) "g", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_h", 515s # (gchar *) "h", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ay", 515s # (gchar *) "ay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_as", 515s # (gchar *) "as", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ao", 515s # (gchar *) "ao", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_aay", 515s # (gchar *) "aay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_asv", 515s # (gchar *) "a{sv}", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 515s # { 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 515s # { 515s # { 515s # -1, 515s # (gchar *) "MethodWithManyArgs", 515s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "handle-method-with-many-args", 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_b", 515s # (gchar *) "b", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_y", 515s # (gchar *) "y", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_n", 515s # (gchar *) "n", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_q", 515s # (gchar *) "q", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_i", 515s # (gchar *) "i", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_u", 515s # (gchar *) "u", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_x", 515s # (gchar *) "x", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_t", 515s # (gchar *) "t", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_d", 515s # (gchar *) "d", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_s", 515s # (gchar *) "s", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_o", 515s # (gchar *) "o", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_g", 515s # (gchar *) "g", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_h", 515s # (gchar *) "h", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ay", 515s # (gchar *) "ay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_as", 515s # (gchar *) "as", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ao", 515s # (gchar *) "ao", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_aay", 515s # (gchar *) "aay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_asv", 515s # (gchar *) "a{sv}", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 515s # { 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SameMethodWithManyArgs", 515s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "handle-same-method-with-many-args", 515s # FALSE 515s # }; 515s # 515s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 515s # { 515s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 515s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.CallableIface", 515s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 515s # NULL, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-callable-iface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_callable_iface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_callable_iface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_callable_iface_method_marshal_method_with_many_args ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _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, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _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, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectCallableIface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 515s # */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 515s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.CallableIface. 515s # */ 515s # 515s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 515s # { 515s # /* GObject signals for incoming D-Bus method calls: */ 515s # /** 515s # * OrgProjectCallableIface::handle-method-with-many-args: 515s # * @object: A #OrgProjectCallableIface. 515s # * @invocation: A #GDBusMethodInvocation. 515s # * @arg_an_b: Argument passed by remote caller. 515s # * @arg_an_y: Argument passed by remote caller. 515s # * @arg_an_n: Argument passed by remote caller. 515s # * @arg_an_q: Argument passed by remote caller. 515s # * @arg_an_i: Argument passed by remote caller. 515s # * @arg_an_u: Argument passed by remote caller. 515s # * @arg_an_x: Argument passed by remote caller. 515s # * @arg_an_t: Argument passed by remote caller. 515s # * @arg_an_d: Argument passed by remote caller. 515s # * @arg_an_s: Argument passed by remote caller. 515s # * @arg_an_o: Argument passed by remote caller. 515s # * @arg_an_g: Argument passed by remote caller. 515s # * @arg_an_h: Argument passed by remote caller. 515s # * @arg_an_ay: Argument passed by remote caller. 515s # * @arg_an_as: Argument passed by remote caller. 515s # * @arg_an_ao: Argument passed by remote caller. 515s # * @arg_an_aay: Argument passed by remote caller. 515s # * @arg_an_asv: Argument passed by remote caller. 515s # * 515s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 515s # * 515s # * 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. 515s # * 515s # * 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. 515s # */ 515s # g_signal_new ("handle-method-with-many-args", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 515s # g_signal_accumulator_true_handled, 515s # NULL, 515s # org_project_callable_iface_method_marshal_method_with_many_args, 515s # G_TYPE_BOOLEAN, 515s # 19, 515s # 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); 515s # 515s # /** 515s # * OrgProjectCallableIface::handle-same-method-with-many-args: 515s # * @object: A #OrgProjectCallableIface. 515s # * @invocation: A #GDBusMethodInvocation. 515s # * @arg_an_b: Argument passed by remote caller. 515s # * @arg_an_y: Argument passed by remote caller. 515s # * @arg_an_n: Argument passed by remote caller. 515s # * @arg_an_q: Argument passed by remote caller. 515s # * @arg_an_i: Argument passed by remote caller. 515s # * @arg_an_u: Argument passed by remote caller. 515s # * @arg_an_x: Argument passed by remote caller. 515s # * @arg_an_t: Argument passed by remote caller. 515s # * @arg_an_d: Argument passed by remote caller. 515s # * @arg_an_s: Argument passed by remote caller. 515s # * @arg_an_o: Argument passed by remote caller. 515s # * @arg_an_g: Argument passed by remote caller. 515s # * @arg_an_h: Argument passed by remote caller. 515s # * @arg_an_ay: Argument passed by remote caller. 515s # * @arg_an_as: Argument passed by remote caller. 515s # * @arg_an_ao: Argument passed by remote caller. 515s # * @arg_an_aay: Argument passed by remote caller. 515s # * @arg_an_asv: Argument passed by remote caller. 515s # * 515s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 515s # * 515s # * 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. 515s # * 515s # * 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. 515s # */ 515s # g_signal_new ("handle-same-method-with-many-args", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 515s # g_signal_accumulator_true_handled, 515s # NULL, 515s # org_project_callable_iface_method_marshal_same_method_with_many_args, 515s # G_TYPE_BOOLEAN, 515s # 19, 515s # 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); 515s # 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_call_method_with_many_args: 515s # * @proxy: A #OrgProjectCallableIfaceProxy. 515s # * @arg_an_b: Argument to pass with the method invocation. 515s # * @arg_an_y: Argument to pass with the method invocation. 515s # * @arg_an_n: Argument to pass with the method invocation. 515s # * @arg_an_q: Argument to pass with the method invocation. 515s # * @arg_an_i: Argument to pass with the method invocation. 515s # * @arg_an_u: Argument to pass with the method invocation. 515s # * @arg_an_x: Argument to pass with the method invocation. 515s # * @arg_an_t: Argument to pass with the method invocation. 515s # * @arg_an_d: Argument to pass with the method invocation. 515s # * @arg_an_s: Argument to pass with the method invocation. 515s # * @arg_an_o: Argument to pass with the method invocation. 515s # * @arg_an_g: Argument to pass with the method invocation. 515s # * @arg_an_h: Argument to pass with the method invocation. 515s # * @arg_an_ay: Argument to pass with the method invocation. 515s # * @arg_an_as: Argument to pass with the method invocation. 515s # * @arg_an_ao: Argument to pass with the method invocation. 515s # * @arg_an_aay: Argument to pass with the method invocation. 515s # * @arg_an_asv: Argument to pass with the method invocation. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 515s # * 515s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 515s # */ 515s # void 515s # org_project_callable_iface_call_method_with_many_args ( 515s # OrgProjectCallableIface *proxy, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 515s # "MethodWithManyArgs", 515s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # arg_an_b, 515s # arg_an_y, 515s # arg_an_n, 515s # arg_an_q, 515s # arg_an_i, 515s # arg_an_u, 515s # arg_an_x, 515s # arg_an_t, 515s # arg_an_d, 515s # arg_an_s, 515s # arg_an_o, 515s # arg_an_g, 515s # arg_an_h, 515s # arg_an_ay, 515s # arg_an_as, 515s # arg_an_ao, 515s # arg_an_aay, 515s # arg_an_asv), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # callback, 515s # user_data); 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_call_method_with_many_args_finish: 515s # * @proxy: A #OrgProjectCallableIfaceProxy. 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_callable_iface_call_method_with_many_args_finish ( 515s # OrgProjectCallableIface *proxy, 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "()"); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_call_method_with_many_args_sync: 515s # * @proxy: A #OrgProjectCallableIfaceProxy. 515s # * @arg_an_b: Argument to pass with the method invocation. 515s # * @arg_an_y: Argument to pass with the method invocation. 515s # * @arg_an_n: Argument to pass with the method invocation. 515s # * @arg_an_q: Argument to pass with the method invocation. 515s # * @arg_an_i: Argument to pass with the method invocation. 515s # * @arg_an_u: Argument to pass with the method invocation. 515s # * @arg_an_x: Argument to pass with the method invocation. 515s # * @arg_an_t: Argument to pass with the method invocation. 515s # * @arg_an_d: Argument to pass with the method invocation. 515s # * @arg_an_s: Argument to pass with the method invocation. 515s # * @arg_an_o: Argument to pass with the method invocation. 515s # * @arg_an_g: Argument to pass with the method invocation. 515s # * @arg_an_h: Argument to pass with the method invocation. 515s # * @arg_an_ay: Argument to pass with the method invocation. 515s # * @arg_an_as: Argument to pass with the method invocation. 515s # * @arg_an_ao: Argument to pass with the method invocation. 515s # * @arg_an_aay: Argument to pass with the method invocation. 515s # * @arg_an_asv: Argument to pass with the method invocation. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_callable_iface_call_method_with_many_args_sync ( 515s # OrgProjectCallableIface *proxy, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 515s # "MethodWithManyArgs", 515s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # arg_an_b, 515s # arg_an_y, 515s # arg_an_n, 515s # arg_an_q, 515s # arg_an_i, 515s # arg_an_u, 515s # arg_an_x, 515s # arg_an_t, 515s # arg_an_d, 515s # arg_an_s, 515s # arg_an_o, 515s # arg_an_g, 515s # arg_an_h, 515s # arg_an_ay, 515s # arg_an_as, 515s # arg_an_ao, 515s # arg_an_aay, 515s # arg_an_asv), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "()"); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_call_same_method_with_many_args: 515s # * @proxy: A #OrgProjectCallableIfaceProxy. 515s # * @arg_an_b: Argument to pass with the method invocation. 515s # * @arg_an_y: Argument to pass with the method invocation. 515s # * @arg_an_n: Argument to pass with the method invocation. 515s # * @arg_an_q: Argument to pass with the method invocation. 515s # * @arg_an_i: Argument to pass with the method invocation. 515s # * @arg_an_u: Argument to pass with the method invocation. 515s # * @arg_an_x: Argument to pass with the method invocation. 515s # * @arg_an_t: Argument to pass with the method invocation. 515s # * @arg_an_d: Argument to pass with the method invocation. 515s # * @arg_an_s: Argument to pass with the method invocation. 515s # * @arg_an_o: Argument to pass with the method invocation. 515s # * @arg_an_g: Argument to pass with the method invocation. 515s # * @arg_an_h: Argument to pass with the method invocation. 515s # * @arg_an_ay: Argument to pass with the method invocation. 515s # * @arg_an_as: Argument to pass with the method invocation. 515s # * @arg_an_ao: Argument to pass with the method invocation. 515s # * @arg_an_aay: Argument to pass with the method invocation. 515s # * @arg_an_asv: Argument to pass with the method invocation. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 515s # * 515s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 515s # */ 515s # void 515s # org_project_callable_iface_call_same_method_with_many_args ( 515s # OrgProjectCallableIface *proxy, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 515s # "SameMethodWithManyArgs", 515s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # arg_an_b, 515s # arg_an_y, 515s # arg_an_n, 515s # arg_an_q, 515s # arg_an_i, 515s # arg_an_u, 515s # arg_an_x, 515s # arg_an_t, 515s # arg_an_d, 515s # arg_an_s, 515s # arg_an_o, 515s # arg_an_g, 515s # arg_an_h, 515s # arg_an_ay, 515s # arg_an_as, 515s # arg_an_ao, 515s # arg_an_aay, 515s # arg_an_asv), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # callback, 515s # user_data); 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_call_same_method_with_many_args_finish: 515s # * @proxy: A #OrgProjectCallableIfaceProxy. 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_callable_iface_call_same_method_with_many_args_finish ( 515s # OrgProjectCallableIface *proxy, 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "()"); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_call_same_method_with_many_args_sync: 515s # * @proxy: A #OrgProjectCallableIfaceProxy. 515s # * @arg_an_b: Argument to pass with the method invocation. 515s # * @arg_an_y: Argument to pass with the method invocation. 515s # * @arg_an_n: Argument to pass with the method invocation. 515s # * @arg_an_q: Argument to pass with the method invocation. 515s # * @arg_an_i: Argument to pass with the method invocation. 515s # * @arg_an_u: Argument to pass with the method invocation. 515s # * @arg_an_x: Argument to pass with the method invocation. 515s # * @arg_an_t: Argument to pass with the method invocation. 515s # * @arg_an_d: Argument to pass with the method invocation. 515s # * @arg_an_s: Argument to pass with the method invocation. 515s # * @arg_an_o: Argument to pass with the method invocation. 515s # * @arg_an_g: Argument to pass with the method invocation. 515s # * @arg_an_h: Argument to pass with the method invocation. 515s # * @arg_an_ay: Argument to pass with the method invocation. 515s # * @arg_an_as: Argument to pass with the method invocation. 515s # * @arg_an_ao: Argument to pass with the method invocation. 515s # * @arg_an_aay: Argument to pass with the method invocation. 515s # * @arg_an_asv: Argument to pass with the method invocation. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_callable_iface_call_same_method_with_many_args_sync ( 515s # OrgProjectCallableIface *proxy, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 515s # "SameMethodWithManyArgs", 515s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # arg_an_b, 515s # arg_an_y, 515s # arg_an_n, 515s # arg_an_q, 515s # arg_an_i, 515s # arg_an_u, 515s # arg_an_x, 515s # arg_an_t, 515s # arg_an_d, 515s # arg_an_s, 515s # arg_an_o, 515s # arg_an_g, 515s # arg_an_h, 515s # arg_an_ay, 515s # arg_an_as, 515s # arg_an_ao, 515s # arg_an_aay, 515s # arg_an_asv), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "()"); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_complete_method_with_many_args: 515s # * @object: A #OrgProjectCallableIface. 515s # * @invocation: (transfer full): A #GDBusMethodInvocation. 515s # * 515s # * 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. 515s # * 515s # * This method will free @invocation, you cannot use it afterwards. 515s # */ 515s # void 515s # org_project_callable_iface_complete_method_with_many_args ( 515s # OrgProjectCallableIface *object G_GNUC_UNUSED, 515s # GDBusMethodInvocation *invocation) 515s # { 515s # g_dbus_method_invocation_return_value (invocation, 515s # g_variant_new ("()")); 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_complete_same_method_with_many_args: 515s # * @object: A #OrgProjectCallableIface. 515s # * @invocation: (transfer full): A #GDBusMethodInvocation. 515s # * 515s # * 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. 515s # * 515s # * This method will free @invocation, you cannot use it afterwards. 515s # */ 515s # void 515s # org_project_callable_iface_complete_same_method_with_many_args ( 515s # OrgProjectCallableIface *object G_GNUC_UNUSED, 515s # GDBusMethodInvocation *invocation) 515s # { 515s # g_dbus_method_invocation_return_value (invocation, 515s # g_variant_new ("()")); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceProxy: 515s # * 515s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectCallableIfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectCallableIfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_callable_iface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 515s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 515s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_callable_iface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_callable_iface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceSkeleton: 515s # * 515s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectCallableIfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectCallableIfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_callable_iface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_callable_iface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_callable_iface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 515s # { 515s # _org_project_callable_iface_skeleton_handle_method_call, 515s # _org_project_callable_iface_skeleton_handle_get_property, 515s # _org_project_callable_iface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_callable_iface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_callable_iface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.OtherCallableIface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectOtherCallableIface 515s # * @title: OrgProjectOtherCallableIface 515s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 515s # */ 515s # 515s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_b", 515s # (gchar *) "b", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_y", 515s # (gchar *) "y", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_n", 515s # (gchar *) "n", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_q", 515s # (gchar *) "q", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_i", 515s # (gchar *) "i", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_u", 515s # (gchar *) "u", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_x", 515s # (gchar *) "x", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_t", 515s # (gchar *) "t", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_d", 515s # (gchar *) "d", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_s", 515s # (gchar *) "s", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_o", 515s # (gchar *) "o", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_g", 515s # (gchar *) "g", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_h", 515s # (gchar *) "h", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ay", 515s # (gchar *) "ay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_as", 515s # (gchar *) "as", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ao", 515s # (gchar *) "ao", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_aay", 515s # (gchar *) "aay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_asv", 515s # (gchar *) "a{sv}", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 515s # { 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 515s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 515s # { 515s # { 515s # -1, 515s # (gchar *) "MethodWithManyArgs", 515s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "handle-method-with-many-args", 515s # FALSE 515s # }; 515s # 515s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 515s # { 515s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.OtherCallableIface", 515s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 515s # NULL, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-other-callable-iface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_other_callable_iface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_other_callable_iface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _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, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectOtherCallableIface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 515s # */ 515s # 515s # /** 515s # * OrgProjectOtherCallableIfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 515s # */ 515s # 515s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 515s # { 515s # /* GObject signals for incoming D-Bus method calls: */ 515s # /** 515s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 515s # * @object: A #OrgProjectOtherCallableIface. 515s # * @invocation: A #GDBusMethodInvocation. 515s # * @arg_an_b: Argument passed by remote caller. 515s # * @arg_an_y: Argument passed by remote caller. 515s # * @arg_an_n: Argument passed by remote caller. 515s # * @arg_an_q: Argument passed by remote caller. 515s # * @arg_an_i: Argument passed by remote caller. 515s # * @arg_an_u: Argument passed by remote caller. 515s # * @arg_an_x: Argument passed by remote caller. 515s # * @arg_an_t: Argument passed by remote caller. 515s # * @arg_an_d: Argument passed by remote caller. 515s # * @arg_an_s: Argument passed by remote caller. 515s # * @arg_an_o: Argument passed by remote caller. 515s # * @arg_an_g: Argument passed by remote caller. 515s # * @arg_an_h: Argument passed by remote caller. 515s # * @arg_an_ay: Argument passed by remote caller. 515s # * @arg_an_as: Argument passed by remote caller. 515s # * @arg_an_ao: Argument passed by remote caller. 515s # * @arg_an_aay: Argument passed by remote caller. 515s # * @arg_an_asv: Argument passed by remote caller. 515s # * 515s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 515s # * 515s # * 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. 515s # * 515s # * 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. 515s # */ 515s # g_signal_new ("handle-method-with-many-args", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 515s # g_signal_accumulator_true_handled, 515s # NULL, 515s # org_project_other_callable_iface_method_marshal_method_with_many_args, 515s # G_TYPE_BOOLEAN, 515s # 19, 515s # 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); 515s # 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_call_method_with_many_args: 515s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 515s # * @arg_an_b: Argument to pass with the method invocation. 515s # * @arg_an_y: Argument to pass with the method invocation. 515s # * @arg_an_n: Argument to pass with the method invocation. 515s # * @arg_an_q: Argument to pass with the method invocation. 515s # * @arg_an_i: Argument to pass with the method invocation. 515s # * @arg_an_u: Argument to pass with the method invocation. 515s # * @arg_an_x: Argument to pass with the method invocation. 515s # * @arg_an_t: Argument to pass with the method invocation. 515s # * @arg_an_d: Argument to pass with the method invocation. 515s # * @arg_an_s: Argument to pass with the method invocation. 515s # * @arg_an_o: Argument to pass with the method invocation. 515s # * @arg_an_g: Argument to pass with the method invocation. 515s # * @arg_an_h: Argument to pass with the method invocation. 515s # * @arg_an_ay: Argument to pass with the method invocation. 515s # * @arg_an_as: Argument to pass with the method invocation. 515s # * @arg_an_ao: Argument to pass with the method invocation. 515s # * @arg_an_aay: Argument to pass with the method invocation. 515s # * @arg_an_asv: Argument to pass with the method invocation. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 515s # * 515s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 515s # */ 515s # void 515s # org_project_other_callable_iface_call_method_with_many_args ( 515s # OrgProjectOtherCallableIface *proxy, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 515s # "MethodWithManyArgs", 515s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # arg_an_b, 515s # arg_an_y, 515s # arg_an_n, 515s # arg_an_q, 515s # arg_an_i, 515s # arg_an_u, 515s # arg_an_x, 515s # arg_an_t, 515s # arg_an_d, 515s # arg_an_s, 515s # arg_an_o, 515s # arg_an_g, 515s # arg_an_h, 515s # arg_an_ay, 515s # arg_an_as, 515s # arg_an_ao, 515s # arg_an_aay, 515s # arg_an_asv), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # callback, 515s # user_data); 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_call_method_with_many_args_finish: 515s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_other_callable_iface_call_method_with_many_args_finish ( 515s # OrgProjectOtherCallableIface *proxy, 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "()"); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_call_method_with_many_args_sync: 515s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 515s # * @arg_an_b: Argument to pass with the method invocation. 515s # * @arg_an_y: Argument to pass with the method invocation. 515s # * @arg_an_n: Argument to pass with the method invocation. 515s # * @arg_an_q: Argument to pass with the method invocation. 515s # * @arg_an_i: Argument to pass with the method invocation. 515s # * @arg_an_u: Argument to pass with the method invocation. 515s # * @arg_an_x: Argument to pass with the method invocation. 515s # * @arg_an_t: Argument to pass with the method invocation. 515s # * @arg_an_d: Argument to pass with the method invocation. 515s # * @arg_an_s: Argument to pass with the method invocation. 515s # * @arg_an_o: Argument to pass with the method invocation. 515s # * @arg_an_g: Argument to pass with the method invocation. 515s # * @arg_an_h: Argument to pass with the method invocation. 515s # * @arg_an_ay: Argument to pass with the method invocation. 515s # * @arg_an_as: Argument to pass with the method invocation. 515s # * @arg_an_ao: Argument to pass with the method invocation. 515s # * @arg_an_aay: Argument to pass with the method invocation. 515s # * @arg_an_asv: Argument to pass with the method invocation. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_other_callable_iface_call_method_with_many_args_sync ( 515s # OrgProjectOtherCallableIface *proxy, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 515s # "MethodWithManyArgs", 515s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # arg_an_b, 515s # arg_an_y, 515s # arg_an_n, 515s # arg_an_q, 515s # arg_an_i, 515s # arg_an_u, 515s # arg_an_x, 515s # arg_an_t, 515s # arg_an_d, 515s # arg_an_s, 515s # arg_an_o, 515s # arg_an_g, 515s # arg_an_h, 515s # arg_an_ay, 515s # arg_an_as, 515s # arg_an_ao, 515s # arg_an_aay, 515s # arg_an_asv), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "()"); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_complete_method_with_many_args: 515s # * @object: A #OrgProjectOtherCallableIface. 515s # * @invocation: (transfer full): A #GDBusMethodInvocation. 515s # * 515s # * 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. 515s # * 515s # * This method will free @invocation, you cannot use it afterwards. 515s # */ 515s # void 515s # org_project_other_callable_iface_complete_method_with_many_args ( 515s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 515s # GDBusMethodInvocation *invocation) 515s # { 515s # g_dbus_method_invocation_return_value (invocation, 515s # g_variant_new ("()")); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectOtherCallableIfaceProxy: 515s # * 515s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectOtherCallableIfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectOtherCallableIfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_other_callable_iface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 515s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 515s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_other_callable_iface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherCallableIface * 515s # org_project_other_callable_iface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherCallableIface * 515s # org_project_other_callable_iface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_other_callable_iface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_other_callable_iface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherCallableIface * 515s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherCallableIface * 515s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectOtherCallableIfaceSkeleton: 515s # * 515s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectOtherCallableIfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_other_callable_iface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_other_callable_iface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_other_callable_iface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 515s # { 515s # _org_project_other_callable_iface_skeleton_handle_method_call, 515s # _org_project_other_callable_iface_skeleton_handle_get_property, 515s # _org_project_other_callable_iface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_other_callable_iface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_other_callable_iface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectOtherCallableIface * 515s # org_project_other_callable_iface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 515s # } 515s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 515s # tmpdir: /tmp/tmpr3g9svl3 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmpr3g9svl3/tmp9qvstq_j.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr3g9svl3/tmp9qvstq_j.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # static void 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint G_GNUC_UNUSED, 515s # void *marshal_data) 515s # { 515s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 515s # (void *data1, 515s # GDBusMethodInvocation *arg_method_invocation, 515s # void *data2); 515s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 515s # GCClosure *cc = (GCClosure*) closure; 515s # void *data1, *data2; 515s # gboolean v_return; 515s # 515s # g_return_if_fail (return_value != NULL); 515s # g_return_if_fail (n_param_values == 2); 515s # 515s # if (G_CCLOSURE_SWAP_DATA (closure)) 515s # { 515s # data1 = closure->data; 515s # data2 = g_value_peek_pointer (param_values + 0); 515s # } 515s # else 515s # { 515s # data1 = g_value_peek_pointer (param_values + 0); 515s # data2 = closure->data; 515s # } 515s # 515s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 515s # (marshal_data ? marshal_data : cc->callback); 515s # 515s # v_return = 515s # callback (data1, 515s # g_marshal_value_peek_object (param_values + 1), 515s # data2); 515s # 515s # g_value_set_boolean (return_value, v_return); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.CallableIface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectCallableIface 515s # * @title: OrgProjectCallableIface 515s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 515s # */ 515s # 515s # /* ---- Introspection data for org.project.CallableIface ---- */ 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_b", 515s # (gchar *) "b", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_y", 515s # (gchar *) "y", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_n", 515s # (gchar *) "n", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_q", 515s # (gchar *) "q", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_i", 515s # (gchar *) "i", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_u", 515s # (gchar *) "u", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_x", 515s # (gchar *) "x", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_t", 515s # (gchar *) "t", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_d", 515s # (gchar *) "d", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_s", 515s # (gchar *) "s", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_o", 515s # (gchar *) "o", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_g", 515s # (gchar *) "g", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_h", 515s # (gchar *) "h", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ay", 515s # (gchar *) "ay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_as", 515s # (gchar *) "as", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ao", 515s # (gchar *) "ao", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_aay", 515s # (gchar *) "aay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_asv", 515s # (gchar *) "a{sv}", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 515s # { 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 515s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 515s # { 515s # { 515s # -1, 515s # (gchar *) "MethodWithManyArgs", 515s # NULL, 515s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 515s # NULL 515s # }, 515s # "handle-method-with-many-args", 515s # FALSE 515s # }; 515s # 515s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 515s # { 515s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.CallableIface", 515s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 515s # NULL, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-callable-iface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_callable_iface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_callable_iface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_callable_iface_method_marshal_method_with_many_args ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectCallableIface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 515s # */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.CallableIface. 515s # */ 515s # 515s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 515s # { 515s # /* GObject signals for incoming D-Bus method calls: */ 515s # /** 515s # * OrgProjectCallableIface::handle-method-with-many-args: 515s # * @object: A #OrgProjectCallableIface. 515s # * @invocation: A #GDBusMethodInvocation. 515s # * 515s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 515s # * 515s # * 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. 515s # * 515s # * 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. 515s # */ 515s # g_signal_new ("handle-method-with-many-args", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 515s # g_signal_accumulator_true_handled, 515s # NULL, 515s # org_project_callable_iface_method_marshal_method_with_many_args, 515s # G_TYPE_BOOLEAN, 515s # 1, 515s # G_TYPE_DBUS_METHOD_INVOCATION); 515s # 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_call_method_with_many_args: 515s # * @proxy: A #OrgProjectCallableIfaceProxy. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 515s # * 515s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 515s # */ 515s # void 515s # org_project_callable_iface_call_method_with_many_args ( 515s # OrgProjectCallableIface *proxy, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 515s # "MethodWithManyArgs", 515s # g_variant_new ("()"), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # callback, 515s # user_data); 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_call_method_with_many_args_finish: 515s # * @proxy: A #OrgProjectCallableIfaceProxy. 515s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_callable_iface_call_method_with_many_args_finish ( 515s # OrgProjectCallableIface *proxy, 515s # gboolean *out_an_b, 515s # guchar *out_an_y, 515s # gint16 *out_an_n, 515s # guint16 *out_an_q, 515s # gint *out_an_i, 515s # guint *out_an_u, 515s # gint64 *out_an_x, 515s # guint64 *out_an_t, 515s # gdouble *out_an_d, 515s # gchar **out_an_s, 515s # gchar **out_an_o, 515s # gchar **out_an_g, 515s # GVariant **out_an_h, 515s # gchar **out_an_ay, 515s # gchar ***out_an_as, 515s # gchar ***out_an_ao, 515s # gchar ***out_an_aay, 515s # GVariant **out_an_asv, 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # out_an_b, 515s # out_an_y, 515s # out_an_n, 515s # out_an_q, 515s # out_an_i, 515s # out_an_u, 515s # out_an_x, 515s # out_an_t, 515s # out_an_d, 515s # out_an_s, 515s # out_an_o, 515s # out_an_g, 515s # out_an_h, 515s # out_an_ay, 515s # out_an_as, 515s # out_an_ao, 515s # out_an_aay, 515s # out_an_asv); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_call_method_with_many_args_sync: 515s # * @proxy: A #OrgProjectCallableIfaceProxy. 515s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 515s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # org_project_callable_iface_call_method_with_many_args_sync ( 515s # OrgProjectCallableIface *proxy, 515s # gboolean *out_an_b, 515s # guchar *out_an_y, 515s # gint16 *out_an_n, 515s # guint16 *out_an_q, 515s # gint *out_an_i, 515s # guint *out_an_u, 515s # gint64 *out_an_x, 515s # guint64 *out_an_t, 515s # gdouble *out_an_d, 515s # gchar **out_an_s, 515s # gchar **out_an_o, 515s # gchar **out_an_g, 515s # GVariant **out_an_h, 515s # gchar **out_an_ay, 515s # gchar ***out_an_as, 515s # gchar ***out_an_ao, 515s # gchar ***out_an_aay, 515s # GVariant **out_an_asv, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 515s # "MethodWithManyArgs", 515s # g_variant_new ("()"), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # cancellable, 515s # error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # out_an_b, 515s # out_an_y, 515s # out_an_n, 515s # out_an_q, 515s # out_an_i, 515s # out_an_u, 515s # out_an_x, 515s # out_an_t, 515s # out_an_d, 515s # out_an_s, 515s # out_an_o, 515s # out_an_g, 515s # out_an_h, 515s # out_an_ay, 515s # out_an_as, 515s # out_an_ao, 515s # out_an_aay, 515s # out_an_asv); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_complete_method_with_many_args: 515s # * @object: A #OrgProjectCallableIface. 515s # * @invocation: (transfer full): A #GDBusMethodInvocation. 515s # * @an_b: Parameter to return. 515s # * @an_y: Parameter to return. 515s # * @an_n: Parameter to return. 515s # * @an_q: Parameter to return. 515s # * @an_i: Parameter to return. 515s # * @an_u: Parameter to return. 515s # * @an_x: Parameter to return. 515s # * @an_t: Parameter to return. 515s # * @an_d: Parameter to return. 515s # * @an_s: Parameter to return. 515s # * @an_o: Parameter to return. 515s # * @an_g: Parameter to return. 515s # * @an_h: Parameter to return. 515s # * @an_ay: Parameter to return. 515s # * @an_as: Parameter to return. 515s # * @an_ao: Parameter to return. 515s # * @an_aay: Parameter to return. 515s # * @an_asv: Parameter to return. 515s # * 515s # * 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. 515s # * 515s # * This method will free @invocation, you cannot use it afterwards. 515s # */ 515s # void 515s # org_project_callable_iface_complete_method_with_many_args ( 515s # OrgProjectCallableIface *object G_GNUC_UNUSED, 515s # GDBusMethodInvocation *invocation, 515s # gboolean an_b, 515s # guchar an_y, 515s # gint16 an_n, 515s # guint16 an_q, 515s # gint an_i, 515s # guint an_u, 515s # gint64 an_x, 515s # guint64 an_t, 515s # gdouble an_d, 515s # const gchar *an_s, 515s # const gchar *an_o, 515s # const gchar *an_g, 515s # GVariant *an_h, 515s # const gchar *an_ay, 515s # const gchar *const *an_as, 515s # const gchar *const *an_ao, 515s # const gchar *const *an_aay, 515s # GVariant *an_asv) 515s # { 515s # g_dbus_method_invocation_return_value (invocation, 515s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # an_b, 515s # an_y, 515s # an_n, 515s # an_q, 515s # an_i, 515s # an_u, 515s # an_x, 515s # an_t, 515s # an_d, 515s # an_s, 515s # an_o, 515s # an_g, 515s # an_h, 515s # an_ay, 515s # an_as, 515s # an_ao, 515s # an_aay, 515s # an_asv)); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceProxy: 515s # * 515s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectCallableIfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectCallableIfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_callable_iface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 515s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 515s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_callable_iface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_callable_iface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_CALLABLE_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceSkeleton: 515s # * 515s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectCallableIfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectCallableIfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectCallableIfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_callable_iface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_callable_iface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_callable_iface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 515s # { 515s # _org_project_callable_iface_skeleton_handle_method_call, 515s # _org_project_callable_iface_skeleton_handle_get_property, 515s # _org_project_callable_iface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_callable_iface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_callable_iface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_callable_iface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectCallableIface * 515s # org_project_callable_iface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 515s # } 515s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 515s # tmpdir: /tmp/tmpiqmie0fs 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmpiqmie0fs/tmp7b2duile.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiqmie0fs/tmp7b2duile.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # static void 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint G_GNUC_UNUSED, 515s # void *marshal_data) 515s # { 515s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 515s # (void *data1, 515s # GUnixFDList *arg_fd_list, 515s # GDBusMethodInvocation *arg_method_invocation, 515s # const gchar *arg_greeting, 515s # void *data2); 515s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 515s # GCClosure *cc = (GCClosure*) closure; 515s # void *data1, *data2; 515s # gboolean v_return; 515s # 515s # g_return_if_fail (return_value != NULL); 515s # g_return_if_fail (n_param_values == 4); 515s # 515s # if (G_CCLOSURE_SWAP_DATA (closure)) 515s # { 515s # data1 = closure->data; 515s # data2 = g_value_peek_pointer (param_values + 0); 515s # } 515s # else 515s # { 515s # data1 = g_value_peek_pointer (param_values + 0); 515s # data2 = closure->data; 515s # } 515s # 515s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 515s # (marshal_data ? marshal_data : cc->callback); 515s # 515s # v_return = 515s # callback (data1, 515s # g_marshal_value_peek_object (param_values + 1), 515s # g_marshal_value_peek_object (param_values + 2), 515s # g_marshal_value_peek_string (param_values + 3), 515s # data2); 515s # 515s # g_value_set_boolean (return_value, v_return); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface test.FDPassing 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:TestFDPassing 515s # * @title: TestFDPassing 515s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 515s # * 515s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 515s # */ 515s # 515s # /* ---- Introspection data for test.FDPassing ---- */ 515s # 515s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 515s # { 515s # { 515s # -1, 515s # (gchar *) "greeting", 515s # (gchar *) "s", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 515s # { 515s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 515s # { 515s # { 515s # -1, 515s # (gchar *) "response", 515s # (gchar *) "s", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 515s # { 515s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 515s # { 515s # { 515s # -1, 515s # (gchar *) "HelloFD", 515s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 515s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 515s # NULL 515s # }, 515s # "handle-hello-fd", 515s # TRUE 515s # }; 515s # 515s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 515s # { 515s # &_test_fdpassing_method_info_hello_fd.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "test.FDPassing", 515s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 515s # NULL, 515s # NULL, 515s # NULL 515s # }, 515s # "test-fdpassing", 515s # }; 515s # 515s # 515s # /** 515s # * test_fdpassing_interface_info: 515s # * 515s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # test_fdpassing_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * test_fdpassing_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # test_fdpassing_method_marshal_hello_fd ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * TestFDPassing: 515s # * 515s # * Abstract interface type for the D-Bus interface test.FDPassing. 515s # */ 515s # 515s # /** 515s # * TestFDPassingIface: 515s # * @parent_iface: The parent interface. 515s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 515s # * 515s # * Virtual table for the D-Bus interface test.FDPassing. 515s # */ 515s # 515s # typedef TestFDPassingIface TestFDPassingInterface; 515s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 515s # 515s # static void 515s # test_fdpassing_default_init (TestFDPassingIface *iface) 515s # { 515s # /* GObject signals for incoming D-Bus method calls: */ 515s # /** 515s # * TestFDPassing::handle-hello-fd: 515s # * @object: A #TestFDPassing. 515s # * @invocation: A #GDBusMethodInvocation. 515s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 515s # * @arg_greeting: Argument passed by remote caller. 515s # * 515s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 515s # * 515s # * 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. 515s # * 515s # * 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. 515s # */ 515s # g_signal_new ("handle-hello-fd", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 515s # g_signal_accumulator_true_handled, 515s # NULL, 515s # test_fdpassing_method_marshal_hello_fd, 515s # G_TYPE_BOOLEAN, 515s # 3, 515s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 515s # 515s # } 515s # 515s # /** 515s # * test_fdpassing_call_hello_fd: 515s # * @proxy: A #TestFDPassingProxy. 515s # * @arg_greeting: Argument to pass with the method invocation. 515s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 515s # * 515s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 515s # */ 515s # void 515s # test_fdpassing_call_hello_fd ( 515s # TestFDPassing *proxy, 515s # const gchar *arg_greeting, 515s # GUnixFDList *fd_list, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 515s # "HelloFD", 515s # g_variant_new ("(s)", 515s # arg_greeting), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # fd_list, 515s # cancellable, 515s # callback, 515s # user_data); 515s # } 515s # 515s # /** 515s # * test_fdpassing_call_hello_fd_finish: 515s # * @proxy: A #TestFDPassingProxy. 515s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # test_fdpassing_call_hello_fd_finish ( 515s # TestFDPassing *proxy, 515s # gchar **out_response, 515s # GUnixFDList **out_fd_list, 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(s)", 515s # out_response); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * test_fdpassing_call_hello_fd_sync: 515s # * @proxy: A #TestFDPassingProxy. 515s # * @arg_greeting: Argument to pass with the method invocation. 515s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 515s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 515s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL. 515s # * 515s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 515s # * 515s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 515s # * 515s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 515s # */ 515s # gboolean 515s # test_fdpassing_call_hello_fd_sync ( 515s # TestFDPassing *proxy, 515s # const gchar *arg_greeting, 515s # GUnixFDList *fd_list, 515s # gchar **out_response, 515s # GUnixFDList **out_fd_list, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GVariant *_ret; 515s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 515s # "HelloFD", 515s # g_variant_new ("(s)", 515s # arg_greeting), 515s # G_DBUS_CALL_FLAGS_NONE, 515s # -1, 515s # fd_list, 515s # out_fd_list, 515s # cancellable, 515s # error); 515s # if (_ret == NULL) 515s # goto _out; 515s # g_variant_get (_ret, 515s # "(s)", 515s # out_response); 515s # g_variant_unref (_ret); 515s # _out: 515s # return _ret != NULL; 515s # } 515s # 515s # /** 515s # * test_fdpassing_complete_hello_fd: 515s # * @object: A #TestFDPassing. 515s # * @invocation: (transfer full): A #GDBusMethodInvocation. 515s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 515s # * @response: Parameter to return. 515s # * 515s # * 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. 515s # * 515s # * This method will free @invocation, you cannot use it afterwards. 515s # */ 515s # void 515s # test_fdpassing_complete_hello_fd ( 515s # TestFDPassing *object G_GNUC_UNUSED, 515s # GDBusMethodInvocation *invocation, 515s # GUnixFDList *fd_list, 515s # const gchar *response) 515s # { 515s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 515s # g_variant_new ("(s)", 515s # response), 515s # fd_list); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * TestFDPassingProxy: 515s # * 515s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * TestFDPassingProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #TestFDPassingProxy. 515s # */ 515s # 515s # struct _TestFDPassingProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (TestFDPassingProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # test_fdpassing_proxy_finalize (GObject *object) 515s # { 515s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 515s # } 515s # 515s # static void 515s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = test_fdpassing_proxy_finalize; 515s # gobject_class->get_property = test_fdpassing_proxy_get_property; 515s # gobject_class->set_property = test_fdpassing_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 515s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * test_fdpassing_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # test_fdpassing_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * test_fdpassing_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with test_fdpassing_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # TestFDPassing * 515s # test_fdpassing_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return TEST_FDPASSING (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * test_fdpassing_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # TestFDPassing * 515s # test_fdpassing_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return TEST_FDPASSING (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * test_fdpassing_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # test_fdpassing_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * test_fdpassing_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # TestFDPassing * 515s # test_fdpassing_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return TEST_FDPASSING (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * test_fdpassing_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # TestFDPassing * 515s # test_fdpassing_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return TEST_FDPASSING (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * TestFDPassingSkeleton: 515s # * 515s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * TestFDPassingSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #TestFDPassingSkeleton. 515s # */ 515s # 515s # struct _TestFDPassingSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _test_fdpassing_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _test_fdpassing_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _test_fdpassing_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 515s # { 515s # _test_fdpassing_skeleton_handle_method_call, 515s # _test_fdpassing_skeleton_handle_get_property, 515s # _test_fdpassing_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return test_fdpassing_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (TestFDPassingSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # test_fdpassing_skeleton_finalize (GObject *object) 515s # { 515s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * test_fdpassing_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 515s # * 515s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 515s # */ 515s # TestFDPassing * 515s # test_fdpassing_skeleton_new (void) 515s # { 515s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 515s # } 515s ok 15 __main__.TestCodegen.test_generate_rst 515s # tmpdir: /tmp/tmppnkpzkf7 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmppnkpzkf7/tmp1__94xr6.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppnkpzkf7/tmp1__94xr6.xml', '--generate-rst', 'test'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: 515s ok 16 __main__.TestCodegen.test_generate_rst_method 515s # tmpdir: /tmp/tmpxzusrwcp 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmpxzusrwcp/tmpqyw8247c.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxzusrwcp/tmpqyw8247c.xml', '--generate-rst', 'test'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: 515s ok 17 __main__.TestCodegen.test_generate_rst_property 515s # tmpdir: /tmp/tmpjaf7v3oc 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmpjaf7v3oc/tmp94xzeyb3.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjaf7v3oc/tmp94xzeyb3.xml', '--generate-rst', 'test'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: 515s ok 18 __main__.TestCodegen.test_generate_rst_signal 515s # tmpdir: /tmp/tmpwt0hcdmv 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmpwt0hcdmv/tmpe9ol3fa0.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwt0hcdmv/tmpe9ol3fa0.xml', '--generate-rst', 'test'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: 515s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 515s # tmpdir: /tmp/tmpx76p74cy 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmpx76p74cy/tmpvl6pfsba.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx76p74cy/tmpvl6pfsba.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # static void 515s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 515s # GClosure *closure, 515s # GValue *return_value G_GNUC_UNUSED, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint G_GNUC_UNUSED, 515s # void *marshal_data) 515s # { 515s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 515s # (void *data1, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv, 515s # void *data2); 515s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 515s # GCClosure *cc = (GCClosure*) closure; 515s # void *data1, *data2; 515s # 515s # g_return_if_fail (n_param_values == 19); 515s # 515s # if (G_CCLOSURE_SWAP_DATA (closure)) 515s # { 515s # data1 = closure->data; 515s # data2 = g_value_peek_pointer (param_values + 0); 515s # } 515s # else 515s # { 515s # data1 = g_value_peek_pointer (param_values + 0); 515s # data2 = closure->data; 515s # } 515s # 515s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 515s # (marshal_data ? marshal_data : cc->callback); 515s # 515s # callback (data1, 515s # g_marshal_value_peek_boolean (param_values + 1), 515s # g_marshal_value_peek_uchar (param_values + 2), 515s # g_marshal_value_peek_int (param_values + 3), 515s # g_marshal_value_peek_uint (param_values + 4), 515s # g_marshal_value_peek_int (param_values + 5), 515s # g_marshal_value_peek_uint (param_values + 6), 515s # g_marshal_value_peek_int64 (param_values + 7), 515s # g_marshal_value_peek_uint64 (param_values + 8), 515s # g_marshal_value_peek_double (param_values + 9), 515s # g_marshal_value_peek_string (param_values + 10), 515s # g_marshal_value_peek_string (param_values + 11), 515s # g_marshal_value_peek_string (param_values + 12), 515s # g_marshal_value_peek_variant (param_values + 13), 515s # g_marshal_value_peek_string (param_values + 14), 515s # g_marshal_value_peek_boxed (param_values + 15), 515s # g_marshal_value_peek_boxed (param_values + 16), 515s # g_marshal_value_peek_boxed (param_values + 17), 515s # g_marshal_value_peek_variant (param_values + 18), 515s # data2); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.SignalingIface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectSignalingIface 515s # * @title: OrgProjectSignalingIface 515s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 515s # */ 515s # 515s # enum 515s # { 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 515s # }; 515s # 515s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 515s # 515s # /* ---- Introspection data for org.project.SignalingIface ---- */ 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_b", 515s # (gchar *) "b", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_y", 515s # (gchar *) "y", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_n", 515s # (gchar *) "n", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_q", 515s # (gchar *) "q", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_i", 515s # (gchar *) "i", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_u", 515s # (gchar *) "u", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_x", 515s # (gchar *) "x", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_t", 515s # (gchar *) "t", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_d", 515s # (gchar *) "d", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_s", 515s # (gchar *) "s", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_o", 515s # (gchar *) "o", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_g", 515s # (gchar *) "g", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_h", 515s # (gchar *) "h", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ay", 515s # (gchar *) "ay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_as", 515s # (gchar *) "as", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ao", 515s # (gchar *) "ao", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_aay", 515s # (gchar *) "aay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_asv", 515s # (gchar *) "a{sv}", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SignalWithManyArgs", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 515s # NULL 515s # }, 515s # "signal-with-many-args" 515s # }; 515s # 515s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.SignalingIface", 515s # NULL, 515s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-signaling-iface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_signaling_iface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_signaling_iface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectSignalingIface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.SignalingIface. 515s # */ 515s # 515s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 515s # { 515s # /* GObject signals for received D-Bus signals: */ 515s # /** 515s # * OrgProjectSignalingIface::signal-with-many-args: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_b: Argument. 515s # * @arg_an_y: Argument. 515s # * @arg_an_n: Argument. 515s # * @arg_an_q: Argument. 515s # * @arg_an_i: Argument. 515s # * @arg_an_u: Argument. 515s # * @arg_an_x: Argument. 515s # * @arg_an_t: Argument. 515s # * @arg_an_d: Argument. 515s # * @arg_an_s: Argument. 515s # * @arg_an_o: Argument. 515s # * @arg_an_g: Argument. 515s # * @arg_an_h: Argument. 515s # * @arg_an_ay: Argument. 515s # * @arg_an_as: Argument. 515s # * @arg_an_ao: Argument. 515s # * @arg_an_aay: Argument. 515s # * @arg_an_asv: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 515s # g_signal_new ("signal-with-many-args", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 515s # G_TYPE_NONE, 515s # 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); 515s # 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_signal_with_many_args: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_b: Argument to pass with the signal. 515s # * @arg_an_y: Argument to pass with the signal. 515s # * @arg_an_n: Argument to pass with the signal. 515s # * @arg_an_q: Argument to pass with the signal. 515s # * @arg_an_i: Argument to pass with the signal. 515s # * @arg_an_u: Argument to pass with the signal. 515s # * @arg_an_x: Argument to pass with the signal. 515s # * @arg_an_t: Argument to pass with the signal. 515s # * @arg_an_d: Argument to pass with the signal. 515s # * @arg_an_s: Argument to pass with the signal. 515s # * @arg_an_o: Argument to pass with the signal. 515s # * @arg_an_g: Argument to pass with the signal. 515s # * @arg_an_h: Argument to pass with the signal. 515s # * @arg_an_ay: Argument to pass with the signal. 515s # * @arg_an_as: Argument to pass with the signal. 515s # * @arg_an_ao: Argument to pass with the signal. 515s # * @arg_an_aay: Argument to pass with the signal. 515s # * @arg_an_asv: Argument to pass with the signal. 515s # * 515s # * Emits the "SignalWithManyArgs" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_signal_with_many_args ( 515s # OrgProjectSignalingIface *object, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv) 515s # { 515s # 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); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceProxy: 515s # * 515s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectSignalingIfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectSignalingIfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_signaling_iface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 515s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 515s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_signaling_iface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_signaling_iface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceSkeleton: 515s # * 515s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectSignalingIfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_signaling_iface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_signaling_iface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_signaling_iface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 515s # { 515s # _org_project_signaling_iface_skeleton_handle_method_call, 515s # _org_project_signaling_iface_skeleton_handle_get_property, 515s # _org_project_signaling_iface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_signaling_iface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 515s # OrgProjectSignalingIface *object, 515s # gboolean arg_an_b, 515s # guchar arg_an_y, 515s # gint16 arg_an_n, 515s # guint16 arg_an_q, 515s # gint arg_an_i, 515s # guint arg_an_u, 515s # gint64 arg_an_x, 515s # guint64 arg_an_t, 515s # gdouble arg_an_d, 515s # const gchar *arg_an_s, 515s # const gchar *arg_an_o, 515s # const gchar *arg_an_g, 515s # GVariant *arg_an_h, 515s # const gchar *arg_an_ay, 515s # const gchar *const *arg_an_as, 515s # const gchar *const *arg_an_ao, 515s # const gchar *const *arg_an_aay, 515s # GVariant *arg_an_asv) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 515s # arg_an_b, 515s # arg_an_y, 515s # arg_an_n, 515s # arg_an_q, 515s # arg_an_i, 515s # arg_an_u, 515s # arg_an_x, 515s # arg_an_t, 515s # arg_an_d, 515s # arg_an_s, 515s # arg_an_o, 515s # arg_an_g, 515s # arg_an_h, 515s # arg_an_ay, 515s # arg_an_as, 515s # arg_an_ao, 515s # arg_an_aay, 515s # arg_an_asv)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_signaling_iface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 515s # { 515s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 515s # } 515s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 515s # tmpdir: /tmp/tmpko4dh5nv 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmpko4dh5nv/tmpbpvhp0ft.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpko4dh5nv/tmpbpvhp0ft.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # static void 515s # _g_dbus_codegen_marshal_VOID__INT64 ( 515s # GClosure *closure, 515s # GValue *return_value G_GNUC_UNUSED, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint G_GNUC_UNUSED, 515s # void *marshal_data) 515s # { 515s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 515s # (void *data1, 515s # gint64 arg_an_x, 515s # void *data2); 515s # _GDbusCodegenMarshalVoid_Int64Func callback; 515s # GCClosure *cc = (GCClosure*) closure; 515s # void *data1, *data2; 515s # 515s # g_return_if_fail (n_param_values == 2); 515s # 515s # if (G_CCLOSURE_SWAP_DATA (closure)) 515s # { 515s # data1 = closure->data; 515s # data2 = g_value_peek_pointer (param_values + 0); 515s # } 515s # else 515s # { 515s # data1 = g_value_peek_pointer (param_values + 0); 515s # data2 = closure->data; 515s # } 515s # 515s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 515s # (marshal_data ? marshal_data : cc->callback); 515s # 515s # callback (data1, 515s # g_marshal_value_peek_int64 (param_values + 1), 515s # data2); 515s # } 515s # 515s # static void 515s # _g_dbus_codegen_marshal_VOID__UINT64 ( 515s # GClosure *closure, 515s # GValue *return_value G_GNUC_UNUSED, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint G_GNUC_UNUSED, 515s # void *marshal_data) 515s # { 515s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 515s # (void *data1, 515s # guint64 arg_an_t, 515s # void *data2); 515s # _GDbusCodegenMarshalVoid_Uint64Func callback; 515s # GCClosure *cc = (GCClosure*) closure; 515s # void *data1, *data2; 515s # 515s # g_return_if_fail (n_param_values == 2); 515s # 515s # if (G_CCLOSURE_SWAP_DATA (closure)) 515s # { 515s # data1 = closure->data; 515s # data2 = g_value_peek_pointer (param_values + 0); 515s # } 515s # else 515s # { 515s # data1 = g_value_peek_pointer (param_values + 0); 515s # data2 = closure->data; 515s # } 515s # 515s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 515s # (marshal_data ? marshal_data : cc->callback); 515s # 515s # callback (data1, 515s # g_marshal_value_peek_uint64 (param_values + 1), 515s # data2); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.SignalingIface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectSignalingIface 515s # * @title: OrgProjectSignalingIface 515s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 515s # */ 515s # 515s # enum 515s # { 515s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 515s # }; 515s # 515s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 515s # 515s # /* ---- Introspection data for org.project.SignalingIface ---- */ 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 515s # { 515s # { 515s # -1, 515s # (gchar *) "NoArgSignal", 515s # NULL, 515s # NULL 515s # }, 515s # "no-arg-signal" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_b", 515s # (gchar *) "b", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalB", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-b" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_y", 515s # (gchar *) "y", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalY", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-y" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_n", 515s # (gchar *) "n", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalN", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-n" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_q", 515s # (gchar *) "q", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalQ", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-q" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_i", 515s # (gchar *) "i", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalI", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-i" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_u", 515s # (gchar *) "u", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalU", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-u" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_x", 515s # (gchar *) "x", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalX", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-x" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_t", 515s # (gchar *) "t", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalT", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-t" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_d", 515s # (gchar *) "d", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalD", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-d" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_s", 515s # (gchar *) "s", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalS", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-s" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_o", 515s # (gchar *) "o", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalO", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-o" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_g", 515s # (gchar *) "g", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalG", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-g" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_h", 515s # (gchar *) "h", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalH", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-h" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ay", 515s # (gchar *) "ay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalAY", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-ay" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_as", 515s # (gchar *) "as", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalAS", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-as" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_ao", 515s # (gchar *) "ao", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalAO", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-ao" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_aay", 515s # (gchar *) "aay", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalAAY", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-aay" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 515s # { 515s # { 515s # -1, 515s # (gchar *) "an_asv", 515s # (gchar *) "a{sv}", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalASV", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-asv" 515s # }; 515s # 515s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.SignalingIface", 515s # NULL, 515s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-signaling-iface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_signaling_iface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_signaling_iface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__VOID (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__BOOLEAN (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__UCHAR (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__INT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__UINT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__INT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__UINT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__DOUBLE (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__STRING (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__STRING (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__STRING (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__VARIANT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__STRING (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__BOXED (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__BOXED (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__BOXED (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__VARIANT (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectSignalingIface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 515s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 515s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 515s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 515s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 515s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 515s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 515s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 515s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 515s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 515s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 515s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 515s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 515s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 515s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 515s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 515s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 515s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 515s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.SignalingIface. 515s # */ 515s # 515s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 515s # { 515s # /* GObject signals for received D-Bus signals: */ 515s # /** 515s # * OrgProjectSignalingIface::no-arg-signal: 515s # * @object: A #OrgProjectSignalingIface. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 515s # g_signal_new ("no-arg-signal", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_no_arg_signal, 515s # G_TYPE_NONE, 515s # 0); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-b: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_b: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 515s # g_signal_new ("single-arg-signal-b", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_BOOLEAN); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-y: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_y: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 515s # g_signal_new ("single-arg-signal-y", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_UCHAR); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-n: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_n: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 515s # g_signal_new ("single-arg-signal-n", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_INT); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-q: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_q: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 515s # g_signal_new ("single-arg-signal-q", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_UINT); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-i: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_i: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 515s # g_signal_new ("single-arg-signal-i", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_INT); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-u: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_u: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 515s # g_signal_new ("single-arg-signal-u", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_UINT); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-x: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_x: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 515s # g_signal_new ("single-arg-signal-x", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_INT64); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-t: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_t: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 515s # g_signal_new ("single-arg-signal-t", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_UINT64); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-d: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_d: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 515s # g_signal_new ("single-arg-signal-d", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_DOUBLE); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-s: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_s: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 515s # g_signal_new ("single-arg-signal-s", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_STRING); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-o: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_o: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 515s # g_signal_new ("single-arg-signal-o", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_STRING); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-g: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_g: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 515s # g_signal_new ("single-arg-signal-g", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_STRING); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-h: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_h: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 515s # g_signal_new ("single-arg-signal-h", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_VARIANT); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-ay: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_ay: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 515s # g_signal_new ("single-arg-signal-ay", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_STRING); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-as: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_as: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 515s # g_signal_new ("single-arg-signal-as", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_STRV); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-ao: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_ao: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 515s # g_signal_new ("single-arg-signal-ao", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_STRV); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-aay: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_aay: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 515s # g_signal_new ("single-arg-signal-aay", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_STRV); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-asv: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_asv: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 515s # g_signal_new ("single-arg-signal-asv", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_VARIANT); 515s # 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_no_arg_signal: 515s # * @object: A #OrgProjectSignalingIface. 515s # * 515s # * Emits the "NoArgSignal" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_no_arg_signal ( 515s # OrgProjectSignalingIface *object) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_b: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_b: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalB" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_b ( 515s # OrgProjectSignalingIface *object, 515s # gboolean arg_an_b) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_y: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_y: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalY" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_y ( 515s # OrgProjectSignalingIface *object, 515s # guchar arg_an_y) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_n: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_n: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalN" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_n ( 515s # OrgProjectSignalingIface *object, 515s # gint16 arg_an_n) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_q: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_q: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalQ" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_q ( 515s # OrgProjectSignalingIface *object, 515s # guint16 arg_an_q) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_i: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_i: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalI" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_i ( 515s # OrgProjectSignalingIface *object, 515s # gint arg_an_i) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_u: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_u: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalU" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_u ( 515s # OrgProjectSignalingIface *object, 515s # guint arg_an_u) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_x: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_x: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalX" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_x ( 515s # OrgProjectSignalingIface *object, 515s # gint64 arg_an_x) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_t: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_t: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalT" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_t ( 515s # OrgProjectSignalingIface *object, 515s # guint64 arg_an_t) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_d: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_d: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalD" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_d ( 515s # OrgProjectSignalingIface *object, 515s # gdouble arg_an_d) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_s: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_s: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalS" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_s ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *arg_an_s) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_o: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_o: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalO" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_o ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *arg_an_o) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_g: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_g: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalG" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_g ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *arg_an_g) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_h: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_h: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalH" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_h ( 515s # OrgProjectSignalingIface *object, 515s # GVariant *arg_an_h) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_ay: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_ay: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalAY" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_ay ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *arg_an_ay) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_as: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_as: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalAS" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_as ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *const *arg_an_as) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_ao: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_ao: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalAO" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_ao ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *const *arg_an_ao) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_aay: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_aay: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalAAY" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_aay ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *const *arg_an_aay) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_asv: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_an_asv: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalASV" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_asv ( 515s # OrgProjectSignalingIface *object, 515s # GVariant *arg_an_asv) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceProxy: 515s # * 515s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectSignalingIfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectSignalingIfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_signaling_iface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 515s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 515s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_signaling_iface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_signaling_iface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceSkeleton: 515s # * 515s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectSignalingIfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_signaling_iface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_signaling_iface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_signaling_iface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 515s # { 515s # _org_project_signaling_iface_skeleton_handle_method_call, 515s # _org_project_signaling_iface_skeleton_handle_get_property, 515s # _org_project_signaling_iface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_signaling_iface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_no_arg_signal ( 515s # OrgProjectSignalingIface *object) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 515s # OrgProjectSignalingIface *object, 515s # gboolean arg_an_b) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 515s # arg_an_b)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 515s # OrgProjectSignalingIface *object, 515s # guchar arg_an_y) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 515s # arg_an_y)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 515s # OrgProjectSignalingIface *object, 515s # gint16 arg_an_n) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 515s # arg_an_n)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 515s # OrgProjectSignalingIface *object, 515s # guint16 arg_an_q) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 515s # arg_an_q)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 515s # OrgProjectSignalingIface *object, 515s # gint arg_an_i) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 515s # arg_an_i)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 515s # OrgProjectSignalingIface *object, 515s # guint arg_an_u) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 515s # arg_an_u)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 515s # OrgProjectSignalingIface *object, 515s # gint64 arg_an_x) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 515s # arg_an_x)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 515s # OrgProjectSignalingIface *object, 515s # guint64 arg_an_t) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 515s # arg_an_t)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 515s # OrgProjectSignalingIface *object, 515s # gdouble arg_an_d) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 515s # arg_an_d)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *arg_an_s) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 515s # arg_an_s)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *arg_an_o) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 515s # arg_an_o)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *arg_an_g) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 515s # arg_an_g)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 515s # OrgProjectSignalingIface *object, 515s # GVariant *arg_an_h) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 515s # arg_an_h)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *arg_an_ay) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 515s # arg_an_ay)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *const *arg_an_as) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 515s # arg_an_as)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *const *arg_an_ao) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 515s # arg_an_ao)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 515s # OrgProjectSignalingIface *object, 515s # const gchar *const *arg_an_aay) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 515s # arg_an_aay)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 515s # OrgProjectSignalingIface *object, 515s # GVariant *arg_an_asv) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 515s # arg_an_asv)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_signaling_iface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 515s # { 515s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 515s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 515s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 515s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 515s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 515s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 515s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 515s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 515s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 515s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 515s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 515s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 515s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 515s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 515s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 515s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 515s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 515s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 515s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 515s # } 515s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 515s # tmpdir: /tmp/tmp4njii4cn 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmp4njii4cn/tmp_u4eixag.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4njii4cn/tmp_u4eixag.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.UsefulInterface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectUsefulInterface 515s # * @title: OrgProjectUsefulInterface 515s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 515s # */ 515s # 515s # enum 515s # { 515s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 515s # }; 515s # 515s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 515s # 515s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SimpleSignal", 515s # NULL, 515s # NULL 515s # }, 515s # "simple-signal" 515s # }; 515s # 515s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 515s # { 515s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.UsefulInterface", 515s # NULL, 515s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-useful-interface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_useful_interface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_useful_interface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_useful_interface_signal_marshal_simple_signal ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__VOID (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectUsefulInterface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 515s # */ 515s # 515s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 515s # { 515s # /* GObject signals for received D-Bus signals: */ 515s # /** 515s # * OrgProjectUsefulInterface::simple-signal: 515s # * @object: A #OrgProjectUsefulInterface. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 515s # g_signal_new ("simple-signal", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 515s # NULL, 515s # NULL, 515s # org_project_useful_interface_signal_marshal_simple_signal, 515s # G_TYPE_NONE, 515s # 0); 515s # 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_emit_simple_signal: 515s # * @object: A #OrgProjectUsefulInterface. 515s # * 515s # * Emits the "SimpleSignal" D-Bus signal. 515s # */ 515s # void 515s # org_project_useful_interface_emit_simple_signal ( 515s # OrgProjectUsefulInterface *object) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceProxy: 515s # * 515s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectUsefulInterfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectUsefulInterfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_useful_interface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 515s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 515s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_useful_interface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_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); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_useful_interface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # g_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); 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceSkeleton: 515s # * 515s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectUsefulInterfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_useful_interface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_useful_interface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_useful_interface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 515s # { 515s # _org_project_useful_interface_skeleton_handle_method_call, 515s # _org_project_useful_interface_skeleton_handle_get_property, 515s # _org_project_useful_interface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_useful_interface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # _org_project_useful_interface_on_signal_simple_signal ( 515s # OrgProjectUsefulInterface *object) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_useful_interface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 515s # { 515s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 515s # } 515s # 515s # /** 515s # * org_project_useful_interface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectUsefulInterface * 515s # org_project_useful_interface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.OtherIface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectOtherIface 515s # * @title: OrgProjectOtherIface 515s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 515s # */ 515s # 515s # enum 515s # { 515s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 515s # }; 515s # 515s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 515s # 515s # /* ---- Introspection data for org.project.OtherIface ---- */ 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SimpleSignal", 515s # NULL, 515s # NULL 515s # }, 515s # "simple-signal" 515s # }; 515s # 515s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 515s # { 515s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.OtherIface", 515s # NULL, 515s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-other-iface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_other_iface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_other_iface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_other_iface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_other_iface_signal_marshal_simple_signal ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__VOID (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectOtherIface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 515s # */ 515s # 515s # /** 515s # * OrgProjectOtherIfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.OtherIface. 515s # */ 515s # 515s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 515s # { 515s # /* GObject signals for received D-Bus signals: */ 515s # /** 515s # * OrgProjectOtherIface::simple-signal: 515s # * @object: A #OrgProjectOtherIface. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 515s # g_signal_new ("simple-signal", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 515s # NULL, 515s # NULL, 515s # org_project_other_iface_signal_marshal_simple_signal, 515s # G_TYPE_NONE, 515s # 0); 515s # 515s # } 515s # 515s # /** 515s # * org_project_other_iface_emit_simple_signal: 515s # * @object: A #OrgProjectOtherIface. 515s # * 515s # * Emits the "SimpleSignal" D-Bus signal. 515s # */ 515s # void 515s # org_project_other_iface_emit_simple_signal ( 515s # OrgProjectOtherIface *object) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectOtherIfaceProxy: 515s # * 515s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectOtherIfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectOtherIfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectOtherIfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_other_iface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 515s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 515s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_other_iface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_other_iface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_other_iface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_other_iface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherIface * 515s # org_project_other_iface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_other_iface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherIface * 515s # org_project_other_iface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_other_iface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_other_iface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_other_iface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherIface * 515s # org_project_other_iface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_other_iface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherIface * 515s # org_project_other_iface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectOtherIfaceSkeleton: 515s # * 515s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectOtherIfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectOtherIfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectOtherIfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_other_iface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_other_iface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_other_iface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 515s # { 515s # _org_project_other_iface_skeleton_handle_method_call, 515s # _org_project_other_iface_skeleton_handle_get_property, 515s # _org_project_other_iface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_other_iface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # _org_project_other_iface_on_signal_simple_signal ( 515s # OrgProjectOtherIface *object) 515s # { 515s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_other_iface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 515s # { 515s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 515s # } 515s # 515s # /** 515s # * org_project_other_iface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectOtherIface * 515s # org_project_other_iface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 515s # } 515s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 515s # tmpdir: /tmp/tmptijte81t 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmptijte81t/tmp5imcuyf7.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptijte81t/tmp5imcuyf7.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.SignalingIface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectSignalingIface 515s # * @title: OrgProjectSignalingIface 515s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 515s # */ 515s # 515s # enum 515s # { 515s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 515s # }; 515s # 515s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 515s # 515s # /* ---- Introspection data for org.project.SignalingIface ---- */ 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SimpleSignal", 515s # NULL, 515s # NULL 515s # }, 515s # "simple-signal" 515s # }; 515s # 515s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.SignalingIface", 515s # NULL, 515s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-signaling-iface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_signaling_iface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_signaling_iface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_simple_signal ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__VOID (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectSignalingIface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.SignalingIface. 515s # */ 515s # 515s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 515s # { 515s # /* GObject signals for received D-Bus signals: */ 515s # /** 515s # * OrgProjectSignalingIface::simple-signal: 515s # * @object: A #OrgProjectSignalingIface. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 515s # g_signal_new ("simple-signal", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_simple_signal, 515s # G_TYPE_NONE, 515s # 0); 515s # 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_simple_signal: 515s # * @object: A #OrgProjectSignalingIface. 515s # * 515s # * Emits the "SimpleSignal" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_simple_signal ( 515s # OrgProjectSignalingIface *object) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceProxy: 515s # * 515s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectSignalingIfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectSignalingIfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_signaling_iface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 515s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 515s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_signaling_iface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_signaling_iface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceSkeleton: 515s # * 515s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectSignalingIfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_signaling_iface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_signaling_iface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_signaling_iface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 515s # { 515s # _org_project_signaling_iface_skeleton_handle_method_call, 515s # _org_project_signaling_iface_skeleton_handle_get_property, 515s # _org_project_signaling_iface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_signaling_iface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_simple_signal ( 515s # OrgProjectSignalingIface *object) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_signaling_iface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 515s # { 515s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.OtherSignalingIface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectOtherSignalingIface 515s # * @title: OrgProjectOtherSignalingIface 515s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 515s # */ 515s # 515s # enum 515s # { 515s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 515s # }; 515s # 515s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 515s # 515s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SimpleSignal", 515s # NULL, 515s # NULL 515s # }, 515s # "simple-signal" 515s # }; 515s # 515s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 515s # { 515s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.OtherSignalingIface", 515s # NULL, 515s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-other-signaling-iface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_other_signaling_iface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_other_signaling_iface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_other_signaling_iface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__VOID (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectOtherSignalingIface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 515s # */ 515s # 515s # /** 515s # * OrgProjectOtherSignalingIfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 515s # */ 515s # 515s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 515s # { 515s # /* GObject signals for received D-Bus signals: */ 515s # /** 515s # * OrgProjectOtherSignalingIface::simple-signal: 515s # * @object: A #OrgProjectOtherSignalingIface. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 515s # g_signal_new ("simple-signal", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 515s # NULL, 515s # NULL, 515s # org_project_other_signaling_iface_signal_marshal_simple_signal, 515s # G_TYPE_NONE, 515s # 0); 515s # 515s # } 515s # 515s # /** 515s # * org_project_other_signaling_iface_emit_simple_signal: 515s # * @object: A #OrgProjectOtherSignalingIface. 515s # * 515s # * Emits the "SimpleSignal" D-Bus signal. 515s # */ 515s # void 515s # org_project_other_signaling_iface_emit_simple_signal ( 515s # OrgProjectOtherSignalingIface *object) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectOtherSignalingIfaceProxy: 515s # * 515s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectOtherSignalingIfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 515s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 515s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_other_signaling_iface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_other_signaling_iface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_other_signaling_iface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherSignalingIface * 515s # org_project_other_signaling_iface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_other_signaling_iface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherSignalingIface * 515s # org_project_other_signaling_iface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_other_signaling_iface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_other_signaling_iface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherSignalingIface * 515s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectOtherSignalingIface * 515s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectOtherSignalingIfaceSkeleton: 515s # * 515s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectOtherSignalingIfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 515s # { 515s # _org_project_other_signaling_iface_skeleton_handle_method_call, 515s # _org_project_other_signaling_iface_skeleton_handle_get_property, 515s # _org_project_other_signaling_iface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_other_signaling_iface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # _org_project_other_signaling_iface_on_signal_simple_signal ( 515s # OrgProjectOtherSignalingIface *object) 515s # { 515s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 515s # { 515s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 515s # } 515s # 515s # /** 515s # * org_project_other_signaling_iface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectOtherSignalingIface * 515s # org_project_other_signaling_iface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 515s # } 515s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 515s # tmpdir: /tmp/tmpz9csylb4 515s # codegen: /usr/bin/gdbus-codegen 515s # /tmp/tmpz9csylb4/tmpx8cksgvt.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmpx8cksgvt.xml', '--output', '-', '--body'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: /* 515s # * This file is generated by gdbus-codegen, do not modify it. 515s # * 515s # * The license of this code is the same as for the D-Bus interface description 515s # * it was derived from. Note that it links to GLib, so must comply with the 515s # * LGPL linking clauses. 515s # */ 515s # 515s # #ifdef HAVE_CONFIG_H 515s # # include "config.h" 515s # #endif 515s # 515s # #include 515s # #ifdef G_OS_UNIX 515s # # include 515s # #endif 515s # 515s # #ifdef G_ENABLE_DEBUG 515s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 515s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 515s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 515s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 515s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 515s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 515s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 515s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 515s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 515s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 515s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 515s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 515s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 515s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 515s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 515s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 515s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 515s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 515s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 515s # #else /* !G_ENABLE_DEBUG */ 515s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 515s # * Do not access GValues directly in your code. Instead, use the 515s # * g_value_get_*() functions 515s # */ 515s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 515s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 515s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 515s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 515s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 515s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 515s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 515s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 515s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 515s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 515s # #endif /* !G_ENABLE_DEBUG */ 515s # 515s # typedef struct 515s # { 515s # GDBusArgInfo parent_struct; 515s # gboolean use_gvariant; 515s # } _ExtendedGDBusArgInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusMethodInfo parent_struct; 515s # const gchar *signal_name; 515s # gboolean pass_fdlist; 515s # } _ExtendedGDBusMethodInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusSignalInfo parent_struct; 515s # const gchar *signal_name; 515s # } _ExtendedGDBusSignalInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusPropertyInfo parent_struct; 515s # const gchar *hyphen_name; 515s # guint use_gvariant : 1; 515s # guint emits_changed_signal : 1; 515s # } _ExtendedGDBusPropertyInfo; 515s # 515s # typedef struct 515s # { 515s # GDBusInterfaceInfo parent_struct; 515s # const gchar *hyphen_name; 515s # } _ExtendedGDBusInterfaceInfo; 515s # 515s # typedef struct 515s # { 515s # const _ExtendedGDBusPropertyInfo *info; 515s # guint prop_id; 515s # GValue orig_value; /* the value before the change */ 515s # } ChangedProperty; 515s # 515s # static void 515s # _changed_property_free (ChangedProperty *data) 515s # { 515s # g_value_unset (&data->orig_value); 515s # g_free (data); 515s # } 515s # 515s # static gboolean 515s # _g_strv_equal0 (gchar **a, gchar **b) 515s # { 515s # gboolean ret = FALSE; 515s # guint n; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # if (g_strv_length (a) != g_strv_length (b)) 515s # goto out; 515s # for (n = 0; a[n] != NULL; n++) 515s # if (g_strcmp0 (a[n], b[n]) != 0) 515s # goto out; 515s # ret = TRUE; 515s # out: 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _g_variant_equal0 (GVariant *a, GVariant *b) 515s # { 515s # gboolean ret = FALSE; 515s # if (a == NULL && b == NULL) 515s # { 515s # ret = TRUE; 515s # goto out; 515s # } 515s # if (a == NULL || b == NULL) 515s # goto out; 515s # ret = g_variant_equal (a, b); 515s # out: 515s # return ret; 515s # } 515s # 515s # G_GNUC_UNUSED static gboolean 515s # _g_value_equal (const GValue *a, const GValue *b) 515s # { 515s # gboolean ret = FALSE; 515s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 515s # switch (G_VALUE_TYPE (a)) 515s # { 515s # case G_TYPE_BOOLEAN: 515s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 515s # break; 515s # case G_TYPE_UCHAR: 515s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 515s # break; 515s # case G_TYPE_INT: 515s # ret = (g_value_get_int (a) == g_value_get_int (b)); 515s # break; 515s # case G_TYPE_UINT: 515s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 515s # break; 515s # case G_TYPE_INT64: 515s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 515s # break; 515s # case G_TYPE_UINT64: 515s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 515s # break; 515s # case G_TYPE_DOUBLE: 515s # { 515s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 515s # gdouble da = g_value_get_double (a); 515s # gdouble db = g_value_get_double (b); 515s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 515s # } 515s # break; 515s # case G_TYPE_STRING: 515s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 515s # break; 515s # case G_TYPE_VARIANT: 515s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 515s # break; 515s # default: 515s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 515s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 515s # else 515s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 515s # break; 515s # } 515s # return ret; 515s # } 515s # 515s # /* ------------------------------------------------------------------------ 515s # * Code for interface org.project.SignalingIface 515s # * ------------------------------------------------------------------------ 515s # */ 515s # 515s # /** 515s # * SECTION:OrgProjectSignalingIface 515s # * @title: OrgProjectSignalingIface 515s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 515s # * 515s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 515s # */ 515s # 515s # enum 515s # { 515s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 515s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 515s # }; 515s # 515s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 515s # 515s # /* ---- Introspection data for org.project.SignalingIface ---- */ 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SimpleSignal", 515s # NULL, 515s # NULL 515s # }, 515s # "simple-signal" 515s # }; 515s # 515s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 515s # { 515s # { 515s # -1, 515s # (gchar *) "arg_b", 515s # (gchar *) "b", 515s # NULL 515s # }, 515s # FALSE 515s # }; 515s # 515s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 515s # { 515s # { 515s # -1, 515s # (gchar *) "SingleArgSignalB", 515s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 515s # NULL 515s # }, 515s # "single-arg-signal-b" 515s # }; 515s # 515s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 515s # { 515s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 515s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 515s # NULL 515s # }; 515s # 515s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 515s # { 515s # { 515s # -1, 515s # (gchar *) "org.project.SignalingIface", 515s # NULL, 515s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 515s # NULL, 515s # NULL 515s # }, 515s # "org-project-signaling-iface", 515s # }; 515s # 515s # 515s # /** 515s # * org_project_signaling_iface_interface_info: 515s # * 515s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 515s # * 515s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 515s # */ 515s # GDBusInterfaceInfo * 515s # org_project_signaling_iface_interface_info (void) 515s # { 515s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_override_properties: 515s # * @klass: The class structure for a #GObject derived class. 515s # * @property_id_begin: The property id to assign to the first overridden property. 515s # * 515s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 515s # * The properties are overridden in the order they are defined. 515s # * 515s # * Returns: The last property id. 515s # */ 515s # guint 515s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 515s # { 515s # return property_id_begin - 1; 515s # } 515s # 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_simple_signal ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__VOID (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # inline static void 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 515s # GClosure *closure, 515s # GValue *return_value, 515s # unsigned int n_param_values, 515s # const GValue *param_values, 515s # void *invocation_hint, 515s # void *marshal_data) 515s # { 515s # g_cclosure_marshal_VOID__BOOLEAN (closure, 515s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 515s # } 515s # 515s # 515s # /** 515s # * OrgProjectSignalingIface: 515s # * 515s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceIface: 515s # * @parent_iface: The parent interface. 515s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 515s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 515s # * 515s # * Virtual table for the D-Bus interface org.project.SignalingIface. 515s # */ 515s # 515s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 515s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 515s # 515s # static void 515s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 515s # { 515s # /* GObject signals for received D-Bus signals: */ 515s # /** 515s # * OrgProjectSignalingIface::simple-signal: 515s # * @object: A #OrgProjectSignalingIface. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 515s # g_signal_new ("simple-signal", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_simple_signal, 515s # G_TYPE_NONE, 515s # 0); 515s # 515s # /** 515s # * OrgProjectSignalingIface::single-arg-signal-b: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_arg_b: Argument. 515s # * 515s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 515s # * 515s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 515s # */ 515s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 515s # g_signal_new ("single-arg-signal-b", 515s # G_TYPE_FROM_INTERFACE (iface), 515s # G_SIGNAL_RUN_LAST, 515s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 515s # NULL, 515s # NULL, 515s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 515s # G_TYPE_NONE, 515s # 1, G_TYPE_BOOLEAN); 515s # 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_simple_signal: 515s # * @object: A #OrgProjectSignalingIface. 515s # * 515s # * Emits the "SimpleSignal" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_simple_signal ( 515s # OrgProjectSignalingIface *object) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_emit_single_arg_signal_b: 515s # * @object: A #OrgProjectSignalingIface. 515s # * @arg_arg_b: Argument to pass with the signal. 515s # * 515s # * Emits the "SingleArgSignalB" D-Bus signal. 515s # */ 515s # void 515s # org_project_signaling_iface_emit_single_arg_signal_b ( 515s # OrgProjectSignalingIface *object, 515s # gboolean arg_arg_b) 515s # { 515s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 515s # } 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceProxy: 515s # * 515s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceProxyClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectSignalingIfaceProxy. 515s # */ 515s # 515s # struct _OrgProjectSignalingIfaceProxyPrivate 515s # { 515s # GData *qdata; 515s # }; 515s # 515s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_signaling_iface_proxy_finalize (GObject *object) 515s # { 515s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 515s # g_datalist_clear (&proxy->priv->qdata); 515s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 515s # guint prop_id G_GNUC_UNUSED, 515s # const GValue *value G_GNUC_UNUSED, 515s # GParamSpec *pspec G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 515s # const gchar *sender_name G_GNUC_UNUSED, 515s # const gchar *signal_name, 515s # GVariant *parameters) 515s # { 515s # _ExtendedGDBusSignalInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # gsize n; 515s # guint signal_id; 515s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 515s # if (info == NULL) 515s # return; 515s # num_params = g_variant_n_children (parameters); 515s # paramv = g_new0 (GValue, num_params + 1); 515s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[0], proxy); 515s # g_variant_iter_init (&iter, parameters); 515s # n = 1; 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_signal_emitv (paramv, signal_id, 0, NULL); 515s # for (n = 0; n < num_params + 1; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 515s # GVariant *changed_properties, 515s # const gchar *const *invalidated_properties) 515s # { 515s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 515s # guint n; 515s # const gchar *key; 515s # GVariantIter *iter; 515s # _ExtendedGDBusPropertyInfo *info; 515s # g_variant_get (changed_properties, "a{sv}", &iter); 515s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 515s # g_datalist_remove_data (&proxy->priv->qdata, key); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # g_variant_iter_free (iter); 515s # for (n = 0; invalidated_properties[n] != NULL; n++) 515s # { 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 515s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 515s # if (info != NULL) 515s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 515s # } 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 515s # #else 515s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 515s # #endif 515s # 515s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusProxyClass *proxy_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 515s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 515s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 515s # 515s # proxy_class = G_DBUS_PROXY_CLASS (klass); 515s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 515s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 515s # * 515s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_signaling_iface_proxy_new ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_sync: 515s # * @connection: A #GDBusConnection. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_sync ( 515s # GDBusConnection *connection, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 515s # * @user_data: User data to pass to @callback. 515s # * 515s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 515s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 515s # * 515s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 515s # */ 515s # void 515s # org_project_signaling_iface_proxy_new_for_bus ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GAsyncReadyCallback callback, 515s # gpointer user_data) 515s # { 515s # 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); 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus_finish: 515s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 515s # * @error: Return location for error or %NULL 515s # * 515s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_for_bus_finish ( 515s # GAsyncResult *res, 515s # GError **error) 515s # { 515s # GObject *ret; 515s # GObject *source_object; 515s # source_object = g_async_result_get_source_object (res); 515s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 515s # g_object_unref (source_object); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_proxy_new_for_bus_sync: 515s # * @bus_type: A #GBusType. 515s # * @flags: Flags from the #GDBusProxyFlags enumeration. 515s # * @name: A bus name (well-known or unique). 515s # * @object_path: An object path. 515s # * @cancellable: (nullable): A #GCancellable or %NULL. 515s # * @error: Return location for error or %NULL 515s # * 515s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 515s # * 515s # * The calling thread is blocked until a reply is received. 515s # * 515s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_proxy_new_for_bus_sync ( 515s # GBusType bus_type, 515s # GDBusProxyFlags flags, 515s # const gchar *name, 515s # const gchar *object_path, 515s # GCancellable *cancellable, 515s # GError **error) 515s # { 515s # GInitable *ret; 515s # 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); 515s # if (ret != NULL) 515s # return ORG_PROJECT_SIGNALING_IFACE (ret); 515s # else 515s # return NULL; 515s # } 515s # 515s # 515s # /* ------------------------------------------------------------------------ */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceSkeleton: 515s # * 515s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 515s # */ 515s # 515s # /** 515s # * OrgProjectSignalingIfaceSkeletonClass: 515s # * @parent_class: The parent class. 515s # * 515s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 515s # */ 515s # 515s # struct _OrgProjectSignalingIfaceSkeletonPrivate 515s # { 515s # GValue *properties; 515s # GList *changed_properties; 515s # GSource *changed_properties_idle_source; 515s # GMainContext *context; 515s # GMutex lock; 515s # }; 515s # 515s # static void 515s # _org_project_signaling_iface_skeleton_handle_method_call ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name, 515s # const gchar *method_name, 515s # GVariant *parameters, 515s # GDBusMethodInvocation *invocation, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # _ExtendedGDBusMethodInfo *info; 515s # GVariantIter iter; 515s # GVariant *child; 515s # GValue *paramv; 515s # gsize num_params; 515s # guint num_extra; 515s # gsize n; 515s # guint signal_id; 515s # GValue return_value = G_VALUE_INIT; 515s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 515s # g_assert (info != NULL); 515s # num_params = g_variant_n_children (parameters); 515s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 515s # n = 0; 515s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_set_object (¶mv[n++], skeleton); 515s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 515s # g_value_set_object (¶mv[n++], invocation); 515s # if (info->pass_fdlist) 515s # { 515s # #ifdef G_OS_UNIX 515s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 515s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 515s # #else 515s # g_assert_not_reached (); 515s # #endif 515s # } 515s # g_variant_iter_init (&iter, parameters); 515s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 515s # { 515s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 515s # if (arg_info->use_gvariant) 515s # { 515s # g_value_init (¶mv[n], G_TYPE_VARIANT); 515s # g_value_set_variant (¶mv[n], child); 515s # n++; 515s # } 515s # else 515s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 515s # g_variant_unref (child); 515s # } 515s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 515s # g_value_init (&return_value, G_TYPE_BOOLEAN); 515s # g_signal_emitv (paramv, signal_id, 0, &return_value); 515s # if (!g_value_get_boolean (&return_value)) 515s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 515s # g_value_unset (&return_value); 515s # for (n = 0; n < num_params + num_extra; n++) 515s # g_value_unset (¶mv[n]); 515s # g_free (paramv); 515s # } 515s # 515s # static GVariant * 515s # _org_project_signaling_iface_skeleton_handle_get_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # GVariant *ret; 515s # ret = NULL; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # g_value_init (&value, pspec->value_type); 515s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 515s # g_value_unset (&value); 515s # } 515s # return ret; 515s # } 515s # 515s # static gboolean 515s # _org_project_signaling_iface_skeleton_handle_set_property ( 515s # GDBusConnection *connection G_GNUC_UNUSED, 515s # const gchar *sender G_GNUC_UNUSED, 515s # const gchar *object_path G_GNUC_UNUSED, 515s # const gchar *interface_name G_GNUC_UNUSED, 515s # const gchar *property_name, 515s # GVariant *variant, 515s # GError **error, 515s # gpointer user_data) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 515s # GValue value = G_VALUE_INIT; 515s # GParamSpec *pspec; 515s # _ExtendedGDBusPropertyInfo *info; 515s # gboolean ret; 515s # ret = FALSE; 515s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 515s # g_assert (info != NULL); 515s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 515s # if (pspec == NULL) 515s # { 515s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 515s # } 515s # else 515s # { 515s # if (info->use_gvariant) 515s # g_value_set_variant (&value, variant); 515s # else 515s # g_dbus_gvariant_to_gvalue (variant, &value); 515s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 515s # g_value_unset (&value); 515s # ret = TRUE; 515s # } 515s # return ret; 515s # } 515s # 515s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 515s # { 515s # _org_project_signaling_iface_skeleton_handle_method_call, 515s # _org_project_signaling_iface_skeleton_handle_get_property, 515s # _org_project_signaling_iface_skeleton_handle_set_property, 515s # {NULL} 515s # }; 515s # 515s # static GDBusInterfaceInfo * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return org_project_signaling_iface_interface_info (); 515s # } 515s # 515s # static GDBusInterfaceVTable * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 515s # { 515s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 515s # } 515s # 515s # static GVariant * 515s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 515s # 515s # GVariantBuilder builder; 515s # guint n; 515s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 515s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 515s # goto out; 515s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 515s # { 515s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 515s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 515s # { 515s # GVariant *value; 515s # 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); 515s # if (value != NULL) 515s # { 515s # g_variant_take_ref (value); 515s # g_variant_builder_add (&builder, "{sv}", info->name, value); 515s # g_variant_unref (value); 515s # } 515s # } 515s # } 515s # out: 515s # return g_variant_builder_end (&builder); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 515s # { 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_simple_signal ( 515s # OrgProjectSignalingIface *object) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void 515s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 515s # OrgProjectSignalingIface *object, 515s # gboolean arg_arg_b) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # 515s # GList *connections, *l; 515s # GVariant *signal_variant; 515s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 515s # 515s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 515s # arg_arg_b)); 515s # for (l = connections; l != NULL; l = l->next) 515s # { 515s # GDBusConnection *connection = l->data; 515s # g_dbus_connection_emit_signal (connection, 515s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 515s # signal_variant, NULL); 515s # } 515s # g_variant_unref (signal_variant); 515s # g_list_free_full (connections, g_object_unref); 515s # } 515s # 515s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 515s # 515s # #else 515s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 515s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 515s # 515s # #endif 515s # static void 515s # org_project_signaling_iface_skeleton_finalize (GObject *object) 515s # { 515s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 515s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 515s # if (skeleton->priv->changed_properties_idle_source != NULL) 515s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 515s # g_main_context_unref (skeleton->priv->context); 515s # g_mutex_clear (&skeleton->priv->lock); 515s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 515s # { 515s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 515s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 515s # #else 515s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 515s # #endif 515s # 515s # g_mutex_init (&skeleton->priv->lock); 515s # skeleton->priv->context = g_main_context_ref_thread_default (); 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 515s # { 515s # GObjectClass *gobject_class; 515s # GDBusInterfaceSkeletonClass *skeleton_class; 515s # 515s # gobject_class = G_OBJECT_CLASS (klass); 515s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 515s # 515s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 515s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 515s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 515s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 515s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 515s # 515s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 515s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 515s # #endif 515s # } 515s # 515s # static void 515s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 515s # { 515s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 515s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 515s # } 515s # 515s # /** 515s # * org_project_signaling_iface_skeleton_new: 515s # * 515s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 515s # * 515s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 515s # */ 515s # OrgProjectSignalingIface * 515s # org_project_signaling_iface_skeleton_new (void) 515s # { 515s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 515s # } 515s # /tmp/tmpz9csylb4/tmpj4pj8o7n.xml: 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # 515s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmpj4pj8o7n.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_y", 516s # (gchar *) "y", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalY", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-y" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__UCHAR (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-y: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_y: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 516s # g_signal_new ("single-arg-signal-y", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_UCHAR); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_y: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_y: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalY" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_y ( 516s # OrgProjectSignalingIface *object, 516s # guchar arg_arg_y) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 516s # OrgProjectSignalingIface *object, 516s # guchar arg_arg_y) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 516s # arg_arg_y)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmp6v1b7jmt.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmp6v1b7jmt.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_n", 516s # (gchar *) "n", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalN", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-n" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__INT (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-n: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_n: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 516s # g_signal_new ("single-arg-signal-n", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_INT); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_n: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_n: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalN" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_n ( 516s # OrgProjectSignalingIface *object, 516s # gint16 arg_arg_n) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 516s # OrgProjectSignalingIface *object, 516s # gint16 arg_arg_n) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 516s # arg_arg_n)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmpr2f5ra0_.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmpr2f5ra0_.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_q", 516s # (gchar *) "q", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalQ", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-q" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__UINT (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-q: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_q: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 516s # g_signal_new ("single-arg-signal-q", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_UINT); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_q: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_q: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalQ" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_q ( 516s # OrgProjectSignalingIface *object, 516s # guint16 arg_arg_q) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 516s # OrgProjectSignalingIface *object, 516s # guint16 arg_arg_q) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 516s # arg_arg_q)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmp846ti1md.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmp846ti1md.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_i", 516s # (gchar *) "i", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalI", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-i" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__INT (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-i: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_i: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 516s # g_signal_new ("single-arg-signal-i", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_INT); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_i: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_i: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalI" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_i ( 516s # OrgProjectSignalingIface *object, 516s # gint arg_arg_i) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 516s # OrgProjectSignalingIface *object, 516s # gint arg_arg_i) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 516s # arg_arg_i)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmpjcrwwvze.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmpjcrwwvze.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_u", 516s # (gchar *) "u", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalU", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-u" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__UINT (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-u: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_u: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 516s # g_signal_new ("single-arg-signal-u", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_UINT); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_u: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_u: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalU" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_u ( 516s # OrgProjectSignalingIface *object, 516s # guint arg_arg_u) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 516s # OrgProjectSignalingIface *object, 516s # guint arg_arg_u) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 516s # arg_arg_u)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmpvmqhh2fs.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmpvmqhh2fs.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # static void 516s # _g_dbus_codegen_marshal_VOID__INT64 ( 516s # GClosure *closure, 516s # GValue *return_value G_GNUC_UNUSED, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint G_GNUC_UNUSED, 516s # void *marshal_data) 516s # { 516s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 516s # (void *data1, 516s # gint64 arg_arg_x, 516s # void *data2); 516s # _GDbusCodegenMarshalVoid_Int64Func callback; 516s # GCClosure *cc = (GCClosure*) closure; 516s # void *data1, *data2; 516s # 516s # g_return_if_fail (n_param_values == 2); 516s # 516s # if (G_CCLOSURE_SWAP_DATA (closure)) 516s # { 516s # data1 = closure->data; 516s # data2 = g_value_peek_pointer (param_values + 0); 516s # } 516s # else 516s # { 516s # data1 = g_value_peek_pointer (param_values + 0); 516s # data2 = closure->data; 516s # } 516s # 516s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 516s # (marshal_data ? marshal_data : cc->callback); 516s # 516s # callback (data1, 516s # g_marshal_value_peek_int64 (param_values + 1), 516s # data2); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_x", 516s # (gchar *) "x", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalX", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-x" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-x: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_x: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 516s # g_signal_new ("single-arg-signal-x", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_INT64); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_x: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_x: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalX" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_x ( 516s # OrgProjectSignalingIface *object, 516s # gint64 arg_arg_x) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 516s # OrgProjectSignalingIface *object, 516s # gint64 arg_arg_x) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 516s # arg_arg_x)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmpyepnmnui.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmpyepnmnui.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # static void 516s # _g_dbus_codegen_marshal_VOID__UINT64 ( 516s # GClosure *closure, 516s # GValue *return_value G_GNUC_UNUSED, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint G_GNUC_UNUSED, 516s # void *marshal_data) 516s # { 516s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 516s # (void *data1, 516s # guint64 arg_arg_t, 516s # void *data2); 516s # _GDbusCodegenMarshalVoid_Uint64Func callback; 516s # GCClosure *cc = (GCClosure*) closure; 516s # void *data1, *data2; 516s # 516s # g_return_if_fail (n_param_values == 2); 516s # 516s # if (G_CCLOSURE_SWAP_DATA (closure)) 516s # { 516s # data1 = closure->data; 516s # data2 = g_value_peek_pointer (param_values + 0); 516s # } 516s # else 516s # { 516s # data1 = g_value_peek_pointer (param_values + 0); 516s # data2 = closure->data; 516s # } 516s # 516s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 516s # (marshal_data ? marshal_data : cc->callback); 516s # 516s # callback (data1, 516s # g_marshal_value_peek_uint64 (param_values + 1), 516s # data2); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_t", 516s # (gchar *) "t", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalT", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-t" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-t: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_t: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 516s # g_signal_new ("single-arg-signal-t", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_UINT64); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_t: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_t: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalT" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_t ( 516s # OrgProjectSignalingIface *object, 516s # guint64 arg_arg_t) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 516s # OrgProjectSignalingIface *object, 516s # guint64 arg_arg_t) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 516s # arg_arg_t)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmp1ohk1omo.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmp1ohk1omo.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_d", 516s # (gchar *) "d", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalD", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-d" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__DOUBLE (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-d: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_d: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 516s # g_signal_new ("single-arg-signal-d", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_DOUBLE); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_d: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_d: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalD" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_d ( 516s # OrgProjectSignalingIface *object, 516s # gdouble arg_arg_d) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 516s # OrgProjectSignalingIface *object, 516s # gdouble arg_arg_d) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 516s # arg_arg_d)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmp1eaiafob.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmp1eaiafob.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_s", 516s # (gchar *) "s", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalS", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-s" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__STRING (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-s: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_s: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 516s # g_signal_new ("single-arg-signal-s", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_STRING); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_s: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_s: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalS" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_s ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *arg_arg_s) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *arg_arg_s) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 516s # arg_arg_s)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmp6a3pqtiq.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmp6a3pqtiq.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_o", 516s # (gchar *) "o", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalO", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-o" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__STRING (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-o: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_o: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 516s # g_signal_new ("single-arg-signal-o", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_STRING); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_o: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_o: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalO" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_o ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *arg_arg_o) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *arg_arg_o) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 516s # arg_arg_o)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmpvi3wy2cc.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmpvi3wy2cc.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_g", 516s # (gchar *) "g", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalG", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-g" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__STRING (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-g: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_g: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 516s # g_signal_new ("single-arg-signal-g", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_STRING); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_g: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_g: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalG" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_g ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *arg_arg_g) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *arg_arg_g) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 516s # arg_arg_g)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmp62jo7f7p.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmp62jo7f7p.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_h", 516s # (gchar *) "h", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalH", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-h" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VARIANT (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-h: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_h: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 516s # g_signal_new ("single-arg-signal-h", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_VARIANT); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_h: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_h: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalH" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_h ( 516s # OrgProjectSignalingIface *object, 516s # GVariant *arg_arg_h) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 516s # OrgProjectSignalingIface *object, 516s # GVariant *arg_arg_h) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 516s # arg_arg_h)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmpx3jkr553.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmpx3jkr553.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_ay", 516s # (gchar *) "ay", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalAy", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-ay" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__STRING (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-ay: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_ay: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 516s # g_signal_new ("single-arg-signal-ay", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_STRING); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_ay: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_ay: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalAy" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_ay ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *arg_arg_ay) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *arg_arg_ay) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 516s # arg_arg_ay)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmpi3bvl00b.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmpi3bvl00b.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_as", 516s # (gchar *) "as", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalAs", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-as" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__BOXED (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-as: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_as: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 516s # g_signal_new ("single-arg-signal-as", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_STRV); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_as: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_as: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalAs" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_as ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *const *arg_arg_as) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *const *arg_arg_as) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 516s # arg_arg_as)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmp_mq1ue5k.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmp_mq1ue5k.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_ao", 516s # (gchar *) "ao", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalAo", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-ao" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__BOXED (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-ao: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_ao: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 516s # g_signal_new ("single-arg-signal-ao", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_STRV); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_ao: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_ao: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalAo" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_ao ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *const *arg_arg_ao) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *const *arg_arg_ao) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 516s # arg_arg_ao)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmp1zvpi683.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmp1zvpi683.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_aay", 516s # (gchar *) "aay", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalAay", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-aay" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__BOXED (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-aay: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_aay: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 516s # g_signal_new ("single-arg-signal-aay", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_STRV); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_aay: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_aay: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalAay" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_aay ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *const *arg_arg_aay) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 516s # OrgProjectSignalingIface *object, 516s # const gchar *const *arg_arg_aay) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 516s # arg_arg_aay)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s # /tmp/tmpz9csylb4/tmps8b55ztq.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9csylb4/tmps8b55ztq.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 516s # { 516s # { 516s # -1, 516s # (gchar *) "arg_asv", 516s # (gchar *) "a{sv}", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SingleArgSignalAsv", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 516s # NULL 516s # }, 516s # "single-arg-signal-asv" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VARIANT (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::single-arg-signal-asv: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_asv: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 516s # g_signal_new ("single-arg-signal-asv", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 516s # G_TYPE_NONE, 516s # 1, G_TYPE_VARIANT); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_single_arg_signal_asv: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_arg_asv: Argument to pass with the signal. 516s # * 516s # * Emits the "SingleArgSignalAsv" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_single_arg_signal_asv ( 516s # OrgProjectSignalingIface *object, 516s # GVariant *arg_arg_asv) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 516s # OrgProjectSignalingIface *object, 516s # GVariant *arg_arg_asv) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 516s # arg_arg_asv)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 516s # tmpdir: /tmp/tmpkuex0ug8 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmpkuex0ug8/tmpbt6lwipl.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkuex0ug8/tmpbt6lwipl.xml', '--output', '-', '--body'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifdef HAVE_CONFIG_H 516s # # include "config.h" 516s # #endif 516s # 516s # #include 516s # #ifdef G_OS_UNIX 516s # # include 516s # #endif 516s # 516s # #ifdef G_ENABLE_DEBUG 516s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 516s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 516s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 516s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 516s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 516s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 516s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 516s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 516s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 516s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 516s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 516s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 516s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 516s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 516s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 516s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 516s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 516s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 516s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 516s # #else /* !G_ENABLE_DEBUG */ 516s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 516s # * Do not access GValues directly in your code. Instead, use the 516s # * g_value_get_*() functions 516s # */ 516s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 516s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 516s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 516s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 516s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 516s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 516s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 516s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 516s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 516s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 516s # #endif /* !G_ENABLE_DEBUG */ 516s # 516s # typedef struct 516s # { 516s # GDBusArgInfo parent_struct; 516s # gboolean use_gvariant; 516s # } _ExtendedGDBusArgInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusMethodInfo parent_struct; 516s # const gchar *signal_name; 516s # gboolean pass_fdlist; 516s # } _ExtendedGDBusMethodInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusSignalInfo parent_struct; 516s # const gchar *signal_name; 516s # } _ExtendedGDBusSignalInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusPropertyInfo parent_struct; 516s # const gchar *hyphen_name; 516s # guint use_gvariant : 1; 516s # guint emits_changed_signal : 1; 516s # } _ExtendedGDBusPropertyInfo; 516s # 516s # typedef struct 516s # { 516s # GDBusInterfaceInfo parent_struct; 516s # const gchar *hyphen_name; 516s # } _ExtendedGDBusInterfaceInfo; 516s # 516s # typedef struct 516s # { 516s # const _ExtendedGDBusPropertyInfo *info; 516s # guint prop_id; 516s # GValue orig_value; /* the value before the change */ 516s # } ChangedProperty; 516s # 516s # static void 516s # _changed_property_free (ChangedProperty *data) 516s # { 516s # g_value_unset (&data->orig_value); 516s # g_free (data); 516s # } 516s # 516s # static gboolean 516s # _g_strv_equal0 (gchar **a, gchar **b) 516s # { 516s # gboolean ret = FALSE; 516s # guint n; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # if (g_strv_length (a) != g_strv_length (b)) 516s # goto out; 516s # for (n = 0; a[n] != NULL; n++) 516s # if (g_strcmp0 (a[n], b[n]) != 0) 516s # goto out; 516s # ret = TRUE; 516s # out: 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _g_variant_equal0 (GVariant *a, GVariant *b) 516s # { 516s # gboolean ret = FALSE; 516s # if (a == NULL && b == NULL) 516s # { 516s # ret = TRUE; 516s # goto out; 516s # } 516s # if (a == NULL || b == NULL) 516s # goto out; 516s # ret = g_variant_equal (a, b); 516s # out: 516s # return ret; 516s # } 516s # 516s # G_GNUC_UNUSED static gboolean 516s # _g_value_equal (const GValue *a, const GValue *b) 516s # { 516s # gboolean ret = FALSE; 516s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 516s # switch (G_VALUE_TYPE (a)) 516s # { 516s # case G_TYPE_BOOLEAN: 516s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 516s # break; 516s # case G_TYPE_UCHAR: 516s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 516s # break; 516s # case G_TYPE_INT: 516s # ret = (g_value_get_int (a) == g_value_get_int (b)); 516s # break; 516s # case G_TYPE_UINT: 516s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 516s # break; 516s # case G_TYPE_INT64: 516s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 516s # break; 516s # case G_TYPE_UINT64: 516s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 516s # break; 516s # case G_TYPE_DOUBLE: 516s # { 516s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 516s # gdouble da = g_value_get_double (a); 516s # gdouble db = g_value_get_double (b); 516s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 516s # } 516s # break; 516s # case G_TYPE_STRING: 516s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 516s # break; 516s # case G_TYPE_VARIANT: 516s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 516s # break; 516s # default: 516s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 516s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 516s # else 516s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 516s # break; 516s # } 516s # return ret; 516s # } 516s # 516s # static void 516s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 516s # GClosure *closure, 516s # GValue *return_value G_GNUC_UNUSED, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint G_GNUC_UNUSED, 516s # void *marshal_data) 516s # { 516s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 516s # (void *data1, 516s # gboolean arg_an_b, 516s # guchar arg_an_y, 516s # gint16 arg_an_n, 516s # guint16 arg_an_q, 516s # gint arg_an_i, 516s # guint arg_an_u, 516s # gint64 arg_an_x, 516s # guint64 arg_an_t, 516s # gdouble arg_an_d, 516s # const gchar *arg_an_s, 516s # const gchar *arg_an_o, 516s # const gchar *arg_an_g, 516s # GVariant *arg_an_h, 516s # const gchar *arg_an_ay, 516s # const gchar *const *arg_an_as, 516s # const gchar *const *arg_an_ao, 516s # const gchar *const *arg_an_aay, 516s # GVariant *arg_an_asv, 516s # void *data2); 516s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 516s # GCClosure *cc = (GCClosure*) closure; 516s # void *data1, *data2; 516s # 516s # g_return_if_fail (n_param_values == 19); 516s # 516s # if (G_CCLOSURE_SWAP_DATA (closure)) 516s # { 516s # data1 = closure->data; 516s # data2 = g_value_peek_pointer (param_values + 0); 516s # } 516s # else 516s # { 516s # data1 = g_value_peek_pointer (param_values + 0); 516s # data2 = closure->data; 516s # } 516s # 516s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 516s # (marshal_data ? marshal_data : cc->callback); 516s # 516s # callback (data1, 516s # g_marshal_value_peek_boolean (param_values + 1), 516s # g_marshal_value_peek_uchar (param_values + 2), 516s # g_marshal_value_peek_int (param_values + 3), 516s # g_marshal_value_peek_uint (param_values + 4), 516s # g_marshal_value_peek_int (param_values + 5), 516s # g_marshal_value_peek_uint (param_values + 6), 516s # g_marshal_value_peek_int64 (param_values + 7), 516s # g_marshal_value_peek_uint64 (param_values + 8), 516s # g_marshal_value_peek_double (param_values + 9), 516s # g_marshal_value_peek_string (param_values + 10), 516s # g_marshal_value_peek_string (param_values + 11), 516s # g_marshal_value_peek_string (param_values + 12), 516s # g_marshal_value_peek_variant (param_values + 13), 516s # g_marshal_value_peek_string (param_values + 14), 516s # g_marshal_value_peek_boxed (param_values + 15), 516s # g_marshal_value_peek_boxed (param_values + 16), 516s # g_marshal_value_peek_boxed (param_values + 17), 516s # g_marshal_value_peek_variant (param_values + 18), 516s # data2); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ 516s # * Code for interface org.project.SignalingIface 516s # * ------------------------------------------------------------------------ 516s # */ 516s # 516s # /** 516s # * SECTION:OrgProjectSignalingIface 516s # * @title: OrgProjectSignalingIface 516s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 516s # * 516s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 516s # */ 516s # 516s # enum 516s # { 516s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 516s # }; 516s # 516s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 516s # 516s # /* ---- Introspection data for org.project.SignalingIface ---- */ 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SimpleSignal", 516s # NULL, 516s # NULL 516s # }, 516s # "simple-signal" 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_b", 516s # (gchar *) "b", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_y", 516s # (gchar *) "y", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_n", 516s # (gchar *) "n", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_q", 516s # (gchar *) "q", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_i", 516s # (gchar *) "i", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_u", 516s # (gchar *) "u", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_x", 516s # (gchar *) "x", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_t", 516s # (gchar *) "t", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_d", 516s # (gchar *) "d", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_s", 516s # (gchar *) "s", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_o", 516s # (gchar *) "o", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_g", 516s # (gchar *) "g", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_h", 516s # (gchar *) "h", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_ay", 516s # (gchar *) "ay", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_as", 516s # (gchar *) "as", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_ao", 516s # (gchar *) "ao", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_aay", 516s # (gchar *) "aay", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 516s # { 516s # { 516s # -1, 516s # (gchar *) "an_asv", 516s # (gchar *) "a{sv}", 516s # NULL 516s # }, 516s # FALSE 516s # }; 516s # 516s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 516s # { 516s # { 516s # -1, 516s # (gchar *) "SignalWithManyArgs", 516s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 516s # NULL 516s # }, 516s # "signal-with-many-args" 516s # }; 516s # 516s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 516s # { 516s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 516s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 516s # NULL 516s # }; 516s # 516s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 516s # { 516s # { 516s # -1, 516s # (gchar *) "org.project.SignalingIface", 516s # NULL, 516s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 516s # NULL, 516s # NULL 516s # }, 516s # "org-project-signaling-iface", 516s # }; 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_interface_info: 516s # * 516s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 516s # * 516s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 516s # */ 516s # GDBusInterfaceInfo * 516s # org_project_signaling_iface_interface_info (void) 516s # { 516s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_override_properties: 516s # * @klass: The class structure for a #GObject derived class. 516s # * @property_id_begin: The property id to assign to the first overridden property. 516s # * 516s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 516s # * The properties are overridden in the order they are defined. 516s # * 516s # * Returns: The last property id. 516s # */ 516s # guint 516s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 516s # { 516s # return property_id_begin - 1; 516s # } 516s # 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_simple_signal ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # g_cclosure_marshal_VOID__VOID (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # inline static void 516s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 516s # GClosure *closure, 516s # GValue *return_value, 516s # unsigned int n_param_values, 516s # const GValue *param_values, 516s # void *invocation_hint, 516s # void *marshal_data) 516s # { 516s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 516s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 516s # } 516s # 516s # 516s # /** 516s # * OrgProjectSignalingIface: 516s # * 516s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceIface: 516s # * @parent_iface: The parent interface. 516s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 516s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 516s # * 516s # * Virtual table for the D-Bus interface org.project.SignalingIface. 516s # */ 516s # 516s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 516s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 516s # 516s # static void 516s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # /* GObject signals for received D-Bus signals: */ 516s # /** 516s # * OrgProjectSignalingIface::simple-signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 516s # g_signal_new ("simple-signal", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_simple_signal, 516s # G_TYPE_NONE, 516s # 0); 516s # 516s # /** 516s # * OrgProjectSignalingIface::signal-with-many-args: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_an_b: Argument. 516s # * @arg_an_y: Argument. 516s # * @arg_an_n: Argument. 516s # * @arg_an_q: Argument. 516s # * @arg_an_i: Argument. 516s # * @arg_an_u: Argument. 516s # * @arg_an_x: Argument. 516s # * @arg_an_t: Argument. 516s # * @arg_an_d: Argument. 516s # * @arg_an_s: Argument. 516s # * @arg_an_o: Argument. 516s # * @arg_an_g: Argument. 516s # * @arg_an_h: Argument. 516s # * @arg_an_ay: Argument. 516s # * @arg_an_as: Argument. 516s # * @arg_an_ao: Argument. 516s # * @arg_an_aay: Argument. 516s # * @arg_an_asv: Argument. 516s # * 516s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 516s # * 516s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 516s # */ 516s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 516s # g_signal_new ("signal-with-many-args", 516s # G_TYPE_FROM_INTERFACE (iface), 516s # G_SIGNAL_RUN_LAST, 516s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 516s # NULL, 516s # NULL, 516s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 516s # G_TYPE_NONE, 516s # 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); 516s # 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_simple_signal: 516s # * @object: A #OrgProjectSignalingIface. 516s # * 516s # * Emits the "SimpleSignal" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_emit_signal_with_many_args: 516s # * @object: A #OrgProjectSignalingIface. 516s # * @arg_an_b: Argument to pass with the signal. 516s # * @arg_an_y: Argument to pass with the signal. 516s # * @arg_an_n: Argument to pass with the signal. 516s # * @arg_an_q: Argument to pass with the signal. 516s # * @arg_an_i: Argument to pass with the signal. 516s # * @arg_an_u: Argument to pass with the signal. 516s # * @arg_an_x: Argument to pass with the signal. 516s # * @arg_an_t: Argument to pass with the signal. 516s # * @arg_an_d: Argument to pass with the signal. 516s # * @arg_an_s: Argument to pass with the signal. 516s # * @arg_an_o: Argument to pass with the signal. 516s # * @arg_an_g: Argument to pass with the signal. 516s # * @arg_an_h: Argument to pass with the signal. 516s # * @arg_an_ay: Argument to pass with the signal. 516s # * @arg_an_as: Argument to pass with the signal. 516s # * @arg_an_ao: Argument to pass with the signal. 516s # * @arg_an_aay: Argument to pass with the signal. 516s # * @arg_an_asv: Argument to pass with the signal. 516s # * 516s # * Emits the "SignalWithManyArgs" D-Bus signal. 516s # */ 516s # void 516s # org_project_signaling_iface_emit_signal_with_many_args ( 516s # OrgProjectSignalingIface *object, 516s # gboolean arg_an_b, 516s # guchar arg_an_y, 516s # gint16 arg_an_n, 516s # guint16 arg_an_q, 516s # gint arg_an_i, 516s # guint arg_an_u, 516s # gint64 arg_an_x, 516s # guint64 arg_an_t, 516s # gdouble arg_an_d, 516s # const gchar *arg_an_s, 516s # const gchar *arg_an_o, 516s # const gchar *arg_an_g, 516s # GVariant *arg_an_h, 516s # const gchar *arg_an_ay, 516s # const gchar *const *arg_an_as, 516s # const gchar *const *arg_an_ao, 516s # const gchar *const *arg_an_aay, 516s # GVariant *arg_an_asv) 516s # { 516s # 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); 516s # } 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxy: 516s # * 516s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceProxyClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceProxy. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceProxyPrivate 516s # { 516s # GData *qdata; 516s # }; 516s # 516s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_proxy_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 516s # g_datalist_clear (&proxy->priv->qdata); 516s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 516s # guint prop_id G_GNUC_UNUSED, 516s # const GValue *value G_GNUC_UNUSED, 516s # GParamSpec *pspec G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 516s # const gchar *sender_name G_GNUC_UNUSED, 516s # const gchar *signal_name, 516s # GVariant *parameters) 516s # { 516s # _ExtendedGDBusSignalInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # gsize n; 516s # guint signal_id; 516s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 516s # if (info == NULL) 516s # return; 516s # num_params = g_variant_n_children (parameters); 516s # paramv = g_new0 (GValue, num_params + 1); 516s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[0], proxy); 516s # g_variant_iter_init (&iter, parameters); 516s # n = 1; 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_signal_emitv (paramv, signal_id, 0, NULL); 516s # for (n = 0; n < num_params + 1; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 516s # GVariant *changed_properties, 516s # const gchar *const *invalidated_properties) 516s # { 516s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 516s # guint n; 516s # const gchar *key; 516s # GVariantIter *iter; 516s # _ExtendedGDBusPropertyInfo *info; 516s # g_variant_get (changed_properties, "a{sv}", &iter); 516s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 516s # g_datalist_remove_data (&proxy->priv->qdata, key); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # g_variant_iter_free (iter); 516s # for (n = 0; invalidated_properties[n] != NULL; n++) 516s # { 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 516s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 516s # if (info != NULL) 516s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 516s # } 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 516s # #else 516s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 516s # #endif 516s # 516s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusProxyClass *proxy_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 516s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 516s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 516s # 516s # proxy_class = G_DBUS_PROXY_CLASS (klass); 516s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 516s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_sync: 516s # * @connection: A #GDBusConnection. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_sync ( 516s # GDBusConnection *connection, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 516s # * @user_data: User data to pass to @callback. 516s # * 516s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 516s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 516s # */ 516s # void 516s # org_project_signaling_iface_proxy_new_for_bus ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GAsyncReadyCallback callback, 516s # gpointer user_data) 516s # { 516s # 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); 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_finish: 516s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 516s # * @error: Return location for error or %NULL 516s # * 516s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_finish ( 516s # GAsyncResult *res, 516s # GError **error) 516s # { 516s # GObject *ret; 516s # GObject *source_object; 516s # source_object = g_async_result_get_source_object (res); 516s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 516s # g_object_unref (source_object); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_proxy_new_for_bus_sync: 516s # * @bus_type: A #GBusType. 516s # * @flags: Flags from the #GDBusProxyFlags enumeration. 516s # * @name: A bus name (well-known or unique). 516s # * @object_path: An object path. 516s # * @cancellable: (nullable): A #GCancellable or %NULL. 516s # * @error: Return location for error or %NULL 516s # * 516s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 516s # * 516s # * The calling thread is blocked until a reply is received. 516s # * 516s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_proxy_new_for_bus_sync ( 516s # GBusType bus_type, 516s # GDBusProxyFlags flags, 516s # const gchar *name, 516s # const gchar *object_path, 516s # GCancellable *cancellable, 516s # GError **error) 516s # { 516s # GInitable *ret; 516s # 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); 516s # if (ret != NULL) 516s # return ORG_PROJECT_SIGNALING_IFACE (ret); 516s # else 516s # return NULL; 516s # } 516s # 516s # 516s # /* ------------------------------------------------------------------------ */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeleton: 516s # * 516s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 516s # */ 516s # 516s # /** 516s # * OrgProjectSignalingIfaceSkeletonClass: 516s # * @parent_class: The parent class. 516s # * 516s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 516s # */ 516s # 516s # struct _OrgProjectSignalingIfaceSkeletonPrivate 516s # { 516s # GValue *properties; 516s # GList *changed_properties; 516s # GSource *changed_properties_idle_source; 516s # GMainContext *context; 516s # GMutex lock; 516s # }; 516s # 516s # static void 516s # _org_project_signaling_iface_skeleton_handle_method_call ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name, 516s # const gchar *method_name, 516s # GVariant *parameters, 516s # GDBusMethodInvocation *invocation, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # _ExtendedGDBusMethodInfo *info; 516s # GVariantIter iter; 516s # GVariant *child; 516s # GValue *paramv; 516s # gsize num_params; 516s # guint num_extra; 516s # gsize n; 516s # guint signal_id; 516s # GValue return_value = G_VALUE_INIT; 516s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 516s # g_assert (info != NULL); 516s # num_params = g_variant_n_children (parameters); 516s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 516s # n = 0; 516s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_set_object (¶mv[n++], skeleton); 516s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 516s # g_value_set_object (¶mv[n++], invocation); 516s # if (info->pass_fdlist) 516s # { 516s # #ifdef G_OS_UNIX 516s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 516s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 516s # #else 516s # g_assert_not_reached (); 516s # #endif 516s # } 516s # g_variant_iter_init (&iter, parameters); 516s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 516s # { 516s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 516s # if (arg_info->use_gvariant) 516s # { 516s # g_value_init (¶mv[n], G_TYPE_VARIANT); 516s # g_value_set_variant (¶mv[n], child); 516s # n++; 516s # } 516s # else 516s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 516s # g_variant_unref (child); 516s # } 516s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 516s # g_value_init (&return_value, G_TYPE_BOOLEAN); 516s # g_signal_emitv (paramv, signal_id, 0, &return_value); 516s # if (!g_value_get_boolean (&return_value)) 516s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 516s # g_value_unset (&return_value); 516s # for (n = 0; n < num_params + num_extra; n++) 516s # g_value_unset (¶mv[n]); 516s # g_free (paramv); 516s # } 516s # 516s # static GVariant * 516s # _org_project_signaling_iface_skeleton_handle_get_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # GVariant *ret; 516s # ret = NULL; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # g_value_init (&value, pspec->value_type); 516s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 516s # g_value_unset (&value); 516s # } 516s # return ret; 516s # } 516s # 516s # static gboolean 516s # _org_project_signaling_iface_skeleton_handle_set_property ( 516s # GDBusConnection *connection G_GNUC_UNUSED, 516s # const gchar *sender G_GNUC_UNUSED, 516s # const gchar *object_path G_GNUC_UNUSED, 516s # const gchar *interface_name G_GNUC_UNUSED, 516s # const gchar *property_name, 516s # GVariant *variant, 516s # GError **error, 516s # gpointer user_data) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 516s # GValue value = G_VALUE_INIT; 516s # GParamSpec *pspec; 516s # _ExtendedGDBusPropertyInfo *info; 516s # gboolean ret; 516s # ret = FALSE; 516s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 516s # g_assert (info != NULL); 516s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 516s # if (pspec == NULL) 516s # { 516s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 516s # } 516s # else 516s # { 516s # if (info->use_gvariant) 516s # g_value_set_variant (&value, variant); 516s # else 516s # g_dbus_gvariant_to_gvalue (variant, &value); 516s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 516s # g_value_unset (&value); 516s # ret = TRUE; 516s # } 516s # return ret; 516s # } 516s # 516s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 516s # { 516s # _org_project_signaling_iface_skeleton_handle_method_call, 516s # _org_project_signaling_iface_skeleton_handle_get_property, 516s # _org_project_signaling_iface_skeleton_handle_set_property, 516s # {NULL} 516s # }; 516s # 516s # static GDBusInterfaceInfo * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return org_project_signaling_iface_interface_info (); 516s # } 516s # 516s # static GDBusInterfaceVTable * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 516s # { 516s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 516s # } 516s # 516s # static GVariant * 516s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 516s # 516s # GVariantBuilder builder; 516s # guint n; 516s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 516s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 516s # goto out; 516s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 516s # { 516s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 516s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 516s # { 516s # GVariant *value; 516s # 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); 516s # if (value != NULL) 516s # { 516s # g_variant_take_ref (value); 516s # g_variant_builder_add (&builder, "{sv}", info->name, value); 516s # g_variant_unref (value); 516s # } 516s # } 516s # } 516s # out: 516s # return g_variant_builder_end (&builder); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 516s # { 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_simple_signal ( 516s # OrgProjectSignalingIface *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void 516s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 516s # OrgProjectSignalingIface *object, 516s # gboolean arg_an_b, 516s # guchar arg_an_y, 516s # gint16 arg_an_n, 516s # guint16 arg_an_q, 516s # gint arg_an_i, 516s # guint arg_an_u, 516s # gint64 arg_an_x, 516s # guint64 arg_an_t, 516s # gdouble arg_an_d, 516s # const gchar *arg_an_s, 516s # const gchar *arg_an_o, 516s # const gchar *arg_an_g, 516s # GVariant *arg_an_h, 516s # const gchar *arg_an_ay, 516s # const gchar *const *arg_an_as, 516s # const gchar *const *arg_an_ao, 516s # const gchar *const *arg_an_aay, 516s # GVariant *arg_an_asv) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # 516s # GList *connections, *l; 516s # GVariant *signal_variant; 516s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 516s # 516s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 516s # arg_an_b, 516s # arg_an_y, 516s # arg_an_n, 516s # arg_an_q, 516s # arg_an_i, 516s # arg_an_u, 516s # arg_an_x, 516s # arg_an_t, 516s # arg_an_d, 516s # arg_an_s, 516s # arg_an_o, 516s # arg_an_g, 516s # arg_an_h, 516s # arg_an_ay, 516s # arg_an_as, 516s # arg_an_ao, 516s # arg_an_aay, 516s # arg_an_asv)); 516s # for (l = connections; l != NULL; l = l->next) 516s # { 516s # GDBusConnection *connection = l->data; 516s # g_dbus_connection_emit_signal (connection, 516s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 516s # signal_variant, NULL); 516s # } 516s # g_variant_unref (signal_variant); 516s # g_list_free_full (connections, g_object_unref); 516s # } 516s # 516s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #else 516s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 516s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 516s # 516s # #endif 516s # static void 516s # org_project_signaling_iface_skeleton_finalize (GObject *object) 516s # { 516s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 516s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 516s # if (skeleton->priv->changed_properties_idle_source != NULL) 516s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 516s # g_main_context_unref (skeleton->priv->context); 516s # g_mutex_clear (&skeleton->priv->lock); 516s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 516s # { 516s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 516s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 516s # #else 516s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 516s # #endif 516s # 516s # g_mutex_init (&skeleton->priv->lock); 516s # skeleton->priv->context = g_main_context_ref_thread_default (); 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 516s # { 516s # GObjectClass *gobject_class; 516s # GDBusInterfaceSkeletonClass *skeleton_class; 516s # 516s # gobject_class = G_OBJECT_CLASS (klass); 516s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 516s # 516s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 516s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 516s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 516s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 516s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 516s # 516s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 516s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 516s # #endif 516s # } 516s # 516s # static void 516s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 516s # { 516s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 516s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 516s # } 516s # 516s # /** 516s # * org_project_signaling_iface_skeleton_new: 516s # * 516s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 516s # * 516s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 516s # */ 516s # OrgProjectSignalingIface * 516s # org_project_signaling_iface_skeleton_new (void) 516s # { 516s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 516s # } 516s ok 25 __main__.TestCodegen.test_generate_valid_docbook 516s # tmpdir: /tmp/tmpyyetp1rv 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmpyyetp1rv/tmp_fy5_xsm.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyyetp1rv/tmp_fy5_xsm.xml', '--generate-docbook', 'test'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: 516s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 516s # tmpdir: /tmp/tmp39o9tfsx 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmp39o9tfsx/tmp5vvw7a6a.xml: 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp39o9tfsx/tmp5vvw7a6a.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 516s # tmpdir: /tmp/tmpbfe0ezl8 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmpbfe0ezl8/tmpeoyvlqpr.xml: 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbfe0ezl8/tmpeoyvlqpr.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifndef __STDOUT__ 516s # #define __STDOUT__ 516s # 516s # #include 516s # 516s # G_BEGIN_DECLS 516s # 516s # 516s # G_END_DECLS 516s # 516s # #endif /* __STDOUT__ */ 516s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 516s # tmpdir: /tmp/tmprws0kbmc 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmprws0kbmc/tmpaer2ws44.xml: 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprws0kbmc/tmpaer2ws44.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 516s # tmpdir: /tmp/tmpv3p1frqo 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmpv3p1frqo/tmpobnqxwv_.xml: 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3p1frqo/tmpobnqxwv_.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifndef __STDOUT__ 516s # #define __STDOUT__ 516s # 516s # #include 516s # 516s # G_BEGIN_DECLS 516s # 516s # 516s # G_END_DECLS 516s # 516s # #endif /* __STDOUT__ */ 516s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 516s # tmpdir: /tmp/tmp5t6a2kp_ 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmp5t6a2kp_/tmphp9_3rgx.xml: 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t6a2kp_/tmphp9_3rgx.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifndef __STDOUT__ 516s # #define __STDOUT__ 516s # 516s # #include 516s # 516s # G_BEGIN_DECLS 516s # 516s # 516s # G_END_DECLS 516s # 516s # #endif /* __STDOUT__ */ 516s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 516s # tmpdir: /tmp/tmp0pet6o1v 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmp0pet6o1v/tmp27usj5_0.xml: 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0pet6o1v/tmp27usj5_0.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 516s # tmpdir: /tmp/tmpmrrg1zre 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmpmrrg1zre/tmp50m6f_ex.xml: 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmrrg1zre/tmp50m6f_ex.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifndef __STDOUT__ 516s # #define __STDOUT__ 516s # 516s # #include 516s # 516s # G_BEGIN_DECLS 516s # 516s # 516s # G_END_DECLS 516s # 516s # #endif /* __STDOUT__ */ 516s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 516s # tmpdir: /tmp/tmp_6ghelt5 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmp_6ghelt5/tmpk2czo_to.xml: 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_6ghelt5/tmpk2czo_to.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Executing: glib/codegen.py.test 516s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 516s # tmpdir: /tmp/tmpwaldynm5 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmpwaldynm5/tmputnnopcf.xml: 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwaldynm5/tmputnnopcf.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: /* 516s # * This file is generated by gdbus-codegen, do not modify it. 516s # * 516s # * The license of this code is the same as for the D-Bus interface description 516s # * it was derived from. Note that it links to GLib, so must comply with the 516s # * LGPL linking clauses. 516s # */ 516s # 516s # #ifndef __STDOUT__ 516s # #define __STDOUT__ 516s # 516s # #include 516s # 516s # G_BEGIN_DECLS 516s # 516s # 516s # G_END_DECLS 516s # 516s # #endif /* __STDOUT__ */ 516s ok 35 __main__.TestCodegen.test_help 516s # tmpdir: /tmp/tmp_p4f9ge3 516s # codegen: /usr/bin/gdbus-codegen 516s # Running: ['/usr/bin/gdbus-codegen', '--help'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 516s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 516s # [--c-generate-autocleanup {none,objects,all}] 516s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 516s # [--generate-rst OUTFILES] [--pragma-once] 516s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 516s # [--glib-min-required VERSION] 516s # [--glib-max-allowed VERSION] 516s # [--symbol-decorator SYMBOL_DECORATOR] 516s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 516s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 516s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 516s # [--output FILE | --output-directory OUTDIR] 516s # FILE [FILE ...] 516s # 516s # D-Bus code and documentation generator 516s # 516s # positional arguments: 516s # FILE D-Bus introspection XML file 516s # 516s # options: 516s # -h, --help show this help message and exit 516s # --interface-prefix PREFIX 516s # String to strip from D-Bus interface names for code 516s # and docs 516s # --c-namespace NAMESPACE 516s # The namespace to use for generated C code 516s # --c-generate-object-manager 516s # Generate a GDBusObjectManagerClient subclass when 516s # generating C code 516s # --c-generate-autocleanup {none,objects,all} 516s # Generate autocleanup support 516s # --generate-docbook OUTFILES 516s # Generate Docbook in OUTFILES-org.Project.IFace.xml 516s # --generate-md OUTFILES 516s # Generate Markdown in OUTFILES-org.Project.IFace.md 516s # --generate-rst OUTFILES 516s # Generate reStructuredText in OUTFILES- 516s # org.Project.IFace.rst 516s # --pragma-once Use "pragma once" as the inclusion guard 516s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 516s # Add annotation (may be used several times) 516s # --glib-min-required VERSION 516s # Minimum version of GLib to be supported by the 516s # outputted code (default: 2.30) 516s # --glib-max-allowed VERSION 516s # Maximum version of GLib to be used by the outputted 516s # code (default: current GLib version) 516s # --symbol-decorator SYMBOL_DECORATOR 516s # Macro used to decorate a symbol in the outputted 516s # header, possibly to export symbols 516s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 516s # Additional header required for decorator specified by 516s # --symbol-decorator 516s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 516s # Additional define required for decorator specified by 516s # --symbol-decorator 516s # --generate-c-code OUTFILES 516s # Generate C code in OUTFILES.[ch] 516s # --header Generate C headers 516s # --body Generate C code 516s # --interface-info-header 516s # Generate GDBusInterfaceInfo C header 516s # --interface-info-body 516s # Generate GDBusInterfaceInfo C code 516s # --output FILE Write output into the specified file 516s # --output-directory OUTDIR 516s # Location to output generated files 516s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 516s # tmpdir: /tmp/tmpsm8miu44 516s # codegen: /usr/bin/gdbus-codegen 516s # /tmp/tmpsm8miu44/tmpp5ptneor.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsm8miu44/tmpp5ptneor.xml', '--generate-rst', 'test'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: 516s # /tmp/tmpsm8miu44/tmprwcgjx2c.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsm8miu44/tmprwcgjx2c.xml', '--generate-md', 'test'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: 516s # /tmp/tmpsm8miu44/tmplz4djyw_.xml: 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # 516s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsm8miu44/tmplz4djyw_.xml', '--generate-docbook', 'test'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: 516s ok 37 __main__.TestCodegen.test_no_args 516s # tmpdir: /tmp/tmp_81hn4hr 516s # codegen: /usr/bin/gdbus-codegen 516s # Running: ['/usr/bin/gdbus-codegen'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s ok 38 __main__.TestCodegen.test_reproducible 517s # tmpdir: /tmp/tmp87ti4k02 517s # codegen: /usr/bin/gdbus-codegen 517s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp87ti4k02/tmp0t_d9zjj1.xml', '/tmp/tmp87ti4k02/tmpnhd3u4ly2.xml', '--output', '-', '--header'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: /* 517s # * This file is generated by gdbus-codegen, do not modify it. 517s # * 517s # * The license of this code is the same as for the D-Bus interface description 517s # * it was derived from. Note that it links to GLib, so must comply with the 517s # * LGPL linking clauses. 517s # */ 517s # 517s # #ifndef __STDOUT__ 517s # #define __STDOUT__ 517s # 517s # #include 517s # 517s # G_BEGIN_DECLS 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # /* Declarations for com.acme.Coyote */ 517s # 517s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 517s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 517s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 517s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 517s # 517s # struct _ComAcmeCoyote; 517s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 517s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 517s # 517s # struct _ComAcmeCoyoteIface 517s # { 517s # GTypeInterface parent_iface; 517s # 517s # 517s # 517s # gboolean (*handle_attack) ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # gboolean (*handle_run) ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # gboolean (*handle_sleep) ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # const gchar * (*get_mood) (ComAcmeCoyote *object); 517s # 517s # void (*surprised) ( 517s # ComAcmeCoyote *object); 517s # 517s # }; 517s # 517s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 517s # 517s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 517s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 517s # 517s # 517s # /* D-Bus method call completion functions: */ 517s # void com_acme_coyote_complete_run ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # void com_acme_coyote_complete_sleep ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # void com_acme_coyote_complete_attack ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # 517s # 517s # /* D-Bus signal emissions functions: */ 517s # void com_acme_coyote_emit_surprised ( 517s # ComAcmeCoyote *object); 517s # 517s # 517s # 517s # /* D-Bus method calls: */ 517s # void com_acme_coyote_call_run ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean com_acme_coyote_call_run_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean com_acme_coyote_call_run_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void com_acme_coyote_call_sleep ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean com_acme_coyote_call_sleep_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean com_acme_coyote_call_sleep_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void com_acme_coyote_call_attack ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean com_acme_coyote_call_attack_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean com_acme_coyote_call_attack_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # 517s # /* D-Bus property accessors: */ 517s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 517s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 517s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 517s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 517s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 517s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 517s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 517s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 517s # 517s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 517s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 517s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 517s # 517s # struct _ComAcmeCoyoteProxy 517s # { 517s # /*< private >*/ 517s # GDBusProxy parent_instance; 517s # ComAcmeCoyoteProxyPrivate *priv; 517s # }; 517s # 517s # struct _ComAcmeCoyoteProxyClass 517s # { 517s # GDBusProxyClass parent_class; 517s # }; 517s # 517s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 517s # #endif 517s # 517s # void com_acme_coyote_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void com_acme_coyote_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 517s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 517s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 517s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 517s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 517s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 517s # 517s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 517s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 517s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 517s # 517s # struct _ComAcmeCoyoteSkeleton 517s # { 517s # /*< private >*/ 517s # GDBusInterfaceSkeleton parent_instance; 517s # ComAcmeCoyoteSkeletonPrivate *priv; 517s # }; 517s # 517s # struct _ComAcmeCoyoteSkeletonClass 517s # { 517s # GDBusInterfaceSkeletonClass parent_class; 517s # }; 517s # 517s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 517s # #endif 517s # 517s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # /* Declarations for org.project.Bar.Frobnicator */ 517s # 517s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 517s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 517s # 517s # struct _OrgProjectBarFrobnicator; 517s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 517s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 517s # 517s # struct _OrgProjectBarFrobnicatorIface 517s # { 517s # GTypeInterface parent_iface; 517s # 517s # gboolean (*handle_random_method) ( 517s # OrgProjectBarFrobnicator *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # }; 517s # 517s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 517s # 517s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 517s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 517s # 517s # 517s # /* D-Bus method call completion functions: */ 517s # void org_project_bar_frobnicator_complete_random_method ( 517s # OrgProjectBarFrobnicator *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # 517s # 517s # /* D-Bus method calls: */ 517s # void org_project_bar_frobnicator_call_random_method ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 517s # 517s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 517s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 517s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 517s # 517s # struct _OrgProjectBarFrobnicatorProxy 517s # { 517s # /*< private >*/ 517s # GDBusProxy parent_instance; 517s # OrgProjectBarFrobnicatorProxyPrivate *priv; 517s # }; 517s # 517s # struct _OrgProjectBarFrobnicatorProxyClass 517s # { 517s # GDBusProxyClass parent_class; 517s # }; 517s # 517s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 517s # #endif 517s # 517s # void org_project_bar_frobnicator_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void org_project_bar_frobnicator_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 517s # 517s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 517s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 517s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 517s # 517s # struct _OrgProjectBarFrobnicatorSkeleton 517s # { 517s # /*< private >*/ 517s # GDBusInterfaceSkeleton parent_instance; 517s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 517s # }; 517s # 517s # struct _OrgProjectBarFrobnicatorSkeletonClass 517s # { 517s # GDBusInterfaceSkeletonClass parent_class; 517s # }; 517s # 517s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 517s # #endif 517s # 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 517s # 517s # 517s # G_END_DECLS 517s # 517s # #endif /* __STDOUT__ */ 517s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp87ti4k02/tmpnhd3u4ly2.xml', '/tmp/tmp87ti4k02/tmp0t_d9zjj1.xml', '--output', '-', '--header'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: /* 517s # * This file is generated by gdbus-codegen, do not modify it. 517s # * 517s # * The license of this code is the same as for the D-Bus interface description 517s # * it was derived from. Note that it links to GLib, so must comply with the 517s # * LGPL linking clauses. 517s # */ 517s # 517s # #ifndef __STDOUT__ 517s # #define __STDOUT__ 517s # 517s # #include 517s # 517s # G_BEGIN_DECLS 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # /* Declarations for com.acme.Coyote */ 517s # 517s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 517s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 517s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 517s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 517s # 517s # struct _ComAcmeCoyote; 517s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 517s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 517s # 517s # struct _ComAcmeCoyoteIface 517s # { 517s # GTypeInterface parent_iface; 517s # 517s # 517s # 517s # gboolean (*handle_attack) ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # gboolean (*handle_run) ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # gboolean (*handle_sleep) ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # const gchar * (*get_mood) (ComAcmeCoyote *object); 517s # 517s # void (*surprised) ( 517s # ComAcmeCoyote *object); 517s # 517s # }; 517s # 517s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 517s # 517s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 517s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 517s # 517s # 517s # /* D-Bus method call completion functions: */ 517s # void com_acme_coyote_complete_run ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # void com_acme_coyote_complete_sleep ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # void com_acme_coyote_complete_attack ( 517s # ComAcmeCoyote *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # 517s # 517s # /* D-Bus signal emissions functions: */ 517s # void com_acme_coyote_emit_surprised ( 517s # ComAcmeCoyote *object); 517s # 517s # 517s # 517s # /* D-Bus method calls: */ 517s # void com_acme_coyote_call_run ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean com_acme_coyote_call_run_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean com_acme_coyote_call_run_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void com_acme_coyote_call_sleep ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean com_acme_coyote_call_sleep_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean com_acme_coyote_call_sleep_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void com_acme_coyote_call_attack ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean com_acme_coyote_call_attack_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean com_acme_coyote_call_attack_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # 517s # /* D-Bus property accessors: */ 517s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 517s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 517s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 517s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 517s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 517s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 517s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 517s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 517s # 517s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 517s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 517s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 517s # 517s # struct _ComAcmeCoyoteProxy 517s # { 517s # /*< private >*/ 517s # GDBusProxy parent_instance; 517s # ComAcmeCoyoteProxyPrivate *priv; 517s # }; 517s # 517s # struct _ComAcmeCoyoteProxyClass 517s # { 517s # GDBusProxyClass parent_class; 517s # }; 517s # 517s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 517s # #endif 517s # 517s # void com_acme_coyote_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void com_acme_coyote_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 517s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 517s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 517s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 517s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 517s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 517s # 517s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 517s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 517s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 517s # 517s # struct _ComAcmeCoyoteSkeleton 517s # { 517s # /*< private >*/ 517s # GDBusInterfaceSkeleton parent_instance; 517s # ComAcmeCoyoteSkeletonPrivate *priv; 517s # }; 517s # 517s # struct _ComAcmeCoyoteSkeletonClass 517s # { 517s # GDBusInterfaceSkeletonClass parent_class; 517s # }; 517s # 517s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 517s # #endif 517s # 517s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # /* Declarations for org.project.Bar.Frobnicator */ 517s # 517s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 517s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 517s # 517s # struct _OrgProjectBarFrobnicator; 517s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 517s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 517s # 517s # struct _OrgProjectBarFrobnicatorIface 517s # { 517s # GTypeInterface parent_iface; 517s # 517s # gboolean (*handle_random_method) ( 517s # OrgProjectBarFrobnicator *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # }; 517s # 517s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 517s # 517s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 517s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 517s # 517s # 517s # /* D-Bus method call completion functions: */ 517s # void org_project_bar_frobnicator_complete_random_method ( 517s # OrgProjectBarFrobnicator *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # 517s # 517s # /* D-Bus method calls: */ 517s # void org_project_bar_frobnicator_call_random_method ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 517s # 517s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 517s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 517s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 517s # 517s # struct _OrgProjectBarFrobnicatorProxy 517s # { 517s # /*< private >*/ 517s # GDBusProxy parent_instance; 517s # OrgProjectBarFrobnicatorProxyPrivate *priv; 517s # }; 517s # 517s # struct _OrgProjectBarFrobnicatorProxyClass 517s # { 517s # GDBusProxyClass parent_class; 517s # }; 517s # 517s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 517s # #endif 517s # 517s # void org_project_bar_frobnicator_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void org_project_bar_frobnicator_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 517s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 517s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 517s # 517s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 517s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 517s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 517s # 517s # struct _OrgProjectBarFrobnicatorSkeleton 517s # { 517s # /*< private >*/ 517s # GDBusInterfaceSkeleton parent_instance; 517s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 517s # }; 517s # 517s # struct _OrgProjectBarFrobnicatorSkeletonClass 517s # { 517s # GDBusInterfaceSkeletonClass parent_class; 517s # }; 517s # 517s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 517s # #endif 517s # 517s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 517s # 517s # 517s # G_END_DECLS 517s # 517s # #endif /* __STDOUT__ */ 517s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp87ti4k02/tmp0t_d9zjj1.xml', '/tmp/tmp87ti4k02/tmpnhd3u4ly2.xml', '--output', '-', '--body'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: /* 517s # * This file is generated by gdbus-codegen, do not modify it. 517s # * 517s # * The license of this code is the same as for the D-Bus interface description 517s # * it was derived from. Note that it links to GLib, so must comply with the 517s # * LGPL linking clauses. 517s # */ 517s # 517s # #ifdef HAVE_CONFIG_H 517s # # include "config.h" 517s # #endif 517s # 517s # #include 517s # #ifdef G_OS_UNIX 517s # # include 517s # #endif 517s # 517s # #ifdef G_ENABLE_DEBUG 517s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 517s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 517s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 517s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 517s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 517s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 517s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 517s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 517s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 517s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 517s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 517s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 517s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 517s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 517s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 517s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 517s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 517s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 517s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 517s # #else /* !G_ENABLE_DEBUG */ 517s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 517s # * Do not access GValues directly in your code. Instead, use the 517s # * g_value_get_*() functions 517s # */ 517s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 517s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 517s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 517s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 517s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 517s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 517s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 517s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 517s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 517s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 517s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 517s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 517s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 517s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 517s # #endif /* !G_ENABLE_DEBUG */ 517s # 517s # typedef struct 517s # { 517s # GDBusArgInfo parent_struct; 517s # gboolean use_gvariant; 517s # } _ExtendedGDBusArgInfo; 517s # 517s # typedef struct 517s # { 517s # GDBusMethodInfo parent_struct; 517s # const gchar *signal_name; 517s # gboolean pass_fdlist; 517s # } _ExtendedGDBusMethodInfo; 517s # 517s # typedef struct 517s # { 517s # GDBusSignalInfo parent_struct; 517s # const gchar *signal_name; 517s # } _ExtendedGDBusSignalInfo; 517s # 517s # typedef struct 517s # { 517s # GDBusPropertyInfo parent_struct; 517s # const gchar *hyphen_name; 517s # guint use_gvariant : 1; 517s # guint emits_changed_signal : 1; 517s # } _ExtendedGDBusPropertyInfo; 517s # 517s # typedef struct 517s # { 517s # GDBusInterfaceInfo parent_struct; 517s # const gchar *hyphen_name; 517s # } _ExtendedGDBusInterfaceInfo; 517s # 517s # typedef struct 517s # { 517s # const _ExtendedGDBusPropertyInfo *info; 517s # guint prop_id; 517s # GValue orig_value; /* the value before the change */ 517s # } ChangedProperty; 517s # 517s # static void 517s # _changed_property_free (ChangedProperty *data) 517s # { 517s # g_value_unset (&data->orig_value); 517s # g_free (data); 517s # } 517s # 517s # static gboolean 517s # _g_strv_equal0 (gchar **a, gchar **b) 517s # { 517s # gboolean ret = FALSE; 517s # guint n; 517s # if (a == NULL && b == NULL) 517s # { 517s # ret = TRUE; 517s # goto out; 517s # } 517s # if (a == NULL || b == NULL) 517s # goto out; 517s # if (g_strv_length (a) != g_strv_length (b)) 517s # goto out; 517s # for (n = 0; a[n] != NULL; n++) 517s # if (g_strcmp0 (a[n], b[n]) != 0) 517s # goto out; 517s # ret = TRUE; 517s # out: 517s # return ret; 517s # } 517s # 517s # static gboolean 517s # _g_variant_equal0 (GVariant *a, GVariant *b) 517s # { 517s # gboolean ret = FALSE; 517s # if (a == NULL && b == NULL) 517s # { 517s # ret = TRUE; 517s # goto out; 517s # } 517s # if (a == NULL || b == NULL) 517s # goto out; 517s # ret = g_variant_equal (a, b); 517s # out: 517s # return ret; 517s # } 517s # 517s # G_GNUC_UNUSED static gboolean 517s # _g_value_equal (const GValue *a, const GValue *b) 517s # { 517s # gboolean ret = FALSE; 517s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 517s # switch (G_VALUE_TYPE (a)) 517s # { 517s # case G_TYPE_BOOLEAN: 517s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 517s # break; 517s # case G_TYPE_UCHAR: 517s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 517s # break; 517s # case G_TYPE_INT: 517s # ret = (g_value_get_int (a) == g_value_get_int (b)); 517s # break; 517s # case G_TYPE_UINT: 517s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 517s # break; 517s # case G_TYPE_INT64: 517s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 517s # break; 517s # case G_TYPE_UINT64: 517s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 517s # break; 517s # case G_TYPE_DOUBLE: 517s # { 517s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 517s # gdouble da = g_value_get_double (a); 517s # gdouble db = g_value_get_double (b); 517s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 517s # } 517s # break; 517s # case G_TYPE_STRING: 517s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 517s # break; 517s # case G_TYPE_VARIANT: 517s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 517s # break; 517s # default: 517s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 517s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 517s # else 517s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 517s # break; 517s # } 517s # return ret; 517s # } 517s # 517s # static void 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint G_GNUC_UNUSED, 517s # void *marshal_data) 517s # { 517s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 517s # (void *data1, 517s # GDBusMethodInvocation *arg_method_invocation, 517s # void *data2); 517s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 517s # GCClosure *cc = (GCClosure*) closure; 517s # void *data1, *data2; 517s # gboolean v_return; 517s # 517s # g_return_if_fail (return_value != NULL); 517s # g_return_if_fail (n_param_values == 2); 517s # 517s # if (G_CCLOSURE_SWAP_DATA (closure)) 517s # { 517s # data1 = closure->data; 517s # data2 = g_value_peek_pointer (param_values + 0); 517s # } 517s # else 517s # { 517s # data1 = g_value_peek_pointer (param_values + 0); 517s # data2 = closure->data; 517s # } 517s # 517s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 517s # (marshal_data ? marshal_data : cc->callback); 517s # 517s # v_return = 517s # callback (data1, 517s # g_marshal_value_peek_object (param_values + 1), 517s # data2); 517s # 517s # g_value_set_boolean (return_value, v_return); 517s # } 517s # 517s # /* ------------------------------------------------------------------------ 517s # * Code for interface com.acme.Coyote 517s # * ------------------------------------------------------------------------ 517s # */ 517s # 517s # /** 517s # * SECTION:ComAcmeCoyote 517s # * @title: ComAcmeCoyote 517s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 517s # * 517s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 517s # */ 517s # 517s # enum 517s # { 517s # _COM_ACME_COYOTE_SURPRISED, 517s # }; 517s # 517s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 517s # 517s # /* ---- Introspection data for com.acme.Coyote ---- */ 517s # 517s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Run", 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "handle-run", 517s # FALSE 517s # }; 517s # 517s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Sleep", 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "handle-sleep", 517s # FALSE 517s # }; 517s # 517s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Attack", 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "handle-attack", 517s # FALSE 517s # }; 517s # 517s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 517s # { 517s # &_com_acme_coyote_method_info_run.parent_struct, 517s # &_com_acme_coyote_method_info_sleep.parent_struct, 517s # &_com_acme_coyote_method_info_attack.parent_struct, 517s # NULL 517s # }; 517s # 517s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Surprised", 517s # NULL, 517s # NULL 517s # }, 517s # "surprised" 517s # }; 517s # 517s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 517s # { 517s # &_com_acme_coyote_signal_info_surprised.parent_struct, 517s # NULL 517s # }; 517s # 517s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Mood", 517s # (gchar *) "s", 517s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 517s # NULL 517s # }, 517s # "mood", 517s # FALSE, 517s # TRUE 517s # }; 517s # 517s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 517s # { 517s # &_com_acme_coyote_property_info_mood.parent_struct, 517s # NULL 517s # }; 517s # 517s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 517s # { 517s # { 517s # -1, 517s # (gchar *) "com.acme.Coyote", 517s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 517s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 517s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 517s # NULL 517s # }, 517s # "com-acme-coyote", 517s # }; 517s # 517s # 517s # /** 517s # * com_acme_coyote_interface_info: 517s # * 517s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 517s # * 517s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 517s # */ 517s # GDBusInterfaceInfo * 517s # com_acme_coyote_interface_info (void) 517s # { 517s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_override_properties: 517s # * @klass: The class structure for a #GObject derived class. 517s # * @property_id_begin: The property id to assign to the first overridden property. 517s # * 517s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 517s # * The properties are overridden in the order they are defined. 517s # * 517s # * Returns: The last property id. 517s # */ 517s # guint 517s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 517s # { 517s # g_object_class_override_property (klass, property_id_begin++, "mood"); 517s # return property_id_begin - 1; 517s # } 517s # 517s # 517s # inline static void 517s # com_acme_coyote_signal_marshal_surprised ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # g_cclosure_marshal_VOID__VOID (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # inline static void 517s # com_acme_coyote_method_marshal_run ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # inline static void 517s # com_acme_coyote_method_marshal_sleep ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # inline static void 517s # com_acme_coyote_method_marshal_attack ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # 517s # /** 517s # * ComAcmeCoyote: 517s # * 517s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 517s # */ 517s # 517s # /** 517s # * ComAcmeCoyoteIface: 517s # * @parent_iface: The parent interface. 517s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 517s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 517s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 517s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 517s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 517s # * 517s # * Virtual table for the D-Bus interface com.acme.Coyote. 517s # */ 517s # 517s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 517s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 517s # 517s # static void 517s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 517s # { 517s # /* GObject signals for incoming D-Bus method calls: */ 517s # /** 517s # * ComAcmeCoyote::handle-run: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: A #GDBusMethodInvocation. 517s # * 517s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # g_signal_new ("handle-run", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 517s # g_signal_accumulator_true_handled, 517s # NULL, 517s # com_acme_coyote_method_marshal_run, 517s # G_TYPE_BOOLEAN, 517s # 1, 517s # G_TYPE_DBUS_METHOD_INVOCATION); 517s # 517s # /** 517s # * ComAcmeCoyote::handle-sleep: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: A #GDBusMethodInvocation. 517s # * 517s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # g_signal_new ("handle-sleep", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 517s # g_signal_accumulator_true_handled, 517s # NULL, 517s # com_acme_coyote_method_marshal_sleep, 517s # G_TYPE_BOOLEAN, 517s # 1, 517s # G_TYPE_DBUS_METHOD_INVOCATION); 517s # 517s # /** 517s # * ComAcmeCoyote::handle-attack: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: A #GDBusMethodInvocation. 517s # * 517s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # g_signal_new ("handle-attack", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 517s # g_signal_accumulator_true_handled, 517s # NULL, 517s # com_acme_coyote_method_marshal_attack, 517s # G_TYPE_BOOLEAN, 517s # 1, 517s # G_TYPE_DBUS_METHOD_INVOCATION); 517s # 517s # /* GObject signals for received D-Bus signals: */ 517s # /** 517s # * ComAcmeCoyote::surprised: 517s # * @object: A #ComAcmeCoyote. 517s # * 517s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 517s # * 517s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 517s # */ 517s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 517s # g_signal_new ("surprised", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 517s # NULL, 517s # NULL, 517s # com_acme_coyote_signal_marshal_surprised, 517s # G_TYPE_NONE, 517s # 0); 517s # 517s # /* GObject properties for D-Bus properties: */ 517s # /** 517s # * ComAcmeCoyote:mood: 517s # * 517s # * Represents the D-Bus property "Mood". 517s # * 517s # * 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. 517s # */ 517s # g_object_interface_install_property (iface, 517s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_get_mood: (skip) 517s # * @object: A #ComAcmeCoyote. 517s # * 517s # * Gets the value of the "Mood" D-Bus property. 517s # * 517s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # const gchar * 517s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 517s # { 517s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 517s # 517s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_dup_mood: (skip) 517s # * @object: A #ComAcmeCoyote. 517s # * 517s # * Gets a copy of the "Mood" D-Bus property. 517s # * 517s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 517s # * 517s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 517s # */ 517s # gchar * 517s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 517s # { 517s # gchar *value; 517s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 517s # return value; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_set_mood: (skip) 517s # * @object: A #ComAcmeCoyote. 517s # * @value: The value to set. 517s # * 517s # * Sets the "Mood" D-Bus property to @value. 517s # * 517s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 517s # */ 517s # void 517s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 517s # { 517s # g_object_set (G_OBJECT (object), "mood", value, NULL); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_emit_surprised: 517s # * @object: A #ComAcmeCoyote. 517s # * 517s # * Emits the "Surprised" D-Bus signal. 517s # */ 517s # void 517s # com_acme_coyote_emit_surprised ( 517s # ComAcmeCoyote *object) 517s # { 517s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_run: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously invokes the Run() D-Bus method on @proxy. 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 517s # */ 517s # void 517s # com_acme_coyote_call_run ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 517s # "Run", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # callback, 517s # user_data); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_run_finish: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Finishes an operation started with com_acme_coyote_call_run(). 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_run_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_run_sync: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_run_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 517s # "Run", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_sleep: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 517s # */ 517s # void 517s # com_acme_coyote_call_sleep ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 517s # "Sleep", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # callback, 517s # user_data); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_sleep_finish: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Finishes an operation started with com_acme_coyote_call_sleep(). 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_sleep_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_sleep_sync: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_sleep_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 517s # "Sleep", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_attack: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 517s # */ 517s # void 517s # com_acme_coyote_call_attack ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 517s # "Attack", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # callback, 517s # user_data); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_attack_finish: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Finishes an operation started with com_acme_coyote_call_attack(). 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_attack_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_attack_sync: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_attack_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 517s # "Attack", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_complete_run: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: (transfer full): A #GDBusMethodInvocation. 517s # * 517s # * 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. 517s # * 517s # * This method will free @invocation, you cannot use it afterwards. 517s # */ 517s # void 517s # com_acme_coyote_complete_run ( 517s # ComAcmeCoyote *object G_GNUC_UNUSED, 517s # GDBusMethodInvocation *invocation) 517s # { 517s # g_dbus_method_invocation_return_value (invocation, 517s # g_variant_new ("()")); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_complete_sleep: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: (transfer full): A #GDBusMethodInvocation. 517s # * 517s # * 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. 517s # * 517s # * This method will free @invocation, you cannot use it afterwards. 517s # */ 517s # void 517s # com_acme_coyote_complete_sleep ( 517s # ComAcmeCoyote *object G_GNUC_UNUSED, 517s # GDBusMethodInvocation *invocation) 517s # { 517s # g_dbus_method_invocation_return_value (invocation, 517s # g_variant_new ("()")); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_complete_attack: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: (transfer full): A #GDBusMethodInvocation. 517s # * 517s # * 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. 517s # * 517s # * This method will free @invocation, you cannot use it afterwards. 517s # */ 517s # void 517s # com_acme_coyote_complete_attack ( 517s # ComAcmeCoyote *object G_GNUC_UNUSED, 517s # GDBusMethodInvocation *invocation) 517s # { 517s # g_dbus_method_invocation_return_value (invocation, 517s # g_variant_new ("()")); 517s # } 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # 517s # /** 517s # * ComAcmeCoyoteProxy: 517s # * 517s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 517s # */ 517s # 517s # /** 517s # * ComAcmeCoyoteProxyClass: 517s # * @parent_class: The parent class. 517s # * 517s # * Class structure for #ComAcmeCoyoteProxy. 517s # */ 517s # 517s # struct _ComAcmeCoyoteProxyPrivate 517s # { 517s # GData *qdata; 517s # }; 517s # 517s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 517s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 517s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 517s # 517s # #else 517s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 517s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 517s # 517s # #endif 517s # static void 517s # com_acme_coyote_proxy_finalize (GObject *object) 517s # { 517s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 517s # g_datalist_clear (&proxy->priv->qdata); 517s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_get_property (GObject *object, 517s # guint prop_id, 517s # GValue *value, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # const _ExtendedGDBusPropertyInfo *info; 517s # GVariant *variant; 517s # g_assert (prop_id != 0 && prop_id - 1 < 1); 517s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 517s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 517s # if (info->use_gvariant) 517s # { 517s # g_value_set_variant (value, variant); 517s # } 517s # else 517s # { 517s # if (variant != NULL) 517s # g_dbus_gvariant_to_gvalue (variant, value); 517s # } 517s # if (variant != NULL) 517s # g_variant_unref (variant); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 517s # GAsyncResult *res, 517s # gpointer user_data) 517s # { 517s # const _ExtendedGDBusPropertyInfo *info = user_data; 517s # GError *error; 517s # GVariant *_ret; 517s # error = NULL; 517s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 517s # if (!_ret) 517s # { 517s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 517s # info->parent_struct.name, 517s # error->message, g_quark_to_string (error->domain), error->code); 517s # g_error_free (error); 517s # } 517s # else 517s # { 517s # g_variant_unref (_ret); 517s # } 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_set_property (GObject *object, 517s # guint prop_id, 517s # const GValue *value, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # const _ExtendedGDBusPropertyInfo *info; 517s # GVariant *variant; 517s # g_assert (prop_id != 0 && prop_id - 1 < 1); 517s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 517s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 517s # g_dbus_proxy_call (G_DBUS_PROXY (object), 517s # "org.freedesktop.DBus.Properties.Set", 517s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 517s # g_variant_unref (variant); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 517s # const gchar *sender_name G_GNUC_UNUSED, 517s # const gchar *signal_name, 517s # GVariant *parameters) 517s # { 517s # _ExtendedGDBusSignalInfo *info; 517s # GVariantIter iter; 517s # GVariant *child; 517s # GValue *paramv; 517s # gsize num_params; 517s # gsize n; 517s # guint signal_id; 517s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 517s # if (info == NULL) 517s # return; 517s # num_params = g_variant_n_children (parameters); 517s # paramv = g_new0 (GValue, num_params + 1); 517s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 517s # g_value_set_object (¶mv[0], proxy); 517s # g_variant_iter_init (&iter, parameters); 517s # n = 1; 517s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 517s # { 517s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 517s # if (arg_info->use_gvariant) 517s # { 517s # g_value_init (¶mv[n], G_TYPE_VARIANT); 517s # g_value_set_variant (¶mv[n], child); 517s # n++; 517s # } 517s # else 517s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 517s # g_variant_unref (child); 517s # } 517s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 517s # g_signal_emitv (paramv, signal_id, 0, NULL); 517s # for (n = 0; n < num_params + 1; n++) 517s # g_value_unset (¶mv[n]); 517s # g_free (paramv); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 517s # GVariant *changed_properties, 517s # const gchar *const *invalidated_properties) 517s # { 517s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 517s # guint n; 517s # const gchar *key; 517s # GVariantIter *iter; 517s # _ExtendedGDBusPropertyInfo *info; 517s # g_variant_get (changed_properties, "a{sv}", &iter); 517s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 517s # { 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 517s # g_datalist_remove_data (&proxy->priv->qdata, key); 517s # if (info != NULL) 517s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 517s # } 517s # g_variant_iter_free (iter); 517s # for (n = 0; invalidated_properties[n] != NULL; n++) 517s # { 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 517s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 517s # if (info != NULL) 517s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 517s # } 517s # } 517s # 517s # static const gchar * 517s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 517s # { 517s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 517s # GVariant *variant; 517s # const gchar *value = NULL; 517s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 517s # if (variant != NULL) 517s # { 517s # value = g_variant_get_string (variant, NULL); 517s # g_variant_unref (variant); 517s # } 517s # return value; 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 517s # { 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 517s # #else 517s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 517s # #endif 517s # 517s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 517s # { 517s # GObjectClass *gobject_class; 517s # GDBusProxyClass *proxy_class; 517s # 517s # gobject_class = G_OBJECT_CLASS (klass); 517s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 517s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 517s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 517s # 517s # proxy_class = G_DBUS_PROXY_CLASS (klass); 517s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 517s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 517s # 517s # com_acme_coyote_override_properties (gobject_class, 1); 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 517s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 517s # #endif 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 517s # { 517s # iface->get_mood = com_acme_coyote_proxy_get_mood; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new: 517s # * @connection: A #GDBusConnection. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 517s # * 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 517s # */ 517s # void 517s # com_acme_coyote_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # 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); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_finish: 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 517s # * @error: Return location for error or %NULL 517s # * 517s # * Finishes an operation started with com_acme_coyote_proxy_new(). 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GObject *ret; 517s # GObject *source_object; 517s # source_object = g_async_result_get_source_object (res); 517s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 517s # g_object_unref (source_object); 517s # if (ret != NULL) 517s # return COM_ACME_COYOTE (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_sync: 517s # * @connection: A #GDBusConnection. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL 517s # * 517s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 517s # * 517s # * The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GInitable *ret; 517s # 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); 517s # if (ret != NULL) 517s # return COM_ACME_COYOTE (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_for_bus: 517s # * @bus_type: A #GBusType. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: A bus name (well-known or unique). 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 517s # * 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 517s # */ 517s # void 517s # com_acme_coyote_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # 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); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_for_bus_finish: 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 517s # * @error: Return location for error or %NULL 517s # * 517s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GObject *ret; 517s # GObject *source_object; 517s # source_object = g_async_result_get_source_object (res); 517s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 517s # g_object_unref (source_object); 517s # if (ret != NULL) 517s # return COM_ACME_COYOTE (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_for_bus_sync: 517s # * @bus_type: A #GBusType. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: A bus name (well-known or unique). 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL 517s # * 517s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 517s # * 517s # * The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GInitable *ret; 517s # 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); 517s # if (ret != NULL) 517s # return COM_ACME_COYOTE (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # 517s # /** 517s # * ComAcmeCoyoteSkeleton: 517s # * 517s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 517s # */ 517s # 517s # /** 517s # * ComAcmeCoyoteSkeletonClass: 517s # * @parent_class: The parent class. 517s # * 517s # * Class structure for #ComAcmeCoyoteSkeleton. 517s # */ 517s # 517s # struct _ComAcmeCoyoteSkeletonPrivate 517s # { 517s # GValue *properties; 517s # GList *changed_properties; 517s # GSource *changed_properties_idle_source; 517s # GMainContext *context; 517s # GMutex lock; 517s # }; 517s # 517s # static void 517s # _com_acme_coyote_skeleton_handle_method_call ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name, 517s # const gchar *method_name, 517s # GVariant *parameters, 517s # GDBusMethodInvocation *invocation, 517s # gpointer user_data) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 517s # _ExtendedGDBusMethodInfo *info; 517s # GVariantIter iter; 517s # GVariant *child; 517s # GValue *paramv; 517s # gsize num_params; 517s # guint num_extra; 517s # gsize n; 517s # guint signal_id; 517s # GValue return_value = G_VALUE_INIT; 517s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 517s # g_assert (info != NULL); 517s # num_params = g_variant_n_children (parameters); 517s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 517s # n = 0; 517s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 517s # g_value_set_object (¶mv[n++], skeleton); 517s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 517s # g_value_set_object (¶mv[n++], invocation); 517s # if (info->pass_fdlist) 517s # { 517s # #ifdef G_OS_UNIX 517s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 517s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 517s # #else 517s # g_assert_not_reached (); 517s # #endif 517s # } 517s # g_variant_iter_init (&iter, parameters); 517s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 517s # { 517s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 517s # if (arg_info->use_gvariant) 517s # { 517s # g_value_init (¶mv[n], G_TYPE_VARIANT); 517s # g_value_set_variant (¶mv[n], child); 517s # n++; 517s # } 517s # else 517s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 517s # g_variant_unref (child); 517s # } 517s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 517s # g_value_init (&return_value, G_TYPE_BOOLEAN); 517s # g_signal_emitv (paramv, signal_id, 0, &return_value); 517s # if (!g_value_get_boolean (&return_value)) 517s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 517s # g_value_unset (&return_value); 517s # for (n = 0; n < num_params + num_extra; n++) 517s # g_value_unset (¶mv[n]); 517s # g_free (paramv); 517s # } 517s # 517s # static GVariant * 517s # _com_acme_coyote_skeleton_handle_get_property ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name G_GNUC_UNUSED, 517s # const gchar *property_name, 517s # GError **error, 517s # gpointer user_data) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 517s # GValue value = G_VALUE_INIT; 517s # GParamSpec *pspec; 517s # _ExtendedGDBusPropertyInfo *info; 517s # GVariant *ret; 517s # ret = NULL; 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 517s # g_assert (info != NULL); 517s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 517s # if (pspec == NULL) 517s # { 517s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 517s # } 517s # else 517s # { 517s # g_value_init (&value, pspec->value_type); 517s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 517s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 517s # g_value_unset (&value); 517s # } 517s # return ret; 517s # } 517s # 517s # static gboolean 517s # _com_acme_coyote_skeleton_handle_set_property ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name G_GNUC_UNUSED, 517s # const gchar *property_name, 517s # GVariant *variant, 517s # GError **error, 517s # gpointer user_data) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 517s # GValue value = G_VALUE_INIT; 517s # GParamSpec *pspec; 517s # _ExtendedGDBusPropertyInfo *info; 517s # gboolean ret; 517s # ret = FALSE; 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 517s # g_assert (info != NULL); 517s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 517s # if (pspec == NULL) 517s # { 517s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 517s # } 517s # else 517s # { 517s # if (info->use_gvariant) 517s # g_value_set_variant (&value, variant); 517s # else 517s # g_dbus_gvariant_to_gvalue (variant, &value); 517s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 517s # g_value_unset (&value); 517s # ret = TRUE; 517s # } 517s # return ret; 517s # } 517s # 517s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 517s # { 517s # _com_acme_coyote_skeleton_handle_method_call, 517s # _com_acme_coyote_skeleton_handle_get_property, 517s # _com_acme_coyote_skeleton_handle_set_property, 517s # {NULL} 517s # }; 517s # 517s # static GDBusInterfaceInfo * 517s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 517s # { 517s # return com_acme_coyote_interface_info (); 517s # } 517s # 517s # static GDBusInterfaceVTable * 517s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 517s # { 517s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 517s # } 517s # 517s # static GVariant * 517s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 517s # 517s # GVariantBuilder builder; 517s # guint n; 517s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 517s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 517s # goto out; 517s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 517s # { 517s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 517s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 517s # { 517s # GVariant *value; 517s # 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); 517s # if (value != NULL) 517s # { 517s # g_variant_take_ref (value); 517s # g_variant_builder_add (&builder, "{sv}", info->name, value); 517s # g_variant_unref (value); 517s # } 517s # } 517s # } 517s # out: 517s # return g_variant_builder_end (&builder); 517s # } 517s # 517s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 517s # 517s # static void 517s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 517s # gboolean emit_changed = FALSE; 517s # 517s # g_mutex_lock (&skeleton->priv->lock); 517s # if (skeleton->priv->changed_properties_idle_source != NULL) 517s # { 517s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 517s # skeleton->priv->changed_properties_idle_source = NULL; 517s # emit_changed = TRUE; 517s # } 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # 517s # if (emit_changed) 517s # _com_acme_coyote_emit_changed (skeleton); 517s # } 517s # 517s # static void 517s # _com_acme_coyote_on_signal_surprised ( 517s # ComAcmeCoyote *object) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # 517s # GList *connections, *l; 517s # GVariant *signal_variant; 517s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 517s # 517s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 517s # for (l = connections; l != NULL; l = l->next) 517s # { 517s # GDBusConnection *connection = l->data; 517s # g_dbus_connection_emit_signal (connection, 517s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 517s # signal_variant, NULL); 517s # } 517s # g_variant_unref (signal_variant); 517s # g_list_free_full (connections, g_object_unref); 517s # } 517s # 517s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 517s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 517s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 517s # 517s # #else 517s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 517s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 517s # 517s # #endif 517s # static void 517s # com_acme_coyote_skeleton_finalize (GObject *object) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # guint n; 517s # for (n = 0; n < 1; n++) 517s # g_value_unset (&skeleton->priv->properties[n]); 517s # g_free (skeleton->priv->properties); 517s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 517s # if (skeleton->priv->changed_properties_idle_source != NULL) 517s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 517s # g_main_context_unref (skeleton->priv->context); 517s # g_mutex_clear (&skeleton->priv->lock); 517s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_get_property (GObject *object, 517s # guint prop_id, 517s # GValue *value, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # g_assert (prop_id != 0 && prop_id - 1 < 1); 517s # g_mutex_lock (&skeleton->priv->lock); 517s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # } 517s # 517s # static gboolean 517s # _com_acme_coyote_emit_changed (gpointer user_data) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 517s # GList *l; 517s # GVariantBuilder builder; 517s # GVariantBuilder invalidated_builder; 517s # guint num_changes; 517s # 517s # g_mutex_lock (&skeleton->priv->lock); 517s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 517s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 517s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 517s # { 517s # ChangedProperty *cp = l->data; 517s # GVariant *variant; 517s # const GValue *cur_value; 517s # 517s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 517s # if (!_g_value_equal (cur_value, &cp->orig_value)) 517s # { 517s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 517s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 517s # g_variant_unref (variant); 517s # num_changes++; 517s # } 517s # } 517s # if (num_changes > 0) 517s # { 517s # GList *connections, *ll; 517s # GVariant *signal_variant; 517s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 517s # &builder, &invalidated_builder)); 517s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 517s # for (ll = connections; ll != NULL; ll = ll->next) 517s # { 517s # GDBusConnection *connection = ll->data; 517s # 517s # g_dbus_connection_emit_signal (connection, 517s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 517s # "org.freedesktop.DBus.Properties", 517s # "PropertiesChanged", 517s # signal_variant, 517s # NULL); 517s # } 517s # g_variant_unref (signal_variant); 517s # g_list_free_full (connections, g_object_unref); 517s # } 517s # else 517s # { 517s # g_variant_builder_clear (&builder); 517s # g_variant_builder_clear (&invalidated_builder); 517s # } 517s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 517s # skeleton->priv->changed_properties = NULL; 517s # skeleton->priv->changed_properties_idle_source = NULL; 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # return FALSE; 517s # } 517s # 517s # static void 517s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 517s # { 517s # ChangedProperty *cp; 517s # GList *l; 517s # cp = NULL; 517s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 517s # { 517s # ChangedProperty *i_cp = l->data; 517s # if (i_cp->info == info) 517s # { 517s # cp = i_cp; 517s # break; 517s # } 517s # } 517s # if (cp == NULL) 517s # { 517s # cp = g_new0 (ChangedProperty, 1); 517s # cp->prop_id = prop_id; 517s # cp->info = info; 517s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 517s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 517s # g_value_copy (orig_value, &cp->orig_value); 517s # } 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_notify (GObject *object, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # g_mutex_lock (&skeleton->priv->lock); 517s # if (skeleton->priv->changed_properties != NULL && 517s # skeleton->priv->changed_properties_idle_source == NULL) 517s # { 517s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 517s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 517s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 517s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 517s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 517s # g_source_unref (skeleton->priv->changed_properties_idle_source); 517s # } 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_set_property (GObject *object, 517s # guint prop_id, 517s # const GValue *value, 517s # GParamSpec *pspec) 517s # { 517s # const _ExtendedGDBusPropertyInfo *info; 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # g_assert (prop_id != 0 && prop_id - 1 < 1); 517s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 517s # g_mutex_lock (&skeleton->priv->lock); 517s # g_object_freeze_notify (object); 517s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 517s # { 517s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 517s # info->emits_changed_signal) 517s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 517s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 517s # g_object_notify_by_pspec (object, pspec); 517s # } 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # g_object_thaw_notify (object); 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 517s # { 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 517s # #else 517s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 517s # #endif 517s # 517s # g_mutex_init (&skeleton->priv->lock); 517s # skeleton->priv->context = g_main_context_ref_thread_default (); 517s # skeleton->priv->properties = g_new0 (GValue, 1); 517s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 517s # } 517s # 517s # static const gchar * 517s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # const gchar *value; 517s # g_mutex_lock (&skeleton->priv->lock); 517s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # return value; 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 517s # { 517s # GObjectClass *gobject_class; 517s # GDBusInterfaceSkeletonClass *skeleton_class; 517s # 517s # gobject_class = G_OBJECT_CLASS (klass); 517s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 517s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 517s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 517s # gobject_class->notify = com_acme_coyote_skeleton_notify; 517s # 517s # 517s # com_acme_coyote_override_properties (gobject_class, 1); 517s # 517s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 517s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 517s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 517s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 517s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 517s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 517s # #endif 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 517s # { 517s # iface->surprised = _com_acme_coyote_on_signal_surprised; 517s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_skeleton_new: 517s # * 517s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_skeleton_new (void) 517s # { 517s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 517s # } 517s # 517s # /* ------------------------------------------------------------------------ 517s # * Code for interface org.project.Bar.Frobnicator 517s # * ------------------------------------------------------------------------ 517s # */ 517s # 517s # /** 517s # * SECTION:OrgProjectBarFrobnicator 517s # * @title: OrgProjectBarFrobnicator 517s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 517s # * 517s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 517s # */ 517s # 517s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 517s # 517s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 517s # { 517s # { 517s # -1, 517s # (gchar *) "RandomMethod", 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "handle-random-method", 517s # FALSE 517s # }; 517s # 517s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 517s # { 517s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 517s # NULL 517s # }; 517s # 517s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 517s # { 517s # { 517s # -1, 517s # (gchar *) "org.project.Bar.Frobnicator", 517s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "org-project-bar-frobnicator", 517s # }; 517s # 517s # 517s # /** 517s # * org_project_bar_frobnicator_interface_info: 517s # * 517s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 517s # * 517s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 517s # */ 517s # GDBusInterfaceInfo * 517s # org_project_bar_frobnicator_interface_info (void) 517s # { 517s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_override_properties: 517s # * @klass: The class structure for a #GObject derived class. 517s # * @property_id_begin: The property id to assign to the first overridden property. 517s # * 517s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 517s # * The properties are overridden in the order they are defined. 517s # * 517s # * Returns: The last property id. 517s # */ 517s # guint 517s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 517s # { 517s # return property_id_begin - 1; 517s # } 517s # 517s # 517s # inline static void 517s # org_project_bar_frobnicator_method_marshal_random_method ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # 517s # /** 517s # * OrgProjectBarFrobnicator: 517s # * 517s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 517s # */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorIface: 517s # * @parent_iface: The parent interface. 517s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 517s # * 517s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 517s # */ 517s # 517s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 517s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 517s # 517s # static void 517s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 517s # { 517s # /* GObject signals for incoming D-Bus method calls: */ 517s # /** 517s # * OrgProjectBarFrobnicator::handle-random-method: 517s # * @object: A #OrgProjectBarFrobnicator. 517s # * @invocation: A #GDBusMethodInvocation. 517s # * 517s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # g_signal_new ("handle-random-method", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 517s # g_signal_accumulator_true_handled, 517s # NULL, 517s # org_project_bar_frobnicator_method_marshal_random_method, 517s # G_TYPE_BOOLEAN, 517s # 1, 517s # G_TYPE_DBUS_METHOD_INVOCATION); 517s # 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_call_random_method: 517s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 517s # * 517s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 517s # */ 517s # void 517s # org_project_bar_frobnicator_call_random_method ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 517s # "RandomMethod", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # callback, 517s # user_data); 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_call_random_method_finish: 517s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # org_project_bar_frobnicator_call_random_method_finish ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_call_random_method_sync: 517s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 517s # * 517s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # org_project_bar_frobnicator_call_random_method_sync ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 517s # "RandomMethod", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_complete_random_method: 517s # * @object: A #OrgProjectBarFrobnicator. 517s # * @invocation: (transfer full): A #GDBusMethodInvocation. 517s # * 517s # * 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. 517s # * 517s # * This method will free @invocation, you cannot use it afterwards. 517s # */ 517s # void 517s # org_project_bar_frobnicator_complete_random_method ( 517s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 517s # GDBusMethodInvocation *invocation) 517s # { 517s # g_dbus_method_invocation_return_value (invocation, 517s # g_variant_new ("()")); 517s # } 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorProxy: 517s # * 517s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 517s # */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorProxyClass: 517s # * @parent_class: The parent class. 517s # * 517s # * Class structure for #OrgProjectBarFrobnicatorProxy. 517s # */ 517s # 517s # struct _OrgProjectBarFrobnicatorProxyPrivate 517s # { 517s # GData *qdata; 517s # }; 517s # 517s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 517s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 517s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 517s # 517s # #else 517s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 517s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 517s # 517s # #endif 517s # static void 517s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 517s # { 517s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 517s # g_datalist_clear (&proxy->priv->qdata); 517s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 517s # guint prop_id G_GNUC_UNUSED, 517s # GValue *value G_GNUC_UNUSED, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 517s # guint prop_id G_GNUC_UNUSED, 517s # const GValue *value G_GNUC_UNUSED, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 517s # const gchar *sender_name G_GNUC_UNUSED, 517s # const gchar *signal_name, 517s # GVariant *parameters) 517s # { 517s # _ExtendedGDBusSignalInfo *info; 517s # GVariantIter iter; 517s # GVariant *child; 517s # GValue *paramv; 517s # gsize num_params; 517s # gsize n; 517s # guint signal_id; 517s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 517s # if (info == NULL) 517s # return; 517s # num_params = g_variant_n_children (parameters); 517s # paramv = g_new0 (GValue, num_params + 1); 517s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 517s # g_value_set_object (¶mv[0], proxy); 517s # g_variant_iter_init (&iter, parameters); 517s # n = 1; 517s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 517s # { 517s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 517s # if (arg_info->use_gvariant) 517s # { 517s # g_value_init (¶mv[n], G_TYPE_VARIANT); 517s # g_value_set_variant (¶mv[n], child); 517s # n++; 517s # } 517s # else 517s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 517s # g_variant_unref (child); 517s # } 517s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 517s # g_signal_emitv (paramv, signal_id, 0, NULL); 517s # for (n = 0; n < num_params + 1; n++) 517s # g_value_unset (¶mv[n]); 517s # g_free (paramv); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 517s # GVariant *changed_properties, 517s # const gchar *const *invalidated_properties) 517s # { 517s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 517s # guint n; 517s # const gchar *key; 517s # GVariantIter *iter; 517s # _ExtendedGDBusPropertyInfo *info; 517s # g_variant_get (changed_properties, "a{sv}", &iter); 517s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 517s # { 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 517s # g_datalist_remove_data (&proxy->priv->qdata, key); 517s # if (info != NULL) 517s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 517s # } 517s # g_variant_iter_free (iter); 517s # for (n = 0; invalidated_properties[n] != NULL; n++) 517s # { 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 517s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 517s # if (info != NULL) 517s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 517s # } 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 517s # { 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 517s # #else 517s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 517s # #endif 517s # 517s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 517s # { 517s # GObjectClass *gobject_class; 517s # GDBusProxyClass *proxy_class; 517s # 517s # gobject_class = G_OBJECT_CLASS (klass); 517s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 517s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 517s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 517s # 517s # proxy_class = G_DBUS_PROXY_CLASS (klass); 517s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 517s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 517s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 517s # #endif 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new: 517s # * @connection: A #GDBusConnection. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 517s # * 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 517s # * 517s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 517s # */ 517s # void 517s # org_project_bar_frobnicator_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # 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); 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_finish: 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 517s # * @error: Return location for error or %NULL 517s # * 517s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GObject *ret; 517s # GObject *source_object; 517s # source_object = g_async_result_get_source_object (res); 517s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 517s # g_object_unref (source_object); 517s # if (ret != NULL) 517s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_sync: 517s # * @connection: A #GDBusConnection. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL 517s # * 517s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 517s # * 517s # * The calling thread is blocked until a reply is received. 517s # * 517s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GInitable *ret; 517s # 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); 517s # if (ret != NULL) 517s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_for_bus: 517s # * @bus_type: A #GBusType. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: A bus name (well-known or unique). 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 517s # * 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 517s # * 517s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 517s # */ 517s # void 517s # org_project_bar_frobnicator_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # 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); 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 517s # * @error: Return location for error or %NULL 517s # * 517s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GObject *ret; 517s # GObject *source_object; 517s # source_object = g_async_result_get_source_object (res); 517s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 517s # g_object_unref (source_object); 517s # if (ret != NULL) 517s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 517s # * @bus_type: A #GBusType. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: A bus name (well-known or unique). 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL 517s # * 517s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 517s # * 517s # * The calling thread is blocked until a reply is received. 517s # * 517s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GInitable *ret; 517s # 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); 517s # if (ret != NULL) 517s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorSkeleton: 517s # * 517s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 517s # */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorSkeletonClass: 517s # * @parent_class: The parent class. 517s # * 517s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 517s # */ 517s # 517s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 517s # { 517s # GValue *properties; 517s # GList *changed_properties; 517s # GSource *changed_properties_idle_source; 517s # GMainContext *context; 517s # GMutex lock; 517s # }; 517s # 517s # static void 517s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name, 517s # const gchar *method_name, 517s # GVariant *parameters, 517s # GDBusMethodInvocation *invocation, 517s # gpointer user_data) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 517s # _ExtendedGDBusMethodInfo *info; 517s # GVariantIter iter; 517s # GVariant *child; 517s # GValue *paramv; 517s # gsize num_params; 517s # guint num_extra; 517s # gsize n; 517s # guint signal_id; 517s # GValue return_value = G_VALUE_INIT; 517s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 517s # g_assert (info != NULL); 517s # num_params = g_variant_n_children (parameters); 517s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 517s # n = 0; 517s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 517s # g_value_set_object (¶mv[n++], skeleton); 517s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 517s # g_value_set_object (¶mv[n++], invocation); 517s # if (info->pass_fdlist) 517s # { 517s # #ifdef G_OS_UNIX 517s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 517s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 517s # #else 517s # g_assert_not_reached (); 517s # #endif 517s # } 517s # g_variant_iter_init (&iter, parameters); 517s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 517s # { 517s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 517s # if (arg_info->use_gvariant) 517s # { 517s # g_value_init (¶mv[n], G_TYPE_VARIANT); 517s # g_value_set_variant (¶mv[n], child); 517s # n++; 517s # } 517s # else 517s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 517s # g_variant_unref (child); 517s # } 517s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 517s # g_value_init (&return_value, G_TYPE_BOOLEAN); 517s # g_signal_emitv (paramv, signal_id, 0, &return_value); 517s # if (!g_value_get_boolean (&return_value)) 517s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 517s # g_value_unset (&return_value); 517s # for (n = 0; n < num_params + num_extra; n++) 517s # g_value_unset (¶mv[n]); 517s # g_free (paramv); 517s # } 517s # 517s # static GVariant * 517s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name G_GNUC_UNUSED, 517s # const gchar *property_name, 517s # GError **error, 517s # gpointer user_data) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 517s # GValue value = G_VALUE_INIT; 517s # GParamSpec *pspec; 517s # _ExtendedGDBusPropertyInfo *info; 517s # GVariant *ret; 517s # ret = NULL; 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 517s # g_assert (info != NULL); 517s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 517s # if (pspec == NULL) 517s # { 517s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 517s # } 517s # else 517s # { 517s # g_value_init (&value, pspec->value_type); 517s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 517s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 517s # g_value_unset (&value); 517s # } 517s # return ret; 517s # } 517s # 517s # static gboolean 517s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name G_GNUC_UNUSED, 517s # const gchar *property_name, 517s # GVariant *variant, 517s # GError **error, 517s # gpointer user_data) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 517s # GValue value = G_VALUE_INIT; 517s # GParamSpec *pspec; 517s # _ExtendedGDBusPropertyInfo *info; 517s # gboolean ret; 517s # ret = FALSE; 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 517s # g_assert (info != NULL); 517s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 517s # if (pspec == NULL) 517s # { 517s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 517s # } 517s # else 517s # { 517s # if (info->use_gvariant) 517s # g_value_set_variant (&value, variant); 517s # else 517s # g_dbus_gvariant_to_gvalue (variant, &value); 517s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 517s # g_value_unset (&value); 517s # ret = TRUE; 517s # } 517s # return ret; 517s # } 517s # 517s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 517s # { 517s # _org_project_bar_frobnicator_skeleton_handle_method_call, 517s # _org_project_bar_frobnicator_skeleton_handle_get_property, 517s # _org_project_bar_frobnicator_skeleton_handle_set_property, 517s # {NULL} 517s # }; 517s # 517s # static GDBusInterfaceInfo * 517s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 517s # { 517s # return org_project_bar_frobnicator_interface_info (); 517s # } 517s # 517s # static GDBusInterfaceVTable * 517s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 517s # { 517s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 517s # } 517s # 517s # static GVariant * 517s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 517s # 517s # GVariantBuilder builder; 517s # guint n; 517s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 517s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 517s # goto out; 517s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 517s # { 517s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 517s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 517s # { 517s # GVariant *value; 517s # 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); 517s # if (value != NULL) 517s # { 517s # g_variant_take_ref (value); 517s # g_variant_builder_add (&builder, "{sv}", info->name, value); 517s # g_variant_unref (value); 517s # } 517s # } 517s # } 517s # out: 517s # return g_variant_builder_end (&builder); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 517s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 517s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 517s # 517s # #else 517s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 517s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 517s # 517s # #endif 517s # static void 517s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 517s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 517s # if (skeleton->priv->changed_properties_idle_source != NULL) 517s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 517s # g_main_context_unref (skeleton->priv->context); 517s # g_mutex_clear (&skeleton->priv->lock); 517s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 517s # { 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 517s # #else 517s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 517s # #endif 517s # 517s # g_mutex_init (&skeleton->priv->lock); 517s # skeleton->priv->context = g_main_context_ref_thread_default (); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 517s # { 517s # GObjectClass *gobject_class; 517s # GDBusInterfaceSkeletonClass *skeleton_class; 517s # 517s # gobject_class = G_OBJECT_CLASS (klass); 517s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 517s # 517s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 517s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 517s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 517s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 517s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 517s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 517s # #endif 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_skeleton_new: 517s # * 517s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_skeleton_new (void) 517s # { 517s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 517s # } 517s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp87ti4k02/tmpnhd3u4ly2.xml', '/tmp/tmp87ti4k02/tmp0t_d9zjj1.xml', '--output', '-', '--body'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: /* 517s # * This file is generated by gdbus-codegen, do not modify it. 517s # * 517s # * The license of this code is the same as for the D-Bus interface description 517s # * it was derived from. Note that it links to GLib, so must comply with the 517s # * LGPL linking clauses. 517s # */ 517s # 517s # #ifdef HAVE_CONFIG_H 517s # # include "config.h" 517s # #endif 517s # 517s # #include 517s # #ifdef G_OS_UNIX 517s # # include 517s # #endif 517s # 517s # #ifdef G_ENABLE_DEBUG 517s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 517s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 517s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 517s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 517s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 517s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 517s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 517s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 517s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 517s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 517s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 517s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 517s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 517s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 517s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 517s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 517s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 517s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 517s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 517s # #else /* !G_ENABLE_DEBUG */ 517s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 517s # * Do not access GValues directly in your code. Instead, use the 517s # * g_value_get_*() functions 517s # */ 517s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 517s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 517s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 517s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 517s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 517s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 517s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 517s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 517s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 517s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 517s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 517s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 517s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 517s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 517s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 517s # #endif /* !G_ENABLE_DEBUG */ 517s # 517s # typedef struct 517s # { 517s # GDBusArgInfo parent_struct; 517s # gboolean use_gvariant; 517s # } _ExtendedGDBusArgInfo; 517s # 517s # typedef struct 517s # { 517s # GDBusMethodInfo parent_struct; 517s # const gchar *signal_name; 517s # gboolean pass_fdlist; 517s # } _ExtendedGDBusMethodInfo; 517s # 517s # typedef struct 517s # { 517s # GDBusSignalInfo parent_struct; 517s # const gchar *signal_name; 517s # } _ExtendedGDBusSignalInfo; 517s # 517s # typedef struct 517s # { 517s # GDBusPropertyInfo parent_struct; 517s # const gchar *hyphen_name; 517s # guint use_gvariant : 1; 517s # guint emits_changed_signal : 1; 517s # } _ExtendedGDBusPropertyInfo; 517s # 517s # typedef struct 517s # { 517s # GDBusInterfaceInfo parent_struct; 517s # const gchar *hyphen_name; 517s # } _ExtendedGDBusInterfaceInfo; 517s # 517s # typedef struct 517s # { 517s # const _ExtendedGDBusPropertyInfo *info; 517s # guint prop_id; 517s # GValue orig_value; /* the value before the change */ 517s # } ChangedProperty; 517s # 517s # static void 517s # _changed_property_free (ChangedProperty *data) 517s # { 517s # g_value_unset (&data->orig_value); 517s # g_free (data); 517s # } 517s # 517s # static gboolean 517s # _g_strv_equal0 (gchar **a, gchar **b) 517s # { 517s # gboolean ret = FALSE; 517s # guint n; 517s # if (a == NULL && b == NULL) 517s # { 517s # ret = TRUE; 517s # goto out; 517s # } 517s # if (a == NULL || b == NULL) 517s # goto out; 517s # if (g_strv_length (a) != g_strv_length (b)) 517s # goto out; 517s # for (n = 0; a[n] != NULL; n++) 517s # if (g_strcmp0 (a[n], b[n]) != 0) 517s # goto out; 517s # ret = TRUE; 517s # out: 517s # return ret; 517s # } 517s # 517s # static gboolean 517s # _g_variant_equal0 (GVariant *a, GVariant *b) 517s # { 517s # gboolean ret = FALSE; 517s # if (a == NULL && b == NULL) 517s # { 517s # ret = TRUE; 517s # goto out; 517s # } 517s # if (a == NULL || b == NULL) 517s # goto out; 517s # ret = g_variant_equal (a, b); 517s # out: 517s # return ret; 517s # } 517s # 517s # G_GNUC_UNUSED static gboolean 517s # _g_value_equal (const GValue *a, const GValue *b) 517s # { 517s # gboolean ret = FALSE; 517s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 517s # switch (G_VALUE_TYPE (a)) 517s # { 517s # case G_TYPE_BOOLEAN: 517s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 517s # break; 517s # case G_TYPE_UCHAR: 517s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 517s # break; 517s # case G_TYPE_INT: 517s # ret = (g_value_get_int (a) == g_value_get_int (b)); 517s # break; 517s # case G_TYPE_UINT: 517s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 517s # break; 517s # case G_TYPE_INT64: 517s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 517s # break; 517s # case G_TYPE_UINT64: 517s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 517s # break; 517s # case G_TYPE_DOUBLE: 517s # { 517s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 517s # gdouble da = g_value_get_double (a); 517s # gdouble db = g_value_get_double (b); 517s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 517s # } 517s # break; 517s # case G_TYPE_STRING: 517s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 517s # break; 517s # case G_TYPE_VARIANT: 517s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 517s # break; 517s # default: 517s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 517s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 517s # else 517s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 517s # break; 517s # } 517s # return ret; 517s # } 517s # 517s # static void 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint G_GNUC_UNUSED, 517s # void *marshal_data) 517s # { 517s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 517s # (void *data1, 517s # GDBusMethodInvocation *arg_method_invocation, 517s # void *data2); 517s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 517s # GCClosure *cc = (GCClosure*) closure; 517s # void *data1, *data2; 517s # gboolean v_return; 517s # 517s # g_return_if_fail (return_value != NULL); 517s # g_return_if_fail (n_param_values == 2); 517s # 517s # if (G_CCLOSURE_SWAP_DATA (closure)) 517s # { 517s # data1 = closure->data; 517s # data2 = g_value_peek_pointer (param_values + 0); 517s # } 517s # else 517s # { 517s # data1 = g_value_peek_pointer (param_values + 0); 517s # data2 = closure->data; 517s # } 517s # 517s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 517s # (marshal_data ? marshal_data : cc->callback); 517s # 517s # v_return = 517s # callback (data1, 517s # g_marshal_value_peek_object (param_values + 1), 517s # data2); 517s # 517s # g_value_set_boolean (return_value, v_return); 517s # } 517s # 517s # /* ------------------------------------------------------------------------ 517s # * Code for interface com.acme.Coyote 517s # * ------------------------------------------------------------------------ 517s # */ 517s # 517s # /** 517s # * SECTION:ComAcmeCoyote 517s # * @title: ComAcmeCoyote 517s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 517s # * 517s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 517s # */ 517s # 517s # enum 517s # { 517s # _COM_ACME_COYOTE_SURPRISED, 517s # }; 517s # 517s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 517s # 517s # /* ---- Introspection data for com.acme.Coyote ---- */ 517s # 517s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Run", 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "handle-run", 517s # FALSE 517s # }; 517s # 517s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Sleep", 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "handle-sleep", 517s # FALSE 517s # }; 517s # 517s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Attack", 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "handle-attack", 517s # FALSE 517s # }; 517s # 517s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 517s # { 517s # &_com_acme_coyote_method_info_run.parent_struct, 517s # &_com_acme_coyote_method_info_sleep.parent_struct, 517s # &_com_acme_coyote_method_info_attack.parent_struct, 517s # NULL 517s # }; 517s # 517s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Surprised", 517s # NULL, 517s # NULL 517s # }, 517s # "surprised" 517s # }; 517s # 517s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 517s # { 517s # &_com_acme_coyote_signal_info_surprised.parent_struct, 517s # NULL 517s # }; 517s # 517s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 517s # { 517s # { 517s # -1, 517s # (gchar *) "Mood", 517s # (gchar *) "s", 517s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 517s # NULL 517s # }, 517s # "mood", 517s # FALSE, 517s # TRUE 517s # }; 517s # 517s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 517s # { 517s # &_com_acme_coyote_property_info_mood.parent_struct, 517s # NULL 517s # }; 517s # 517s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 517s # { 517s # { 517s # -1, 517s # (gchar *) "com.acme.Coyote", 517s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 517s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 517s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 517s # NULL 517s # }, 517s # "com-acme-coyote", 517s # }; 517s # 517s # 517s # /** 517s # * com_acme_coyote_interface_info: 517s # * 517s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 517s # * 517s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 517s # */ 517s # GDBusInterfaceInfo * 517s # com_acme_coyote_interface_info (void) 517s # { 517s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_override_properties: 517s # * @klass: The class structure for a #GObject derived class. 517s # * @property_id_begin: The property id to assign to the first overridden property. 517s # * 517s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 517s # * The properties are overridden in the order they are defined. 517s # * 517s # * Returns: The last property id. 517s # */ 517s # guint 517s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 517s # { 517s # g_object_class_override_property (klass, property_id_begin++, "mood"); 517s # return property_id_begin - 1; 517s # } 517s # 517s # 517s # inline static void 517s # com_acme_coyote_signal_marshal_surprised ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # g_cclosure_marshal_VOID__VOID (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # inline static void 517s # com_acme_coyote_method_marshal_run ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # inline static void 517s # com_acme_coyote_method_marshal_sleep ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # inline static void 517s # com_acme_coyote_method_marshal_attack ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # 517s # /** 517s # * ComAcmeCoyote: 517s # * 517s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 517s # */ 517s # 517s # /** 517s # * ComAcmeCoyoteIface: 517s # * @parent_iface: The parent interface. 517s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 517s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 517s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 517s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 517s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 517s # * 517s # * Virtual table for the D-Bus interface com.acme.Coyote. 517s # */ 517s # 517s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 517s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 517s # 517s # static void 517s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 517s # { 517s # /* GObject signals for incoming D-Bus method calls: */ 517s # /** 517s # * ComAcmeCoyote::handle-run: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: A #GDBusMethodInvocation. 517s # * 517s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # g_signal_new ("handle-run", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 517s # g_signal_accumulator_true_handled, 517s # NULL, 517s # com_acme_coyote_method_marshal_run, 517s # G_TYPE_BOOLEAN, 517s # 1, 517s # G_TYPE_DBUS_METHOD_INVOCATION); 517s # 517s # /** 517s # * ComAcmeCoyote::handle-sleep: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: A #GDBusMethodInvocation. 517s # * 517s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # g_signal_new ("handle-sleep", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 517s # g_signal_accumulator_true_handled, 517s # NULL, 517s # com_acme_coyote_method_marshal_sleep, 517s # G_TYPE_BOOLEAN, 517s # 1, 517s # G_TYPE_DBUS_METHOD_INVOCATION); 517s # 517s # /** 517s # * ComAcmeCoyote::handle-attack: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: A #GDBusMethodInvocation. 517s # * 517s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # g_signal_new ("handle-attack", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 517s # g_signal_accumulator_true_handled, 517s # NULL, 517s # com_acme_coyote_method_marshal_attack, 517s # G_TYPE_BOOLEAN, 517s # 1, 517s # G_TYPE_DBUS_METHOD_INVOCATION); 517s # 517s # /* GObject signals for received D-Bus signals: */ 517s # /** 517s # * ComAcmeCoyote::surprised: 517s # * @object: A #ComAcmeCoyote. 517s # * 517s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 517s # * 517s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 517s # */ 517s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 517s # g_signal_new ("surprised", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 517s # NULL, 517s # NULL, 517s # com_acme_coyote_signal_marshal_surprised, 517s # G_TYPE_NONE, 517s # 0); 517s # 517s # /* GObject properties for D-Bus properties: */ 517s # /** 517s # * ComAcmeCoyote:mood: 517s # * 517s # * Represents the D-Bus property "Mood". 517s # * 517s # * 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. 517s # */ 517s # g_object_interface_install_property (iface, 517s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_get_mood: (skip) 517s # * @object: A #ComAcmeCoyote. 517s # * 517s # * Gets the value of the "Mood" D-Bus property. 517s # * 517s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # const gchar * 517s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 517s # { 517s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 517s # 517s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_dup_mood: (skip) 517s # * @object: A #ComAcmeCoyote. 517s # * 517s # * Gets a copy of the "Mood" D-Bus property. 517s # * 517s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 517s # * 517s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 517s # */ 517s # gchar * 517s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 517s # { 517s # gchar *value; 517s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 517s # return value; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_set_mood: (skip) 517s # * @object: A #ComAcmeCoyote. 517s # * @value: The value to set. 517s # * 517s # * Sets the "Mood" D-Bus property to @value. 517s # * 517s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 517s # */ 517s # void 517s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 517s # { 517s # g_object_set (G_OBJECT (object), "mood", value, NULL); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_emit_surprised: 517s # * @object: A #ComAcmeCoyote. 517s # * 517s # * Emits the "Surprised" D-Bus signal. 517s # */ 517s # void 517s # com_acme_coyote_emit_surprised ( 517s # ComAcmeCoyote *object) 517s # { 517s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_run: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously invokes the Run() D-Bus method on @proxy. 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 517s # */ 517s # void 517s # com_acme_coyote_call_run ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 517s # "Run", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # callback, 517s # user_data); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_run_finish: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Finishes an operation started with com_acme_coyote_call_run(). 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_run_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_run_sync: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_run_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 517s # "Run", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_sleep: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 517s # */ 517s # void 517s # com_acme_coyote_call_sleep ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 517s # "Sleep", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # callback, 517s # user_data); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_sleep_finish: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Finishes an operation started with com_acme_coyote_call_sleep(). 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_sleep_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_sleep_sync: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_sleep_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 517s # "Sleep", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_attack: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 517s # */ 517s # void 517s # com_acme_coyote_call_attack ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 517s # "Attack", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # callback, 517s # user_data); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_attack_finish: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Finishes an operation started with com_acme_coyote_call_attack(). 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_attack_finish ( 517s # ComAcmeCoyote *proxy, 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_call_attack_sync: 517s # * @proxy: A #ComAcmeCoyoteProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # com_acme_coyote_call_attack_sync ( 517s # ComAcmeCoyote *proxy, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 517s # "Attack", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_complete_run: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: (transfer full): A #GDBusMethodInvocation. 517s # * 517s # * 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. 517s # * 517s # * This method will free @invocation, you cannot use it afterwards. 517s # */ 517s # void 517s # com_acme_coyote_complete_run ( 517s # ComAcmeCoyote *object G_GNUC_UNUSED, 517s # GDBusMethodInvocation *invocation) 517s # { 517s # g_dbus_method_invocation_return_value (invocation, 517s # g_variant_new ("()")); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_complete_sleep: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: (transfer full): A #GDBusMethodInvocation. 517s # * 517s # * 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. 517s # * 517s # * This method will free @invocation, you cannot use it afterwards. 517s # */ 517s # void 517s # com_acme_coyote_complete_sleep ( 517s # ComAcmeCoyote *object G_GNUC_UNUSED, 517s # GDBusMethodInvocation *invocation) 517s # { 517s # g_dbus_method_invocation_return_value (invocation, 517s # g_variant_new ("()")); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_complete_attack: 517s # * @object: A #ComAcmeCoyote. 517s # * @invocation: (transfer full): A #GDBusMethodInvocation. 517s # * 517s # * 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. 517s # * 517s # * This method will free @invocation, you cannot use it afterwards. 517s # */ 517s # void 517s # com_acme_coyote_complete_attack ( 517s # ComAcmeCoyote *object G_GNUC_UNUSED, 517s # GDBusMethodInvocation *invocation) 517s # { 517s # g_dbus_method_invocation_return_value (invocation, 517s # g_variant_new ("()")); 517s # } 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # 517s # /** 517s # * ComAcmeCoyoteProxy: 517s # * 517s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 517s # */ 517s # 517s # /** 517s # * ComAcmeCoyoteProxyClass: 517s # * @parent_class: The parent class. 517s # * 517s # * Class structure for #ComAcmeCoyoteProxy. 517s # */ 517s # 517s # struct _ComAcmeCoyoteProxyPrivate 517s # { 517s # GData *qdata; 517s # }; 517s # 517s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 517s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 517s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 517s # 517s # #else 517s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 517s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 517s # 517s # #endif 517s # static void 517s # com_acme_coyote_proxy_finalize (GObject *object) 517s # { 517s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 517s # g_datalist_clear (&proxy->priv->qdata); 517s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_get_property (GObject *object, 517s # guint prop_id, 517s # GValue *value, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # const _ExtendedGDBusPropertyInfo *info; 517s # GVariant *variant; 517s # g_assert (prop_id != 0 && prop_id - 1 < 1); 517s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 517s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 517s # if (info->use_gvariant) 517s # { 517s # g_value_set_variant (value, variant); 517s # } 517s # else 517s # { 517s # if (variant != NULL) 517s # g_dbus_gvariant_to_gvalue (variant, value); 517s # } 517s # if (variant != NULL) 517s # g_variant_unref (variant); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 517s # GAsyncResult *res, 517s # gpointer user_data) 517s # { 517s # const _ExtendedGDBusPropertyInfo *info = user_data; 517s # GError *error; 517s # GVariant *_ret; 517s # error = NULL; 517s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 517s # if (!_ret) 517s # { 517s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 517s # info->parent_struct.name, 517s # error->message, g_quark_to_string (error->domain), error->code); 517s # g_error_free (error); 517s # } 517s # else 517s # { 517s # g_variant_unref (_ret); 517s # } 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_set_property (GObject *object, 517s # guint prop_id, 517s # const GValue *value, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # const _ExtendedGDBusPropertyInfo *info; 517s # GVariant *variant; 517s # g_assert (prop_id != 0 && prop_id - 1 < 1); 517s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 517s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 517s # g_dbus_proxy_call (G_DBUS_PROXY (object), 517s # "org.freedesktop.DBus.Properties.Set", 517s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 517s # g_variant_unref (variant); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 517s # const gchar *sender_name G_GNUC_UNUSED, 517s # const gchar *signal_name, 517s # GVariant *parameters) 517s # { 517s # _ExtendedGDBusSignalInfo *info; 517s # GVariantIter iter; 517s # GVariant *child; 517s # GValue *paramv; 517s # gsize num_params; 517s # gsize n; 517s # guint signal_id; 517s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 517s # if (info == NULL) 517s # return; 517s # num_params = g_variant_n_children (parameters); 517s # paramv = g_new0 (GValue, num_params + 1); 517s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 517s # g_value_set_object (¶mv[0], proxy); 517s # g_variant_iter_init (&iter, parameters); 517s # n = 1; 517s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 517s # { 517s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 517s # if (arg_info->use_gvariant) 517s # { 517s # g_value_init (¶mv[n], G_TYPE_VARIANT); 517s # g_value_set_variant (¶mv[n], child); 517s # n++; 517s # } 517s # else 517s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 517s # g_variant_unref (child); 517s # } 517s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 517s # g_signal_emitv (paramv, signal_id, 0, NULL); 517s # for (n = 0; n < num_params + 1; n++) 517s # g_value_unset (¶mv[n]); 517s # g_free (paramv); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 517s # GVariant *changed_properties, 517s # const gchar *const *invalidated_properties) 517s # { 517s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 517s # guint n; 517s # const gchar *key; 517s # GVariantIter *iter; 517s # _ExtendedGDBusPropertyInfo *info; 517s # g_variant_get (changed_properties, "a{sv}", &iter); 517s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 517s # { 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 517s # g_datalist_remove_data (&proxy->priv->qdata, key); 517s # if (info != NULL) 517s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 517s # } 517s # g_variant_iter_free (iter); 517s # for (n = 0; invalidated_properties[n] != NULL; n++) 517s # { 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 517s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 517s # if (info != NULL) 517s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 517s # } 517s # } 517s # 517s # static const gchar * 517s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 517s # { 517s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 517s # GVariant *variant; 517s # const gchar *value = NULL; 517s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 517s # if (variant != NULL) 517s # { 517s # value = g_variant_get_string (variant, NULL); 517s # g_variant_unref (variant); 517s # } 517s # return value; 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 517s # { 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 517s # #else 517s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 517s # #endif 517s # 517s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 517s # { 517s # GObjectClass *gobject_class; 517s # GDBusProxyClass *proxy_class; 517s # 517s # gobject_class = G_OBJECT_CLASS (klass); 517s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 517s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 517s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 517s # 517s # proxy_class = G_DBUS_PROXY_CLASS (klass); 517s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 517s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 517s # 517s # com_acme_coyote_override_properties (gobject_class, 1); 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 517s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 517s # #endif 517s # } 517s # 517s # static void 517s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 517s # { 517s # iface->get_mood = com_acme_coyote_proxy_get_mood; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new: 517s # * @connection: A #GDBusConnection. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 517s # * 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 517s # */ 517s # void 517s # com_acme_coyote_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # 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); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_finish: 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 517s # * @error: Return location for error or %NULL 517s # * 517s # * Finishes an operation started with com_acme_coyote_proxy_new(). 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GObject *ret; 517s # GObject *source_object; 517s # source_object = g_async_result_get_source_object (res); 517s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 517s # g_object_unref (source_object); 517s # if (ret != NULL) 517s # return COM_ACME_COYOTE (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_sync: 517s # * @connection: A #GDBusConnection. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL 517s # * 517s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 517s # * 517s # * The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GInitable *ret; 517s # 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); 517s # if (ret != NULL) 517s # return COM_ACME_COYOTE (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_for_bus: 517s # * @bus_type: A #GBusType. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: A bus name (well-known or unique). 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 517s # * 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 517s # * 517s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 517s # */ 517s # void 517s # com_acme_coyote_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # 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); 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_for_bus_finish: 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 517s # * @error: Return location for error or %NULL 517s # * 517s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GObject *ret; 517s # GObject *source_object; 517s # source_object = g_async_result_get_source_object (res); 517s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 517s # g_object_unref (source_object); 517s # if (ret != NULL) 517s # return COM_ACME_COYOTE (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_proxy_new_for_bus_sync: 517s # * @bus_type: A #GBusType. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: A bus name (well-known or unique). 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL 517s # * 517s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 517s # * 517s # * The calling thread is blocked until a reply is received. 517s # * 517s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GInitable *ret; 517s # 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); 517s # if (ret != NULL) 517s # return COM_ACME_COYOTE (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # 517s # /** 517s # * ComAcmeCoyoteSkeleton: 517s # * 517s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 517s # */ 517s # 517s # /** 517s # * ComAcmeCoyoteSkeletonClass: 517s # * @parent_class: The parent class. 517s # * 517s # * Class structure for #ComAcmeCoyoteSkeleton. 517s # */ 517s # 517s # struct _ComAcmeCoyoteSkeletonPrivate 517s # { 517s # GValue *properties; 517s # GList *changed_properties; 517s # GSource *changed_properties_idle_source; 517s # GMainContext *context; 517s # GMutex lock; 517s # }; 517s # 517s # static void 517s # _com_acme_coyote_skeleton_handle_method_call ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name, 517s # const gchar *method_name, 517s # GVariant *parameters, 517s # GDBusMethodInvocation *invocation, 517s # gpointer user_data) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 517s # _ExtendedGDBusMethodInfo *info; 517s # GVariantIter iter; 517s # GVariant *child; 517s # GValue *paramv; 517s # gsize num_params; 517s # guint num_extra; 517s # gsize n; 517s # guint signal_id; 517s # GValue return_value = G_VALUE_INIT; 517s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 517s # g_assert (info != NULL); 517s # num_params = g_variant_n_children (parameters); 517s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 517s # n = 0; 517s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 517s # g_value_set_object (¶mv[n++], skeleton); 517s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 517s # g_value_set_object (¶mv[n++], invocation); 517s # if (info->pass_fdlist) 517s # { 517s # #ifdef G_OS_UNIX 517s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 517s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 517s # #else 517s # g_assert_not_reached (); 517s # #endif 517s # } 517s # g_variant_iter_init (&iter, parameters); 517s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 517s # { 517s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 517s # if (arg_info->use_gvariant) 517s # { 517s # g_value_init (¶mv[n], G_TYPE_VARIANT); 517s # g_value_set_variant (¶mv[n], child); 517s # n++; 517s # } 517s # else 517s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 517s # g_variant_unref (child); 517s # } 517s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 517s # g_value_init (&return_value, G_TYPE_BOOLEAN); 517s # g_signal_emitv (paramv, signal_id, 0, &return_value); 517s # if (!g_value_get_boolean (&return_value)) 517s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 517s # g_value_unset (&return_value); 517s # for (n = 0; n < num_params + num_extra; n++) 517s # g_value_unset (¶mv[n]); 517s # g_free (paramv); 517s # } 517s # 517s # static GVariant * 517s # _com_acme_coyote_skeleton_handle_get_property ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name G_GNUC_UNUSED, 517s # const gchar *property_name, 517s # GError **error, 517s # gpointer user_data) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 517s # GValue value = G_VALUE_INIT; 517s # GParamSpec *pspec; 517s # _ExtendedGDBusPropertyInfo *info; 517s # GVariant *ret; 517s # ret = NULL; 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 517s # g_assert (info != NULL); 517s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 517s # if (pspec == NULL) 517s # { 517s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 517s # } 517s # else 517s # { 517s # g_value_init (&value, pspec->value_type); 517s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 517s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 517s # g_value_unset (&value); 517s # } 517s # return ret; 517s # } 517s # 517s # static gboolean 517s # _com_acme_coyote_skeleton_handle_set_property ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name G_GNUC_UNUSED, 517s # const gchar *property_name, 517s # GVariant *variant, 517s # GError **error, 517s # gpointer user_data) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 517s # GValue value = G_VALUE_INIT; 517s # GParamSpec *pspec; 517s # _ExtendedGDBusPropertyInfo *info; 517s # gboolean ret; 517s # ret = FALSE; 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 517s # g_assert (info != NULL); 517s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 517s # if (pspec == NULL) 517s # { 517s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 517s # } 517s # else 517s # { 517s # if (info->use_gvariant) 517s # g_value_set_variant (&value, variant); 517s # else 517s # g_dbus_gvariant_to_gvalue (variant, &value); 517s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 517s # g_value_unset (&value); 517s # ret = TRUE; 517s # } 517s # return ret; 517s # } 517s # 517s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 517s # { 517s # _com_acme_coyote_skeleton_handle_method_call, 517s # _com_acme_coyote_skeleton_handle_get_property, 517s # _com_acme_coyote_skeleton_handle_set_property, 517s # {NULL} 517s # }; 517s # 517s # static GDBusInterfaceInfo * 517s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 517s # { 517s # return com_acme_coyote_interface_info (); 517s # } 517s # 517s # static GDBusInterfaceVTable * 517s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 517s # { 517s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 517s # } 517s # 517s # static GVariant * 517s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 517s # 517s # GVariantBuilder builder; 517s # guint n; 517s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 517s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 517s # goto out; 517s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 517s # { 517s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 517s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 517s # { 517s # GVariant *value; 517s # 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); 517s # if (value != NULL) 517s # { 517s # g_variant_take_ref (value); 517s # g_variant_builder_add (&builder, "{sv}", info->name, value); 517s # g_variant_unref (value); 517s # } 517s # } 517s # } 517s # out: 517s # return g_variant_builder_end (&builder); 517s # } 517s # 517s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 517s # 517s # static void 517s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 517s # gboolean emit_changed = FALSE; 517s # 517s # g_mutex_lock (&skeleton->priv->lock); 517s # if (skeleton->priv->changed_properties_idle_source != NULL) 517s # { 517s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 517s # skeleton->priv->changed_properties_idle_source = NULL; 517s # emit_changed = TRUE; 517s # } 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # 517s # if (emit_changed) 517s # _com_acme_coyote_emit_changed (skeleton); 517s # } 517s # 517s # static void 517s # _com_acme_coyote_on_signal_surprised ( 517s # ComAcmeCoyote *object) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # 517s # GList *connections, *l; 517s # GVariant *signal_variant; 517s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 517s # 517s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 517s # for (l = connections; l != NULL; l = l->next) 517s # { 517s # GDBusConnection *connection = l->data; 517s # g_dbus_connection_emit_signal (connection, 517s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 517s # signal_variant, NULL); 517s # } 517s # g_variant_unref (signal_variant); 517s # g_list_free_full (connections, g_object_unref); 517s # } 517s # 517s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 517s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 517s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 517s # 517s # #else 517s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 517s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 517s # 517s # #endif 517s # static void 517s # com_acme_coyote_skeleton_finalize (GObject *object) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # guint n; 517s # for (n = 0; n < 1; n++) 517s # g_value_unset (&skeleton->priv->properties[n]); 517s # g_free (skeleton->priv->properties); 517s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 517s # if (skeleton->priv->changed_properties_idle_source != NULL) 517s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 517s # g_main_context_unref (skeleton->priv->context); 517s # g_mutex_clear (&skeleton->priv->lock); 517s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_get_property (GObject *object, 517s # guint prop_id, 517s # GValue *value, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # g_assert (prop_id != 0 && prop_id - 1 < 1); 517s # g_mutex_lock (&skeleton->priv->lock); 517s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # } 517s # 517s # static gboolean 517s # _com_acme_coyote_emit_changed (gpointer user_data) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 517s # GList *l; 517s # GVariantBuilder builder; 517s # GVariantBuilder invalidated_builder; 517s # guint num_changes; 517s # 517s # g_mutex_lock (&skeleton->priv->lock); 517s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 517s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 517s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 517s # { 517s # ChangedProperty *cp = l->data; 517s # GVariant *variant; 517s # const GValue *cur_value; 517s # 517s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 517s # if (!_g_value_equal (cur_value, &cp->orig_value)) 517s # { 517s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 517s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 517s # g_variant_unref (variant); 517s # num_changes++; 517s # } 517s # } 517s # if (num_changes > 0) 517s # { 517s # GList *connections, *ll; 517s # GVariant *signal_variant; 517s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 517s # &builder, &invalidated_builder)); 517s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 517s # for (ll = connections; ll != NULL; ll = ll->next) 517s # { 517s # GDBusConnection *connection = ll->data; 517s # 517s # g_dbus_connection_emit_signal (connection, 517s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 517s # "org.freedesktop.DBus.Properties", 517s # "PropertiesChanged", 517s # signal_variant, 517s # NULL); 517s # } 517s # g_variant_unref (signal_variant); 517s # g_list_free_full (connections, g_object_unref); 517s # } 517s # else 517s # { 517s # g_variant_builder_clear (&builder); 517s # g_variant_builder_clear (&invalidated_builder); 517s # } 517s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 517s # skeleton->priv->changed_properties = NULL; 517s # skeleton->priv->changed_properties_idle_source = NULL; 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # return FALSE; 517s # } 517s # 517s # static void 517s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 517s # { 517s # ChangedProperty *cp; 517s # GList *l; 517s # cp = NULL; 517s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 517s # { 517s # ChangedProperty *i_cp = l->data; 517s # if (i_cp->info == info) 517s # { 517s # cp = i_cp; 517s # break; 517s # } 517s # } 517s # if (cp == NULL) 517s # { 517s # cp = g_new0 (ChangedProperty, 1); 517s # cp->prop_id = prop_id; 517s # cp->info = info; 517s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 517s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 517s # g_value_copy (orig_value, &cp->orig_value); 517s # } 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_notify (GObject *object, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # g_mutex_lock (&skeleton->priv->lock); 517s # if (skeleton->priv->changed_properties != NULL && 517s # skeleton->priv->changed_properties_idle_source == NULL) 517s # { 517s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 517s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 517s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 517s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 517s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 517s # g_source_unref (skeleton->priv->changed_properties_idle_source); 517s # } 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_set_property (GObject *object, 517s # guint prop_id, 517s # const GValue *value, 517s # GParamSpec *pspec) 517s # { 517s # const _ExtendedGDBusPropertyInfo *info; 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # g_assert (prop_id != 0 && prop_id - 1 < 1); 517s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 517s # g_mutex_lock (&skeleton->priv->lock); 517s # g_object_freeze_notify (object); 517s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 517s # { 517s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 517s # info->emits_changed_signal) 517s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 517s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 517s # g_object_notify_by_pspec (object, pspec); 517s # } 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # g_object_thaw_notify (object); 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 517s # { 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 517s # #else 517s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 517s # #endif 517s # 517s # g_mutex_init (&skeleton->priv->lock); 517s # skeleton->priv->context = g_main_context_ref_thread_default (); 517s # skeleton->priv->properties = g_new0 (GValue, 1); 517s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 517s # } 517s # 517s # static const gchar * 517s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 517s # { 517s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 517s # const gchar *value; 517s # g_mutex_lock (&skeleton->priv->lock); 517s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 517s # g_mutex_unlock (&skeleton->priv->lock); 517s # return value; 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 517s # { 517s # GObjectClass *gobject_class; 517s # GDBusInterfaceSkeletonClass *skeleton_class; 517s # 517s # gobject_class = G_OBJECT_CLASS (klass); 517s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 517s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 517s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 517s # gobject_class->notify = com_acme_coyote_skeleton_notify; 517s # 517s # 517s # com_acme_coyote_override_properties (gobject_class, 1); 517s # 517s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 517s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 517s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 517s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 517s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 517s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 517s # #endif 517s # } 517s # 517s # static void 517s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 517s # { 517s # iface->surprised = _com_acme_coyote_on_signal_surprised; 517s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 517s # } 517s # 517s # /** 517s # * com_acme_coyote_skeleton_new: 517s # * 517s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 517s # * 517s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 517s # */ 517s # ComAcmeCoyote * 517s # com_acme_coyote_skeleton_new (void) 517s # { 517s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 517s # } 517s # 517s # /* ------------------------------------------------------------------------ 517s # * Code for interface org.project.Bar.Frobnicator 517s # * ------------------------------------------------------------------------ 517s # */ 517s # 517s # /** 517s # * SECTION:OrgProjectBarFrobnicator 517s # * @title: OrgProjectBarFrobnicator 517s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 517s # * 517s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 517s # */ 517s # 517s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 517s # 517s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 517s # { 517s # { 517s # -1, 517s # (gchar *) "RandomMethod", 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "handle-random-method", 517s # FALSE 517s # }; 517s # 517s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 517s # { 517s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 517s # NULL 517s # }; 517s # 517s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 517s # { 517s # { 517s # -1, 517s # (gchar *) "org.project.Bar.Frobnicator", 517s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 517s # NULL, 517s # NULL, 517s # NULL 517s # }, 517s # "org-project-bar-frobnicator", 517s # }; 517s # 517s # 517s # /** 517s # * org_project_bar_frobnicator_interface_info: 517s # * 517s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 517s # * 517s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 517s # */ 517s # GDBusInterfaceInfo * 517s # org_project_bar_frobnicator_interface_info (void) 517s # { 517s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_override_properties: 517s # * @klass: The class structure for a #GObject derived class. 517s # * @property_id_begin: The property id to assign to the first overridden property. 517s # * 517s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 517s # * The properties are overridden in the order they are defined. 517s # * 517s # * Returns: The last property id. 517s # */ 517s # guint 517s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 517s # { 517s # return property_id_begin - 1; 517s # } 517s # 517s # 517s # inline static void 517s # org_project_bar_frobnicator_method_marshal_random_method ( 517s # GClosure *closure, 517s # GValue *return_value, 517s # unsigned int n_param_values, 517s # const GValue *param_values, 517s # void *invocation_hint, 517s # void *marshal_data) 517s # { 517s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 517s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 517s # } 517s # 517s # 517s # /** 517s # * OrgProjectBarFrobnicator: 517s # * 517s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 517s # */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorIface: 517s # * @parent_iface: The parent interface. 517s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 517s # * 517s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 517s # */ 517s # 517s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 517s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 517s # 517s # static void 517s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 517s # { 517s # /* GObject signals for incoming D-Bus method calls: */ 517s # /** 517s # * OrgProjectBarFrobnicator::handle-random-method: 517s # * @object: A #OrgProjectBarFrobnicator. 517s # * @invocation: A #GDBusMethodInvocation. 517s # * 517s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 517s # * 517s # * 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. 517s # * 517s # * 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. 517s # */ 517s # g_signal_new ("handle-random-method", 517s # G_TYPE_FROM_INTERFACE (iface), 517s # G_SIGNAL_RUN_LAST, 517s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 517s # g_signal_accumulator_true_handled, 517s # NULL, 517s # org_project_bar_frobnicator_method_marshal_random_method, 517s # G_TYPE_BOOLEAN, 517s # 1, 517s # G_TYPE_DBUS_METHOD_INVOCATION); 517s # 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_call_random_method: 517s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 517s # * 517s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 517s # */ 517s # void 517s # org_project_bar_frobnicator_call_random_method ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 517s # "RandomMethod", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # callback, 517s # user_data); 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_call_random_method_finish: 517s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # org_project_bar_frobnicator_call_random_method_finish ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_call_random_method_sync: 517s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL. 517s # * 517s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 517s # * 517s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 517s # * 517s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 517s # */ 517s # gboolean 517s # org_project_bar_frobnicator_call_random_method_sync ( 517s # OrgProjectBarFrobnicator *proxy, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GVariant *_ret; 517s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 517s # "RandomMethod", 517s # g_variant_new ("()"), 517s # G_DBUS_CALL_FLAGS_NONE, 517s # -1, 517s # cancellable, 517s # error); 517s # if (_ret == NULL) 517s # goto _out; 517s # g_variant_get (_ret, 517s # "()"); 517s # g_variant_unref (_ret); 517s # _out: 517s # return _ret != NULL; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_complete_random_method: 517s # * @object: A #OrgProjectBarFrobnicator. 517s # * @invocation: (transfer full): A #GDBusMethodInvocation. 517s # * 517s # * 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. 517s # * 517s # * This method will free @invocation, you cannot use it afterwards. 517s # */ 517s # void 517s # org_project_bar_frobnicator_complete_random_method ( 517s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 517s # GDBusMethodInvocation *invocation) 517s # { 517s # g_dbus_method_invocation_return_value (invocation, 517s # g_variant_new ("()")); 517s # } 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorProxy: 517s # * 517s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 517s # */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorProxyClass: 517s # * @parent_class: The parent class. 517s # * 517s # * Class structure for #OrgProjectBarFrobnicatorProxy. 517s # */ 517s # 517s # struct _OrgProjectBarFrobnicatorProxyPrivate 517s # { 517s # GData *qdata; 517s # }; 517s # 517s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 517s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 517s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 517s # 517s # #else 517s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 517s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 517s # 517s # #endif 517s # static void 517s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 517s # { 517s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 517s # g_datalist_clear (&proxy->priv->qdata); 517s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 517s # guint prop_id G_GNUC_UNUSED, 517s # GValue *value G_GNUC_UNUSED, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 517s # guint prop_id G_GNUC_UNUSED, 517s # const GValue *value G_GNUC_UNUSED, 517s # GParamSpec *pspec G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 517s # const gchar *sender_name G_GNUC_UNUSED, 517s # const gchar *signal_name, 517s # GVariant *parameters) 517s # { 517s # _ExtendedGDBusSignalInfo *info; 517s # GVariantIter iter; 517s # GVariant *child; 517s # GValue *paramv; 517s # gsize num_params; 517s # gsize n; 517s # guint signal_id; 517s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 517s # if (info == NULL) 517s # return; 517s # num_params = g_variant_n_children (parameters); 517s # paramv = g_new0 (GValue, num_params + 1); 517s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 517s # g_value_set_object (¶mv[0], proxy); 517s # g_variant_iter_init (&iter, parameters); 517s # n = 1; 517s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 517s # { 517s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 517s # if (arg_info->use_gvariant) 517s # { 517s # g_value_init (¶mv[n], G_TYPE_VARIANT); 517s # g_value_set_variant (¶mv[n], child); 517s # n++; 517s # } 517s # else 517s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 517s # g_variant_unref (child); 517s # } 517s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 517s # g_signal_emitv (paramv, signal_id, 0, NULL); 517s # for (n = 0; n < num_params + 1; n++) 517s # g_value_unset (¶mv[n]); 517s # g_free (paramv); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 517s # GVariant *changed_properties, 517s # const gchar *const *invalidated_properties) 517s # { 517s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 517s # guint n; 517s # const gchar *key; 517s # GVariantIter *iter; 517s # _ExtendedGDBusPropertyInfo *info; 517s # g_variant_get (changed_properties, "a{sv}", &iter); 517s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 517s # { 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 517s # g_datalist_remove_data (&proxy->priv->qdata, key); 517s # if (info != NULL) 517s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 517s # } 517s # g_variant_iter_free (iter); 517s # for (n = 0; invalidated_properties[n] != NULL; n++) 517s # { 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 517s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 517s # if (info != NULL) 517s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 517s # } 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 517s # { 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 517s # #else 517s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 517s # #endif 517s # 517s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 517s # { 517s # GObjectClass *gobject_class; 517s # GDBusProxyClass *proxy_class; 517s # 517s # gobject_class = G_OBJECT_CLASS (klass); 517s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 517s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 517s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 517s # 517s # proxy_class = G_DBUS_PROXY_CLASS (klass); 517s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 517s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 517s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 517s # #endif 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new: 517s # * @connection: A #GDBusConnection. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 517s # * 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 517s # * 517s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 517s # */ 517s # void 517s # org_project_bar_frobnicator_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # 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); 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_finish: 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 517s # * @error: Return location for error or %NULL 517s # * 517s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GObject *ret; 517s # GObject *source_object; 517s # source_object = g_async_result_get_source_object (res); 517s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 517s # g_object_unref (source_object); 517s # if (ret != NULL) 517s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_sync: 517s # * @connection: A #GDBusConnection. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL 517s # * 517s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 517s # * 517s # * The calling thread is blocked until a reply is received. 517s # * 517s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GInitable *ret; 517s # 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); 517s # if (ret != NULL) 517s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_for_bus: 517s # * @bus_type: A #GBusType. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: A bus name (well-known or unique). 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 517s # * @user_data: User data to pass to @callback. 517s # * 517s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 517s # * 517s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 517s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 517s # * 517s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 517s # */ 517s # void 517s # org_project_bar_frobnicator_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data) 517s # { 517s # 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); 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 517s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 517s # * @error: Return location for error or %NULL 517s # * 517s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error) 517s # { 517s # GObject *ret; 517s # GObject *source_object; 517s # source_object = g_async_result_get_source_object (res); 517s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 517s # g_object_unref (source_object); 517s # if (ret != NULL) 517s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 517s # * @bus_type: A #GBusType. 517s # * @flags: Flags from the #GDBusProxyFlags enumeration. 517s # * @name: A bus name (well-known or unique). 517s # * @object_path: An object path. 517s # * @cancellable: (nullable): A #GCancellable or %NULL. 517s # * @error: Return location for error or %NULL 517s # * 517s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 517s # * 517s # * The calling thread is blocked until a reply is received. 517s # * 517s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error) 517s # { 517s # GInitable *ret; 517s # 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); 517s # if (ret != NULL) 517s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 517s # else 517s # return NULL; 517s # } 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorSkeleton: 517s # * 517s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 517s # */ 517s # 517s # /** 517s # * OrgProjectBarFrobnicatorSkeletonClass: 517s # * @parent_class: The parent class. 517s # * 517s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 517s # */ 517s # 517s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 517s # { 517s # GValue *properties; 517s # GList *changed_properties; 517s # GSource *changed_properties_idle_source; 517s # GMainContext *context; 517s # GMutex lock; 517s # }; 517s # 517s # static void 517s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name, 517s # const gchar *method_name, 517s # GVariant *parameters, 517s # GDBusMethodInvocation *invocation, 517s # gpointer user_data) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 517s # _ExtendedGDBusMethodInfo *info; 517s # GVariantIter iter; 517s # GVariant *child; 517s # GValue *paramv; 517s # gsize num_params; 517s # guint num_extra; 517s # gsize n; 517s # guint signal_id; 517s # GValue return_value = G_VALUE_INIT; 517s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 517s # g_assert (info != NULL); 517s # num_params = g_variant_n_children (parameters); 517s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 517s # n = 0; 517s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 517s # g_value_set_object (¶mv[n++], skeleton); 517s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 517s # g_value_set_object (¶mv[n++], invocation); 517s # if (info->pass_fdlist) 517s # { 517s # #ifdef G_OS_UNIX 517s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 517s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 517s # #else 517s # g_assert_not_reached (); 517s # #endif 517s # } 517s # g_variant_iter_init (&iter, parameters); 517s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 517s # { 517s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 517s # if (arg_info->use_gvariant) 517s # { 517s # g_value_init (¶mv[n], G_TYPE_VARIANT); 517s # g_value_set_variant (¶mv[n], child); 517s # n++; 517s # } 517s # else 517s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 517s # g_variant_unref (child); 517s # } 517s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 517s # g_value_init (&return_value, G_TYPE_BOOLEAN); 517s # g_signal_emitv (paramv, signal_id, 0, &return_value); 517s # if (!g_value_get_boolean (&return_value)) 517s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 517s # g_value_unset (&return_value); 517s # for (n = 0; n < num_params + num_extra; n++) 517s # g_value_unset (¶mv[n]); 517s # g_free (paramv); 517s # } 517s # 517s # static GVariant * 517s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name G_GNUC_UNUSED, 517s # const gchar *property_name, 517s # GError **error, 517s # gpointer user_data) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 517s # GValue value = G_VALUE_INIT; 517s # GParamSpec *pspec; 517s # _ExtendedGDBusPropertyInfo *info; 517s # GVariant *ret; 517s # ret = NULL; 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 517s # g_assert (info != NULL); 517s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 517s # if (pspec == NULL) 517s # { 517s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 517s # } 517s # else 517s # { 517s # g_value_init (&value, pspec->value_type); 517s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 517s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 517s # g_value_unset (&value); 517s # } 517s # return ret; 517s # } 517s # 517s # static gboolean 517s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 517s # GDBusConnection *connection G_GNUC_UNUSED, 517s # const gchar *sender G_GNUC_UNUSED, 517s # const gchar *object_path G_GNUC_UNUSED, 517s # const gchar *interface_name G_GNUC_UNUSED, 517s # const gchar *property_name, 517s # GVariant *variant, 517s # GError **error, 517s # gpointer user_data) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 517s # GValue value = G_VALUE_INIT; 517s # GParamSpec *pspec; 517s # _ExtendedGDBusPropertyInfo *info; 517s # gboolean ret; 517s # ret = FALSE; 517s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 517s # g_assert (info != NULL); 517s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 517s # if (pspec == NULL) 517s # { 517s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 517s # } 517s # else 517s # { 517s # if (info->use_gvariant) 517s # g_value_set_variant (&value, variant); 517s # else 517s # g_dbus_gvariant_to_gvalue (variant, &value); 517s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 517s # g_value_unset (&value); 517s # ret = TRUE; 517s # } 517s # return ret; 517s # } 517s # 517s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 517s # { 517s # _org_project_bar_frobnicator_skeleton_handle_method_call, 517s # _org_project_bar_frobnicator_skeleton_handle_get_property, 517s # _org_project_bar_frobnicator_skeleton_handle_set_property, 517s # {NULL} 517s # }; 517s # 517s # static GDBusInterfaceInfo * 517s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 517s # { 517s # return org_project_bar_frobnicator_interface_info (); 517s # } 517s # 517s # static GDBusInterfaceVTable * 517s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 517s # { 517s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 517s # } 517s # 517s # static GVariant * 517s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 517s # 517s # GVariantBuilder builder; 517s # guint n; 517s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 517s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 517s # goto out; 517s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 517s # { 517s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 517s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 517s # { 517s # GVariant *value; 517s # 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); 517s # if (value != NULL) 517s # { 517s # g_variant_take_ref (value); 517s # g_variant_builder_add (&builder, "{sv}", info->name, value); 517s # g_variant_unref (value); 517s # } 517s # } 517s # } 517s # out: 517s # return g_variant_builder_end (&builder); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 517s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 517s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 517s # 517s # #else 517s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 517s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 517s # 517s # #endif 517s # static void 517s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 517s # { 517s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 517s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 517s # if (skeleton->priv->changed_properties_idle_source != NULL) 517s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 517s # g_main_context_unref (skeleton->priv->context); 517s # g_mutex_clear (&skeleton->priv->lock); 517s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 517s # { 517s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 517s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 517s # #else 517s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 517s # #endif 517s # 517s # g_mutex_init (&skeleton->priv->lock); 517s # skeleton->priv->context = g_main_context_ref_thread_default (); 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 517s # { 517s # GObjectClass *gobject_class; 517s # GDBusInterfaceSkeletonClass *skeleton_class; 517s # 517s # gobject_class = G_OBJECT_CLASS (klass); 517s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 517s # 517s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 517s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 517s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 517s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 517s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 517s # 517s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 517s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 517s # #endif 517s # } 517s # 517s # static void 517s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 517s # { 517s # } 517s # 517s # /** 517s # * org_project_bar_frobnicator_skeleton_new: 517s # * 517s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 517s # * 517s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 517s # */ 517s # OrgProjectBarFrobnicator * 517s # org_project_bar_frobnicator_skeleton_new (void) 517s # { 517s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 517s # } 517s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 517s # tmpdir: /tmp/tmpjuzm6nd5 517s # codegen: /usr/bin/gdbus-codegen 517s # /tmp/tmpjuzm6nd5/tmpkw5pmytj.xml: 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjuzm6nd5/tmpkw5pmytj.xml', '--output', '-', '--header'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: /* 517s # * This file is generated by gdbus-codegen, do not modify it. 517s # * 517s # * The license of this code is the same as for the D-Bus interface description 517s # * it was derived from. Note that it links to GLib, so must comply with the 517s # * LGPL linking clauses. 517s # */ 517s # 517s # #ifndef __STDOUT__ 517s # #define __STDOUT__ 517s # 517s # #include 517s # 517s # G_BEGIN_DECLS 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # /* Declarations for FDPassing */ 517s # 517s # #define TYPE_FDPASSING (fdpassing_get_type ()) 517s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 517s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 517s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 517s # 517s # struct _FDPassing; 517s # typedef struct _FDPassing FDPassing; 517s # typedef struct _FDPassingIface FDPassingIface; 517s # 517s # struct _FDPassingIface 517s # { 517s # GTypeInterface parent_iface; 517s # 517s # gboolean (*handle_hello_fd) ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list, 517s # const gchar *arg_greeting); 517s # 517s # gboolean (*handle_no_annotation) ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GVariant *arg_greeting, 517s # const gchar *arg_greeting_locale); 517s # 517s # gboolean (*handle_no_annotation_nested) ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GVariant *arg_files); 517s # 517s # }; 517s # 517s # GType fdpassing_get_type (void) G_GNUC_CONST; 517s # 517s # GDBusInterfaceInfo *fdpassing_interface_info (void); 517s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 517s # 517s # 517s # /* D-Bus method call completion functions: */ 517s # void fdpassing_complete_hello_fd ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list, 517s # const gchar *response); 517s # 517s # void fdpassing_complete_no_annotation ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GVariant *response, 517s # const gchar *response_locale); 517s # 517s # void fdpassing_complete_no_annotation_nested ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # 517s # 517s # /* D-Bus method calls: */ 517s # void fdpassing_call_hello_fd ( 517s # FDPassing *proxy, 517s # const gchar *arg_greeting, 517s # GUnixFDList *fd_list, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean fdpassing_call_hello_fd_finish ( 517s # FDPassing *proxy, 517s # gchar **out_response, 517s # GUnixFDList **out_fd_list, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean fdpassing_call_hello_fd_sync ( 517s # FDPassing *proxy, 517s # const gchar *arg_greeting, 517s # GUnixFDList *fd_list, 517s # gchar **out_response, 517s # GUnixFDList **out_fd_list, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void fdpassing_call_no_annotation ( 517s # FDPassing *proxy, 517s # GVariant *arg_greeting, 517s # const gchar *arg_greeting_locale, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean fdpassing_call_no_annotation_finish ( 517s # FDPassing *proxy, 517s # GVariant **out_response, 517s # gchar **out_response_locale, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean fdpassing_call_no_annotation_sync ( 517s # FDPassing *proxy, 517s # GVariant *arg_greeting, 517s # const gchar *arg_greeting_locale, 517s # GVariant **out_response, 517s # gchar **out_response_locale, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void fdpassing_call_no_annotation_nested ( 517s # FDPassing *proxy, 517s # GVariant *arg_files, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean fdpassing_call_no_annotation_nested_finish ( 517s # FDPassing *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean fdpassing_call_no_annotation_nested_sync ( 517s # FDPassing *proxy, 517s # GVariant *arg_files, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 517s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 517s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 517s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 517s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 517s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 517s # 517s # typedef struct _FDPassingProxy FDPassingProxy; 517s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 517s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 517s # 517s # struct _FDPassingProxy 517s # { 517s # /*< private >*/ 517s # GDBusProxy parent_instance; 517s # FDPassingProxyPrivate *priv; 517s # }; 517s # 517s # struct _FDPassingProxyClass 517s # { 517s # GDBusProxyClass parent_class; 517s # }; 517s # 517s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 517s # #endif 517s # 517s # void fdpassing_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # FDPassing *fdpassing_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # FDPassing *fdpassing_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void fdpassing_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 517s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 517s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 517s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 517s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 517s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 517s # 517s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 517s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 517s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 517s # 517s # struct _FDPassingSkeleton 517s # { 517s # /*< private >*/ 517s # GDBusInterfaceSkeleton parent_instance; 517s # FDPassingSkeletonPrivate *priv; 517s # }; 517s # 517s # struct _FDPassingSkeletonClass 517s # { 517s # GDBusInterfaceSkeletonClass parent_class; 517s # }; 517s # 517s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 517s # #endif 517s # 517s # FDPassing *fdpassing_skeleton_new (void); 517s # 517s # 517s # G_END_DECLS 517s # 517s # #endif /* __STDOUT__ */ 517s # /tmp/tmpjuzm6nd5/tmpxbqm12ep.xml: 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjuzm6nd5/tmpxbqm12ep.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: /* 517s # * This file is generated by gdbus-codegen, do not modify it. 517s # * 517s # * The license of this code is the same as for the D-Bus interface description 517s # * it was derived from. Note that it links to GLib, so must comply with the 517s # * LGPL linking clauses. 517s # */ 517s # 517s # #ifndef __STDOUT__ 517s # #define __STDOUT__ 517s # 517s # #include 517s # 517s # G_BEGIN_DECLS 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # /* Declarations for FDPassing */ 517s # 517s # #define TYPE_FDPASSING (fdpassing_get_type ()) 517s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 517s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 517s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 517s # 517s # struct _FDPassing; 517s # typedef struct _FDPassing FDPassing; 517s # typedef struct _FDPassingIface FDPassingIface; 517s # 517s # struct _FDPassingIface 517s # { 517s # GTypeInterface parent_iface; 517s # 517s # gboolean (*handle_hello_fd) ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list, 517s # const gchar *arg_greeting); 517s # 517s # gboolean (*handle_no_annotation) ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GVariant *arg_greeting, 517s # const gchar *arg_greeting_locale); 517s # 517s # gboolean (*handle_no_annotation_nested) ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GVariant *arg_files); 517s # 517s # }; 517s # 517s # GType fdpassing_get_type (void) G_GNUC_CONST; 517s # 517s # GDBusInterfaceInfo *fdpassing_interface_info (void); 517s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 517s # 517s # 517s # /* D-Bus method call completion functions: */ 517s # void fdpassing_complete_hello_fd ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list, 517s # const gchar *response); 517s # 517s # void fdpassing_complete_no_annotation ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GVariant *response, 517s # const gchar *response_locale); 517s # 517s # void fdpassing_complete_no_annotation_nested ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation); 517s # 517s # 517s # 517s # /* D-Bus method calls: */ 517s # void fdpassing_call_hello_fd ( 517s # FDPassing *proxy, 517s # const gchar *arg_greeting, 517s # GUnixFDList *fd_list, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean fdpassing_call_hello_fd_finish ( 517s # FDPassing *proxy, 517s # gchar **out_response, 517s # GUnixFDList **out_fd_list, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean fdpassing_call_hello_fd_sync ( 517s # FDPassing *proxy, 517s # const gchar *arg_greeting, 517s # GUnixFDList *fd_list, 517s # gchar **out_response, 517s # GUnixFDList **out_fd_list, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void fdpassing_call_no_annotation ( 517s # FDPassing *proxy, 517s # GVariant *arg_greeting, 517s # const gchar *arg_greeting_locale, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean fdpassing_call_no_annotation_finish ( 517s # FDPassing *proxy, 517s # GVariant **out_response, 517s # gchar **out_response_locale, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean fdpassing_call_no_annotation_sync ( 517s # FDPassing *proxy, 517s # GVariant *arg_greeting, 517s # const gchar *arg_greeting_locale, 517s # GVariant **out_response, 517s # gchar **out_response_locale, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void fdpassing_call_no_annotation_nested ( 517s # FDPassing *proxy, 517s # GVariant *arg_files, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean fdpassing_call_no_annotation_nested_finish ( 517s # FDPassing *proxy, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean fdpassing_call_no_annotation_nested_sync ( 517s # FDPassing *proxy, 517s # GVariant *arg_files, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 517s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 517s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 517s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 517s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 517s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 517s # 517s # typedef struct _FDPassingProxy FDPassingProxy; 517s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 517s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 517s # 517s # struct _FDPassingProxy 517s # { 517s # /*< private >*/ 517s # GDBusProxy parent_instance; 517s # FDPassingProxyPrivate *priv; 517s # }; 517s # 517s # struct _FDPassingProxyClass 517s # { 517s # GDBusProxyClass parent_class; 517s # }; 517s # 517s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 517s # #endif 517s # 517s # void fdpassing_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # FDPassing *fdpassing_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # FDPassing *fdpassing_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void fdpassing_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 517s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 517s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 517s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 517s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 517s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 517s # 517s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 517s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 517s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 517s # 517s # struct _FDPassingSkeleton 517s # { 517s # /*< private >*/ 517s # GDBusInterfaceSkeleton parent_instance; 517s # FDPassingSkeletonPrivate *priv; 517s # }; 517s # 517s # struct _FDPassingSkeletonClass 517s # { 517s # GDBusInterfaceSkeletonClass parent_class; 517s # }; 517s # 517s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 517s # #endif 517s # 517s # FDPassing *fdpassing_skeleton_new (void); 517s # 517s # 517s # G_END_DECLS 517s # 517s # #endif /* __STDOUT__ */ 517s # /tmp/tmpjuzm6nd5/tmpsbznjrcl.xml: 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # 517s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjuzm6nd5/tmpsbznjrcl.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: /* 517s # * This file is generated by gdbus-codegen, do not modify it. 517s # * 517s # * The license of this code is the same as for the D-Bus interface description 517s # * it was derived from. Note that it links to GLib, so must comply with the 517s # * LGPL linking clauses. 517s # */ 517s # 517s # #ifndef __STDOUT__ 517s # #define __STDOUT__ 517s # 517s # #include 517s # 517s # G_BEGIN_DECLS 517s # 517s # 517s # /* ------------------------------------------------------------------------ */ 517s # /* Declarations for FDPassing */ 517s # 517s # #define TYPE_FDPASSING (fdpassing_get_type ()) 517s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 517s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 517s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 517s # 517s # struct _FDPassing; 517s # typedef struct _FDPassing FDPassing; 517s # typedef struct _FDPassingIface FDPassingIface; 517s # 517s # struct _FDPassingIface 517s # { 517s # GTypeInterface parent_iface; 517s # 517s # gboolean (*handle_hello_fd) ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list, 517s # const gchar *arg_greeting); 517s # 517s # gboolean (*handle_no_annotation) ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list, 517s # GVariant *arg_greeting, 517s # const gchar *arg_greeting_locale); 517s # 517s # gboolean (*handle_no_annotation_nested) ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list, 517s # GVariant *arg_files); 517s # 517s # }; 517s # 517s # GType fdpassing_get_type (void) G_GNUC_CONST; 517s # 517s # GDBusInterfaceInfo *fdpassing_interface_info (void); 517s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 517s # 517s # 517s # /* D-Bus method call completion functions: */ 517s # void fdpassing_complete_hello_fd ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list, 517s # const gchar *response); 517s # 517s # void fdpassing_complete_no_annotation ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list, 517s # GVariant *response, 517s # const gchar *response_locale); 517s # 517s # void fdpassing_complete_no_annotation_nested ( 517s # FDPassing *object, 517s # GDBusMethodInvocation *invocation, 517s # GUnixFDList *fd_list); 517s # 517s # 517s # 517s # /* D-Bus method calls: */ 517s # void fdpassing_call_hello_fd ( 517s # FDPassing *proxy, 517s # const gchar *arg_greeting, 517s # GDBusCallFlags call_flags, 517s # gint timeout_msec, 517s # GUnixFDList *fd_list, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean fdpassing_call_hello_fd_finish ( 517s # FDPassing *proxy, 517s # gchar **out_response, 517s # GUnixFDList **out_fd_list, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean fdpassing_call_hello_fd_sync ( 517s # FDPassing *proxy, 517s # const gchar *arg_greeting, 517s # GDBusCallFlags call_flags, 517s # gint timeout_msec, 517s # GUnixFDList *fd_list, 517s # gchar **out_response, 517s # GUnixFDList **out_fd_list, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void fdpassing_call_no_annotation ( 517s # FDPassing *proxy, 517s # GVariant *arg_greeting, 517s # const gchar *arg_greeting_locale, 517s # GDBusCallFlags call_flags, 517s # gint timeout_msec, 517s # GUnixFDList *fd_list, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean fdpassing_call_no_annotation_finish ( 517s # FDPassing *proxy, 517s # GVariant **out_response, 517s # gchar **out_response_locale, 517s # GUnixFDList **out_fd_list, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean fdpassing_call_no_annotation_sync ( 517s # FDPassing *proxy, 517s # GVariant *arg_greeting, 517s # const gchar *arg_greeting_locale, 517s # GDBusCallFlags call_flags, 517s # gint timeout_msec, 517s # GUnixFDList *fd_list, 517s # GVariant **out_response, 517s # gchar **out_response_locale, 517s # GUnixFDList **out_fd_list, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void fdpassing_call_no_annotation_nested ( 517s # FDPassing *proxy, 517s # GVariant *arg_files, 517s # GDBusCallFlags call_flags, 517s # gint timeout_msec, 517s # GUnixFDList *fd_list, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # 517s # gboolean fdpassing_call_no_annotation_nested_finish ( 517s # FDPassing *proxy, 517s # GUnixFDList **out_fd_list, 517s # GAsyncResult *res, 517s # GError **error); 517s # 517s # gboolean fdpassing_call_no_annotation_nested_sync ( 517s # FDPassing *proxy, 517s # GVariant *arg_files, 517s # GDBusCallFlags call_flags, 517s # gint timeout_msec, 517s # GUnixFDList *fd_list, 517s # GUnixFDList **out_fd_list, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 517s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 517s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 517s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 517s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 517s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 517s # 517s # typedef struct _FDPassingProxy FDPassingProxy; 517s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 517s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 517s # 517s # struct _FDPassingProxy 517s # { 517s # /*< private >*/ 517s # GDBusProxy parent_instance; 517s # FDPassingProxyPrivate *priv; 517s # }; 517s # 517s # struct _FDPassingProxyClass 517s # { 517s # GDBusProxyClass parent_class; 517s # }; 517s # 517s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 517s # #endif 517s # 517s # void fdpassing_proxy_new ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # FDPassing *fdpassing_proxy_new_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # FDPassing *fdpassing_proxy_new_sync ( 517s # GDBusConnection *connection, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # void fdpassing_proxy_new_for_bus ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GAsyncReadyCallback callback, 517s # gpointer user_data); 517s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 517s # GAsyncResult *res, 517s # GError **error); 517s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 517s # GBusType bus_type, 517s # GDBusProxyFlags flags, 517s # const gchar *name, 517s # const gchar *object_path, 517s # GCancellable *cancellable, 517s # GError **error); 517s # 517s # 517s # /* ---- */ 517s # 517s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 517s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 517s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 517s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 517s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 517s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 517s # 517s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 517s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 517s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 517s # 517s # struct _FDPassingSkeleton 517s # { 517s # /*< private >*/ 517s # GDBusInterfaceSkeleton parent_instance; 517s # FDPassingSkeletonPrivate *priv; 517s # }; 517s # 517s # struct _FDPassingSkeletonClass 517s # { 517s # GDBusInterfaceSkeletonClass parent_class; 517s # }; 517s # 517s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 517s # 517s # #if GLIB_CHECK_VERSION(2, 44, 0) 517s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 517s # #endif 517s # 517s # FDPassing *fdpassing_skeleton_new (void); 517s # 517s # 517s # G_END_DECLS 517s # 517s # #endif /* __STDOUT__ */ 517s 1..39 517s ok - glib/codegen.py.test 517s # Running test: glib/unix-mounts.test 517s TAP version 13 517s # random seed: R02S082b7b01fc0e61acc06454492d81184c 517s 1..2 517s # Start of unix-mounts tests 517s ok 1 /unix-mounts/is-system-fs-type 517s ok 2 /unix-mounts/is-system-device-path 517s # End of unix-mounts tests 517s ok - glib/unix-mounts.test 517s # Running test: glib/utf8-validate.test 517s TAP version 13 517s # random seed: R02S2fcf7414b5d352d5a3501822d8555fe9 517s 1..216 517s # Start of utf8 tests 517s # Vector 0 517s # Vector 1 517s # Vector 2 517s # Vector 3 517s # Vector 4 517s # Vector 5 517s # Vector 6 517s # Vector 7 517s # Vector 8 517s # Vector 9 517s # Vector 10 517s # Vector 11 517s # Vector 12 517s # Vector 13 517s # Vector 14 517s # Vector 15 517s # Vector 16 517s # Vector 17 517s # Vector 18 517s # Vector 19 517s # Vector 20 517s # Vector 21 517s # Vector 22 517s # Vector 23 517s # Vector 24 517s # Vector 25 517s # Vector 26 517s # Vector 27 517s ok 1 /utf8/get-char-validated 517s # Start of validate tests 517s ok 2 /utf8/validate/0 517s ok 3 /utf8/validate/1 517s ok 4 /utf8/validate/2 517s ok 5 /utf8/validate/3 517s ok 6 /utf8/validate/4 517s ok 7 /utf8/validate/5 517s ok 8 /utf8/validate/6 517s ok 9 /utf8/validate/7 517s ok 10 /utf8/validate/8 517s ok 11 /utf8/validate/9 517s ok 12 /utf8/validate/10 517s ok 13 /utf8/validate/11 517s ok 14 /utf8/validate/12 517s ok 15 /utf8/validate/13 517s ok 16 /utf8/validate/14 517s ok 17 /utf8/validate/15 517s ok 18 /utf8/validate/16 517s ok 19 /utf8/validate/17 517s ok 20 /utf8/validate/18 517s ok 21 /utf8/validate/19 517s ok 22 /utf8/validate/20 517s ok 23 /utf8/validate/21 517s ok 24 /utf8/validate/22 517s ok 25 /utf8/validate/23 517s ok 26 /utf8/validate/24 517s ok 27 /utf8/validate/25 517s ok 28 /utf8/validate/26 517s ok 29 /utf8/validate/27 517s ok 30 /utf8/validate/28 517s ok 31 /utf8/validate/29 517s ok 32 /utf8/validate/30 517s ok 33 /utf8/validate/31 517s ok 34 /utf8/validate/32 517s ok 35 /utf8/validate/33 517s ok 36 /utf8/validate/34 517s ok 37 /utf8/validate/35 517s ok 38 /utf8/validate/36 517s ok 39 /utf8/validate/37 517s ok 40 /utf8/validate/38 517s ok 41 /utf8/validate/39 517s ok 42 /utf8/validate/40 517s ok 43 /utf8/validate/41 517s ok 44 /utf8/validate/42 517s ok 45 /utf8/validate/43 517s ok 46 /utf8/validate/44 517s ok 47 /utf8/validate/45 517s ok 48 /utf8/validate/46 517s ok 49 /utf8/validate/47 517s ok 50 /utf8/validate/48 517s ok 51 /utf8/validate/49 517s ok 52 /utf8/validate/50 517s ok 53 /utf8/validate/51 517s ok 54 /utf8/validate/52 517s ok 55 /utf8/validate/53 517s ok 56 /utf8/validate/54 517s ok 57 /utf8/validate/55 517s ok 58 /utf8/validate/56 517s ok 59 /utf8/validate/57 517s ok 60 /utf8/validate/58 517s ok 61 /utf8/validate/59 517s ok 62 /utf8/validate/60 517s ok 63 /utf8/validate/61 517s ok 64 /utf8/validate/62 517s ok 65 /utf8/validate/63 517s ok 66 /utf8/validate/64 517s ok 67 /utf8/validate/65 517s ok 68 /utf8/validate/66 517s ok 69 /utf8/validate/67 517s ok 70 /utf8/validate/68 517s ok 71 /utf8/validate/69 517s ok 72 /utf8/validate/70 517s ok 73 /utf8/validate/71 517s ok 74 /utf8/validate/72 517s ok 75 /utf8/validate/73 517s ok 76 /utf8/validate/74 517s ok 77 /utf8/validate/75 517s ok 78 /utf8/validate/76 517s ok 79 /utf8/validate/77 517s ok 80 /utf8/validate/78 517s ok 81 /utf8/validate/79 517s ok 82 /utf8/validate/80 517s ok 83 /utf8/validate/81 517s ok 84 /utf8/validate/82 517s ok 85 /utf8/validate/83 517s ok 86 /utf8/validate/84 517s ok 87 /utf8/validate/85 517s ok 88 /utf8/validate/86 517s ok 89 /utf8/validate/87 517s ok 90 /utf8/validate/88 517s ok 91 /utf8/validate/89 517s ok 92 /utf8/validate/90 517s ok 93 /utf8/validate/91 517s ok 94 /utf8/validate/92 517s ok 95 /utf8/validate/93 517s ok 96 /utf8/validate/94 517s ok 97 /utf8/validate/95 517s ok 98 /utf8/validate/96 517s ok 99 /utf8/validate/97 517s ok 100 /utf8/validate/98 517s ok 101 /utf8/validate/99 517s ok 102 /utf8/validate/100 517s ok 103 /utf8/validate/101 517s ok 104 /utf8/validate/102 517s ok 105 /utf8/validate/103 517s ok 106 /utf8/validate/104 517s ok 107 /utf8/validate/105 517s ok 108 /utf8/validate/106 517s ok 109 /utf8/validate/107 517s ok 110 /utf8/validate/108 517s ok 111 /utf8/validate/109 517s ok 112 /utf8/validate/110 517s ok 113 /utf8/validate/111 517s ok 114 /utf8/validate/112 517s ok 115 /utf8/validate/113 517s ok 116 /utf8/validate/114 517s ok 117 /utf8/validate/115 517s ok 118 /utf8/validate/116 517s ok 119 /utf8/validate/117 517s ok 120 /utf8/validate/118 517s ok 121 /utf8/validate/119 517s ok 122 /utf8/validate/120 517s ok 123 /utf8/validate/121 517s ok 124 /utf8/validate/122 517s ok 125 /utf8/validate/123 517s ok 126 /utf8/validate/124 517s ok 127 /utf8/validate/125 517s ok 128 /utf8/validate/126 517s ok 129 /utf8/validate/127 517s ok 130 /utf8/validate/128 517s ok 131 /utf8/validate/129 517s ok 132 /utf8/validate/130 517s ok 133 /utf8/validate/131 517s ok 134 /utf8/validate/132 517s ok 135 /utf8/validate/133 517s ok 136 /utf8/validate/134 517s ok 137 /utf8/validate/135 517s ok 138 /utf8/validate/136 517s ok 139 /utf8/validate/137 517s ok 140 /utf8/validate/138 517s ok 141 /utf8/validate/139 517s ok 142 /utf8/validate/140 517s ok 143 /utf8/validate/141 517s ok 144 /utf8/validate/142 517s ok 145 /utf8/validate/143 517s ok 146 /utf8/validate/144 517s ok 147 /utf8/validate/145 517s ok 148 /utf8/validate/146 517s ok 149 /utf8/validate/147 517s ok 150 /utf8/validate/148 517s ok 151 /utf8/validate/149 517s ok 152 /utf8/validate/150 517s ok 153 /utf8/validate/151 517s ok 154 /utf8/validate/152 517s ok 155 /utf8/validate/153 517s ok 156 /utf8/validate/154 517s ok 157 /utf8/validate/155 517s ok 158 /utf8/validate/156 517s ok 159 /utf8/validate/157 517s ok 160 /utf8/validate/158 517s ok 161 /utf8/validate/159 517s ok 162 /utf8/validate/160 517s ok 163 /utf8/validate/161 517s ok 164 /utf8/validate/162 517s ok 165 /utf8/validate/163 517s ok 166 /utf8/validate/164 517s ok 167 /utf8/validate/165 517s ok 168 /utf8/validate/166 517s ok 169 /utf8/validate/167 517s ok 170 /utf8/validate/168 517s ok 171 /utf8/validate/169 517s ok 172 /utf8/validate/170 517s ok 173 /utf8/validate/171 517s ok 174 /utf8/validate/172 517s ok 175 /utf8/validate/173 517s ok 176 /utf8/validate/174 517s ok 177 /utf8/validate/175 517s ok 178 /utf8/validate/176 517s ok 179 /utf8/validate/177 517s ok 180 /utf8/validate/178 517s ok 181 /utf8/validate/179 517s ok 182 /utf8/validate/180 517s ok 183 /utf8/validate/181 517s ok 184 /utf8/validate/182 517s ok 185 /utf8/validate/183 517s ok 186 /utf8/validate/184 517s ok 187 /utf8/validate/185 517s ok 188 /utf8/validate/186 517s ok 189 /utf8/validate/187 517s ok 190 /utf8/validate/188 517s ok 191 /utf8/validate/189 517s ok 192 /utf8/validate/190 517s ok 193 /utf8/validate/191 517s ok 194 /utf8/validate/192 517s ok 195 /utf8/validate/193 517s ok 196 /utf8/validate/194 517s ok 197 /utf8/validate/195 517s ok 198 /utf8/validate/196 517s ok 199 /utf8/validate/197 517s ok 200 /utf8/validate/198 517s ok 201 /utf8/validate/199 517s ok 202 /utf8/validate/200 517s ok 203 /utf8/validate/201 517s ok 204 /utf8/validate/202 517s ok 205 /utf8/validate/203 517s ok 206 /utf8/validate/204 517s ok 207 /utf8/validate/205 517s ok 208 /utf8/validate/206 517s ok 209 /utf8/validate/207 517s ok 210 /utf8/validate/208 517s ok 211 /utf8/validate/209 517s ok 212 /utf8/validate/210 517s ok 213 /utf8/validate/211 517s ok 214 /utf8/validate/212 517s ok 215 /utf8/validate/213 517s ok 216 /utf8/validate/214 517s # End of validate tests 517s # End of utf8 tests 517s ok - glib/utf8-validate.test 517s # Running test: glib/macros-c-99.test 517s TAP version 13 517s # random seed: R02S3991100a5213d50fa8225ea360305c77 517s 1..4 517s # Start of C tests 517s ok 1 /C/standard-99 517s # End of C tests 517s # Start of alignof tests 517s ok 2 /alignof/fallback 517s # End of alignof tests 517s # Start of assert tests 517s ok 3 /assert/static 517s # End of assert tests 517s # Start of struct tests 517s ok 4 /struct/sizeof_member 517s # End of struct tests 517s ok - glib/macros-c-99.test 517s # Running test: glib/gdbus-connection.test 517s TAP version 13 517s # random seed: R02S3c9d10d9d4202d11727829d0898ba896 517s 1..9 517s # Start of gdbus tests 517s # Start of connection tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/bus-failure/.dirs/runtime 517s ok 1 /gdbus/connection/bus-failure 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/basic/.dirs/runtime 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s ok 2 /gdbus/connection/basic 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/life-cycle/.dirs/runtime 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s ok 3 /gdbus/connection/life-cycle 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/send/.dirs/runtime 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s ok 4 /gdbus/connection/send 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signals/.dirs/runtime 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s ok 5 /gdbus/connection/signals 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/signal-match-rules/.dirs/runtime 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s ok 6 /gdbus/connection/signal-match-rules 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/filter/.dirs/runtime 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s ok 7 /gdbus/connection/filter 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/serials/.dirs/runtime 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s ok 8 /gdbus/connection/serials 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_WIB3K2/gdbus/connection/cancel/.dirs/runtime 517s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s ok 9 /gdbus/connection/cancel 517s # End of connection tests 517s # End of gdbus tests 517s ok - glib/gdbus-connection.test 517s # Running test: glib/portal-support-flatpak-network-only.test 517s TAP version 13 517s # random seed: R02S5e3f448772d85f5bc2ad3a25b1e694e6 517s 1..1 517s # Start of portal-support tests 517s # Start of flatpak tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/runtime 517s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_EK2ZK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 517s ok 1 /portal-support/flatpak/network 517s # End of flatpak tests 517s # End of portal-support tests 517s ok - glib/portal-support-flatpak-network-only.test 517s # Running test: glib/once.test 517s TAP version 13 517s # random seed: R02S1420d6fdc280d65dba2482b4196bb317 517s 1..5 517s # Start of once tests 517s # /once/single-threaded summary: Test g_once() usage from a single thread 517s ok 1 /once/single-threaded 517s # /once/multi-threaded summary: Test g_once() usage from multiple threads 517s ok 2 /once/multi-threaded 517s # End of once tests 517s # Start of once-init tests 517s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 517s ok 3 /once-init/single-threaded 517s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 517s ok 4 /once-init/multi-threaded 517s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 517s ok 5 /once-init/string 517s # End of once-init tests 517s ok - glib/once.test 517s # Running test: glib/accumulator.test 517s TAP version 13 517s # random seed: R02S7ec213644b338aa4f7612e7765b4df19 517s 1..1 517s # Start of gobject tests 517s ok 1 /gobject/accumulator 517s # End of gobject tests 517s ok - glib/accumulator.test 517s # Running test: glib/g-file-info-filesystem-readonly.test 517s TAP version 13 517s # random seed: R02S88b294dd1730aaab7043f37e66ebde5d 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 517s 1..2 517s # Start of g-file-info-filesystem-readonly tests 517s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 517s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 517s # End of g-file-info-filesystem-readonly tests 517s ok - glib/g-file-info-filesystem-readonly.test 517s # Running test: glib/proxy-test.test 517s TAP version 13 517s # random seed: R02Sa1578a9c54d1a4c4690a908a0fbcc818 517s 1..11 517s # Start of proxy tests 517s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 517s ok 1 /proxy/direct_sync 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34212980 and GSocketClientAsyncConnectData 0x2aa34208260 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34213390 for GSocketClientAsyncConnectData 0x2aa34208260 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 517s ok 2 /proxy/direct_async 517s ok 3 /proxy/single_sync 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34214c90 and GSocketClientAsyncConnectData 0x2aa34213de0 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa342157f0 for GSocketClientAsyncConnectData 0x2aa34213de0 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 517s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 517s ok 4 /proxy/single_async 517s ok 5 /proxy/multiple_sync 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34215520 and GSocketClientAsyncConnectData 0x2aa342152f0 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34215e70 for GSocketClientAsyncConnectData 0x2aa342152f0 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34215880 for GSocketClientAsyncConnectData 0x2aa342152f0 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 517s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 517s ok 6 /proxy/multiple_async 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 517s ok 7 /proxy/invalid-uris-sync 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34215c00 and GSocketClientAsyncConnectData 0x2aa34215100 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 517s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34215c00 and GSocketClientAsyncConnectData 0x2aa34215100 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 517s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34215c00 and GSocketClientAsyncConnectData 0x2aa34215100 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34213ba0 for GSocketClientAsyncConnectData 0x2aa34215100 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34215520 and GSocketClientAsyncConnectData 0x2aa342155e0 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa342130a0 for GSocketClientAsyncConnectData 0x2aa342155e0 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 517s ok 8 /proxy/invalid-uris-async 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34215c00 and GSocketClientAsyncConnectData 0x2aa34215100 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 517s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 517s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34215520 and GSocketClientAsyncConnectData 0x2aa342155e0 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34213ba0 for GSocketClientAsyncConnectData 0x2aa342155e0 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 517s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34214db0 and GSocketClientAsyncConnectData 0x2aa34216110 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34215f30 for GSocketClientAsyncConnectData 0x2aa34216110 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 517s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 517s ok 9 /proxy/dns 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa342157f0 and GSocketClientAsyncConnectData 0x2aa3420f9c0 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa342158b0 for GSocketClientAsyncConnectData 0x2aa3420f9c0 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 517s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa342137d0 and GSocketClientAsyncConnectData 0x2aa34216330 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa342158b0 for GSocketClientAsyncConnectData 0x2aa34216330 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 517s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 517s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 517s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa342149a0 and GSocketClientAsyncConnectData 0x2aa3420f9c0 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 517s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34216490 for GSocketClientAsyncConnectData 0x2aa3420f9c0 517s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 517s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 517s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 517s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 517s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 517s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 517s ok 10 /proxy/override 517s ok 11 /proxy/enumerator-ports 517s # End of proxy tests 517s ok - glib/proxy-test.test 517s # Running test: glib/registered-type-info.test 517s TAP version 13 517s # random seed: R02S89ae8864bac8d4cb7d5575fa038e3b6a 517s 1..1 517s # Start of registered-type-info tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_P9C1K2/registered-type-info/boxed/.dirs/runtime 517s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 517s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 517s # Expecting CClosure to not be boxed 517s # Expecting TypeCValue to not be boxed 517s # Expecting InitiallyUnownedClass to not be boxed 517s # Expecting BookmarkFile to be boxed 517s # Expecting Closure to be boxed 517s # Expecting Object to not be boxed 517s ok 1 /registered-type-info/boxed 517s # End of registered-type-info tests 517s ok - glib/registered-type-info.test 517s # Running test: glib/async-splice-output-stream.test 517s TAP version 13 517s # random seed: R02Sbcb8385840f91f4ce4387e8cb796112a 517s 1..5 517s # Start of async-splice tests 517s ok 1 /async-splice/copy-chunks 517s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 517s ok 2 /async-splice/copy-chunks-threaded-input 517s ok 3 /async-splice/copy-chunks-threaded-output 517s ok 4 /async-splice/copy-chunks-threaded 517s ok 5 /async-splice/cancelled 517s # End of async-splice tests 517s ok - glib/async-splice-output-stream.test 517s # Running test: glib/autoptr-gio.test 517s TAP version 13 517s # random seed: R02Se55a5135771fd9033083779702a9084b 517s 1..1 517s # Start of autoptr tests 517s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 517s ok 1 /autoptr/autoptr 517s # End of autoptr tests 517s ok - glib/autoptr-gio.test 517s # Running test: glib/value.test 517s TAP version 13 517s # random seed: R02S2cdb944f55f112b4b280cbed357615dd 517s 1..8 517s # Start of value tests 517s ok 1 /value/basic 517s ok 2 /value/collection 517s ok 3 /value/copying 517s ok 4 /value/enum-transformation 517s ok 5 /value/gtype 517s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 517s ok 6 /value/string 517s # Next: GObject object in GValue of GObject to GValue of GObject 517s # Next: GObject object in GValue of GObject to GValue of TestInterface 517s # Next: GObject object in GValue of GObject to GValue of TestObjectA 517s # Next: GObject object in GValue of GObject to GValue of TestObjectB 517s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 517s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 517s # Next: TestObjectA object in GValue of GObject to GValue of GObject 517s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 517s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 517s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 517s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 517s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 517s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 517s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 517s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 517s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 517s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 517s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 517s # Next: TestObjectB object in GValue of GObject to GValue of GObject 517s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 517s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 517s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 517s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 517s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 517s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 517s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 517s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 517s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 517s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 517s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 517s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 517s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 517s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 517s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 517s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 517s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 517s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 517s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 517s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 517s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 517s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 517s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 517s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 517s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 517s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 517s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 517s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 517s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 517s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 517s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 517s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 517s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 517s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 517s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 517s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 517s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 517s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 517s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 517s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 517s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 517s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 517s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 517s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 517s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 517s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 517s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 517s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 517s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 517s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 517s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 517s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 517s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 517s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 517s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 517s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 517s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 517s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 517s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 517s ok 7 /value/transform-object 517s # Start of array tests 517s ok 8 /value/array/basic 517s # End of array tests 517s # End of value tests 517s ok - glib/value.test 517s # Running test: glib/completion.test 517s TAP version 13 517s # random seed: R02S6e7c257ead09e29bb14f728523dc80f0 517s 1..1 517s # Start of completion tests 517s ok 1 /completion/test-completion 517s # End of completion tests 517s ok - glib/completion.test 517s # Running test: glib/pathbuf.test 517s TAP version 13 517s # random seed: R02S729a0335a64a91e318872b17ef6ca5e5 517s 1..3 517s # Start of pathbuf tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_N6V1K2/pathbuf/init/.dirs/runtime 517s # Initializing empty path buf 517s # Initializing with empty path 517s # Initializing with full path 517s # Initializing with no path 517s # Allocating GPathBuf on the heap 517s ok 1 /pathbuf/init 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_N6V1K2/pathbuf/push-pop/.dirs/runtime 517s # Pushing relative path component 517s # Pushing absolute path component 517s # Popping a path component 517s # Can't pop the last element of a path buffer 517s ok 2 /pathbuf/push-pop 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_N6V1K2/pathbuf/filename-extension/.dirs/runtime 517s ok 3 /pathbuf/filename-extension 517s # End of pathbuf tests 517s ok - glib/pathbuf.test 517s # Running test: glib/atomic-c-11.test 517s TAP version 13 517s # random seed: R02S88b291141eb7f97619d19eed7d3ad99e 517s 1..2 517s # Start of atomic tests 517s ok 1 /atomic/types 517s ok 2 /atomic/threaded 517s # End of atomic tests 517s ok - glib/atomic-c-11.test 517s # Running test: glib/cxx-17.test 517s TAP version 13 517s # random seed: R02Sb2d7f17f6328c8430a53bbb4484e7f7e 517s 1..2 517s # Start of gtask tests 517s # 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. 517s ok 1 /gtask/name 517s # Start of name tests 517s # 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. 517s ok 2 /gtask/name/macro-wrapper 517s # End of name tests 517s # End of gtask tests 517s ok - glib/cxx-17.test 517s # Running test: glib/object.test 517s TAP version 13 517s # random seed: R02Sab56fd32f6694130da4295e4a3192bb7 517s 1..2 517s # Start of object tests 517s # Start of constructor tests 517s ok 1 /object/constructor/singleton 517s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 517s # End of constructor tests 517s # End of object tests 517s ok - glib/object.test 517s # Running test: glib/markup-collect.test 517s TAP version 13 517s # random seed: R02S0dbc8432dc9e192e786a35affadfbed5 517s 1..21 517s # Start of markup tests 517s # Start of collect tests 517s ok 1 /markup/collect/0 517s ok 2 /markup/collect/1 517s ok 3 /markup/collect/2 517s ok 4 /markup/collect/3 517s ok 5 /markup/collect/4 517s ok 6 /markup/collect/5 517s ok 7 /markup/collect/6 517s ok 8 /markup/collect/7 517s ok 9 /markup/collect/8 517s ok 10 /markup/collect/9 517s ok 11 /markup/collect/10 517s ok 12 /markup/collect/11 517s ok 13 /markup/collect/12 517s ok 14 /markup/collect/13 517s ok 15 /markup/collect/14 517s ok 16 /markup/collect/15 517s ok 17 /markup/collect/16 517s ok 18 /markup/collect/17 517s ok 19 /markup/collect/18 517s ok 20 /markup/collect/19 517s ok 21 /markup/collect/cleanup 517s # End of collect tests 517s # End of markup tests 517s ok - glib/markup-collect.test 517s # Running test: glib/network-address.test 517s TAP version 13 517s # random seed: R02Sc30ae5cbabe163a13cb56d55faf70dce 517s 1..72 517s # Start of network-address tests 517s ok 1 /network-address/basic 517s ok 2 /network-address/scope-id 517s ok 3 /network-address/uri-scope-id 517s ok 4 /network-address/to-string 517s # Start of parse-host tests 517s ok 5 /network-address/parse-host/0 517s ok 6 /network-address/parse-host/1 517s ok 7 /network-address/parse-host/2 517s ok 8 /network-address/parse-host/3 517s ok 9 /network-address/parse-host/4 517s ok 10 /network-address/parse-host/5 517s ok 11 /network-address/parse-host/6 517s ok 12 /network-address/parse-host/7 517s ok 13 /network-address/parse-host/8 517s ok 14 /network-address/parse-host/9 517s ok 15 /network-address/parse-host/10 517s ok 16 /network-address/parse-host/11 517s ok 17 /network-address/parse-host/12 517s ok 18 /network-address/parse-host/13 517s # End of parse-host tests 517s # Start of parse-uri tests 517s ok 19 /network-address/parse-uri/0 517s ok 20 /network-address/parse-uri/1 517s ok 21 /network-address/parse-uri/2 517s ok 22 /network-address/parse-uri/3 517s ok 23 /network-address/parse-uri/4 517s ok 24 /network-address/parse-uri/5 517s ok 25 /network-address/parse-uri/6 517s ok 26 /network-address/parse-uri/7 517s ok 27 /network-address/parse-uri/8 517s ok 28 /network-address/parse-uri/9 517s # End of parse-uri tests 517s # Start of resolve-address tests 517s # Input: 192.168.1.2 517s ok 29 /network-address/resolve-address/0 517s # Input: fe80::42 517s ok 30 /network-address/resolve-address/1 517s # Input: 192.168.1.2:80 517s ok 31 /network-address/resolve-address/2 517s # Input: [fe80::42] 517s ok 32 /network-address/resolve-address/3 517s # Input: [fe80::42]:80 517s ok 33 /network-address/resolve-address/4 517s # Input: 192.168.258 517s ok 34 /network-address/resolve-address/5 517s # Input: 192.11010306 517s ok 35 /network-address/resolve-address/6 517s # Input: 3232235778 517s ok 36 /network-address/resolve-address/7 517s # Input: 0300.0250.0001.0001 517s ok 37 /network-address/resolve-address/8 517s # Input: 0xC0.0xA8.0x01.0x02 517s ok 38 /network-address/resolve-address/9 517s # Input: 0xc0.0xa8.0x01.0x02 517s ok 39 /network-address/resolve-address/10 517s # Input: 0xc0a80102 517s ok 40 /network-address/resolve-address/11 517s # End of resolve-address tests 517s # Start of loopback tests 517s ok 41 /network-address/loopback/basic 517s ok 42 /network-address/loopback/sync 517s ok 43 /network-address/loopback/async 517s # End of loopback tests 517s # Start of localhost tests 517s ok 44 /network-address/localhost/async 517s ok 45 /network-address/localhost/sync 517s # End of localhost tests 517s # Start of happy-eyeballs tests 517s ok 46 /network-address/happy-eyeballs/basic 518s ok 47 /network-address/happy-eyeballs/parallel 518s ok 48 /network-address/happy-eyeballs/slow-ipv4 518s ok 49 /network-address/happy-eyeballs/slow-ipv6 518s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 518s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 518s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 518s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 518s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 518s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 519s # /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow summary: Ensure that we successfully return IPv4 results even when they come significantly later than an IPv6 failure. 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 57 /network-address/happy-eyeballs/both-error 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 58 /network-address/happy-eyeballs/both-error-delays-1 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s ok 59 /network-address/happy-eyeballs/both-error-delays-2 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 60 /network-address/happy-eyeballs/both-error-delays-3 519s # End of happy-eyeballs tests 519s # End of network-address tests 519s # Start of gresolver tests 519s # Start of resolve-address tests 519s # Input: 192.168.1.2 519s ok 61 /gresolver/resolve-address/0 519s # Input: fe80::42 519s ok 62 /gresolver/resolve-address/1 519s # Input: 192.168.1.2:80 519s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 519s ok 63 /gresolver/resolve-address/2 519s # Input: [fe80::42] 519s # Error: Error resolving ?[fe80::42]?: Name or service not known 519s ok 64 /gresolver/resolve-address/3 519s # Input: [fe80::42]:80 519s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 519s ok 65 /gresolver/resolve-address/4 519s # Input: 192.168.258 519s # Error: Error resolving ?192.168.258?: Name or service not known 519s ok 66 /gresolver/resolve-address/5 519s # Input: 192.11010306 519s # Error: Error resolving ?192.11010306?: Name or service not known 519s ok 67 /gresolver/resolve-address/6 519s # Input: 3232235778 519s # Error: Error resolving ?3232235778?: Name or service not known 519s ok 68 /gresolver/resolve-address/7 519s # Input: 0300.0250.0001.0001 519s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 519s ok 69 /gresolver/resolve-address/8 519s # Input: 0xC0.0xA8.0x01.0x02 519s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 519s ok 70 /gresolver/resolve-address/9 519s # Input: 0xc0.0xa8.0x01.0x02 519s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 519s ok 71 /gresolver/resolve-address/10 519s # Input: 0xc0a80102 519s # Error: Error resolving ?0xc0a80102?: Name or service not known 519s ok 72 /gresolver/resolve-address/11 519s # End of resolve-address tests 519s # End of gresolver tests 519s ok - glib/network-address.test 519s # Running test: glib/gdbus-connection-loss.test 519s TAP version 13 519s # random seed: R02Sc3574fc390c6499072f0a2566f2af6f2 519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 519s 1..1 519s # Start of gdbus tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_C75VK2/gdbus/connection-loss/.dirs/runtime 519s ok 1 /gdbus/connection-loss 519s # End of gdbus tests 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 - glib/gdbus-connection-loss.test 519s # Running test: glib/permission.test 519s TAP version 13 519s # random seed: R02Sc9d7a74dc93301fb92d01653f1308a67 519s 1..1 519s # Start of permission tests 519s ok 1 /permission/simple 519s # End of permission tests 519s ok - glib/permission.test 519s # Running test: glib/markup.test 519s TAP version 13 519s # random seed: R02Sc52def005307a842fbc96db1ed1fa8a9 519s 1..1 519s # Start of markup tests 519s ok 1 /markup/stack 519s # End of markup tests 519s ok - glib/markup.test 519s # Running test: glib/macros.test 519s TAP version 13 519s # random seed: R02S52677dd968d10736504204004fa3738f 519s 1..3 519s # Start of alignof tests 519s ok 1 /alignof/fallback 519s # End of alignof tests 519s # Start of assert tests 519s ok 2 /assert/static 519s # End of assert tests 519s # Start of struct tests 519s ok 3 /struct/sizeof_member 519s # End of struct tests 519s ok - glib/macros.test 519s # Running test: glib/messages-low-memory.py.test 519s TAP version 13 519s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 519s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 519s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 519s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 519s # Return code: -6 519s # Output: 519s # Error: GLib-Message: 21:54:46.425: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 519s # GLib-Message: 21:54:46.425: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 519s # ../../../glib/gprintf.c:350: failed to allocate memory 519s 1..1 519s ok - glib/messages-low-memory.py.test 519s # Running test: glib/resolver-parsing.test 519s TAP version 13 519s # random seed: R02S65c8604e9b0edcf29a5e8bca0556be44 519s 1..20 519s # Start of gresolver tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/invalid-header/.dirs/runtime 519s ok 1 /gresolver/invalid-header 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/unknown-record-type/.dirs/runtime 519s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 519s ok 2 /gresolver/unknown-record-type 519s # Start of mx tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/valid/.dirs/runtime 519s ok 3 /gresolver/mx/valid 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/.dirs/runtime 519s ok 4 /gresolver/mx/invalid 519s # Start of invalid tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short/.dirs/runtime 519s ok 5 /gresolver/mx/invalid/too-short 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/mx/invalid/too-short2/.dirs/runtime 519s ok 6 /gresolver/mx/invalid/too-short2 519s # End of invalid tests 519s # End of mx tests 519s # Start of ns tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/valid/.dirs/runtime 519s ok 7 /gresolver/ns/valid 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/ns/invalid/.dirs/runtime 519s ok 8 /gresolver/ns/invalid 519s # End of ns tests 519s # Start of soa tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/valid/.dirs/runtime 519s ok 9 /gresolver/soa/valid 519s # Start of invalid tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/mname/.dirs/runtime 519s ok 10 /gresolver/soa/invalid/mname 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/rname/.dirs/runtime 519s ok 11 /gresolver/soa/invalid/rname 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/soa/invalid/too-short/.dirs/runtime 519s ok 12 /gresolver/soa/invalid/too-short 519s # End of invalid tests 519s # End of soa tests 519s # Start of srv tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/valid/.dirs/runtime 519s ok 13 /gresolver/srv/valid 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/.dirs/runtime 519s ok 14 /gresolver/srv/invalid 519s # Start of invalid tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short/.dirs/runtime 519s ok 15 /gresolver/srv/invalid/too-short 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/srv/invalid/too-short2/.dirs/runtime 519s ok 16 /gresolver/srv/invalid/too-short2 519s # End of invalid tests 519s # End of srv tests 519s # Start of txt tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/.dirs/runtime 519s ok 17 /gresolver/txt/valid 519s # Start of valid tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 519s ok 18 /gresolver/txt/valid/multiple-strings 519s # End of valid tests 519s # Start of invalid tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/empty/.dirs/runtime 519s ok 19 /gresolver/txt/invalid/empty 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y96ZK2/gresolver/txt/invalid/overflow/.dirs/runtime 519s ok 20 /gresolver/txt/invalid/overflow 519s # End of invalid tests 519s # End of txt tests 519s # End of gresolver tests 519s ok - glib/resolver-parsing.test 519s # Running test: glib/assert-msg-test.py.test 519s TAP version 13 519s ok 1 __main__.TestAssertMessage.test_gassert 519s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 519s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 519s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 519s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 519s # Error: ** 519s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 519s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 519s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 519s 1..2 519s ok - glib/assert-msg-test.py.test 519s # Running test: glib/macros-c-17.test 519s TAP version 13 519s # random seed: R02S68a9cc5e75ea88a84ab2eda582b89139 519s 1..4 519s # Start of C tests 519s ok 1 /C/standard-17 519s # End of C tests 519s # Start of alignof tests 519s ok 2 /alignof/fallback 519s # End of alignof tests 519s # Start of assert tests 519s ok 3 /assert/static 519s # End of assert tests 519s # Start of struct tests 519s ok 4 /struct/sizeof_member 519s # End of struct tests 519s ok - glib/macros-c-17.test 519s # Running test: glib/gthash.test 519s TAP version 13 519s # random seed: R02S600d8ea8b71e89ec7f0583e42db7f651 519s 1..1 519s # Start of gthash tests 519s ok 1 /gthash/build-retrieve 519s # End of gthash tests 519s ok - glib/gthash.test 519s # Running test: glib/bindinggroup.test 519s TAP version 13 519s # random seed: R02S5a9d6b268f7264067a99f5fa0514e891 519s 1..11 519s # Start of GObject tests 519s # Start of BindingGroup tests 519s ok 1 /GObject/BindingGroup/invalid 519s ok 2 /GObject/BindingGroup/default 519s ok 3 /GObject/BindingGroup/bidirectional 519s ok 4 /GObject/BindingGroup/transform 519s ok 5 /GObject/BindingGroup/transform-closures 519s ok 6 /GObject/BindingGroup/same-object 519s ok 7 /GObject/BindingGroup/weak-ref-source 519s ok 8 /GObject/BindingGroup/weak-ref-target 519s ok 9 /GObject/BindingGroup/properties 519s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 519s ok 11 /GObject/BindingGroup/empty-closures 519s # End of BindingGroup tests 519s # End of GObject tests 519s ok - glib/bindinggroup.test 519s # Running test: glib/qdata.test 519s TAP version 13 519s # random seed: R02Sd5630867805cd4f31be6f445711cd4c9 519s 1..2 519s # Start of qdata tests 519s ok 1 /qdata/threaded 519s ok 2 /qdata/dup 519s # End of qdata tests 519s ok - glib/qdata.test 519s # Running test: glib/hostutils.test 519s TAP version 13 519s # random seed: R02S63f7d06e6e5cadc302d729cd8abb6f46 519s 1..3 519s # Start of hostutils tests 519s ok 1 /hostutils/to_ascii 519s ok 2 /hostutils/to_unicode 519s ok 3 /hostutils/is_ip_addr 519s # End of hostutils tests 519s ok - glib/hostutils.test 519s # Running test: glib/memory-output-stream.test 519s TAP version 13 519s # random seed: R02S1f17f895c91e8567b8b60de937e22b55 519s 1..10 519s # Start of memory-output-stream tests 519s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 519s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 519s ok 1 /memory-output-stream/truncate 519s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 519s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 519s ok 2 /memory-output-stream/get-data-size 519s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 519s ok 3 /memory-output-stream/properties 519s ok 4 /memory-output-stream/write-bytes 519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 519s ok 5 /memory-output-stream/write-null 519s ok 6 /memory-output-stream/writev 519s ok 7 /memory-output-stream/writev_nonblocking 519s ok 8 /memory-output-stream/steal_as_bytes 519s # Start of seek tests 519s ok 9 /memory-output-stream/seek/fixed 519s ok 10 /memory-output-stream/seek/resizable 519s # End of seek tests 519s # End of memory-output-stream tests 519s ok - glib/memory-output-stream.test 519s # Running test: glib/module-test-library.test 519s TAP version 13 519s # random seed: R02Sf9b216e95b13695e3f98cfae9cb362cb 519s 1..2 519s # Start of module tests 519s ok 1 /module/basics 519s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 519s ok 2 /module/invalid-libtool-archive 519s # End of module tests 519s ok - glib/module-test-library.test 519s # Running test: glib/basic-signals.test 519s TAP version 13 519s # random seed: R02S2650d03a9625bd2c339bf1332a160cf4 519s 1..1 519s # Start of gobject tests 519s ok 1 /gobject/basic-signals 519s # End of gobject tests 519s ok - glib/basic-signals.test 519s # Running test: glib/fileattributematcher.test 519s TAP version 13 519s # random seed: R02Se426d6f2ee1e6bd4bdd137dfbb784398 519s 1..3 519s # Start of fileattributematcher tests 519s ok 1 /fileattributematcher/exact 519s ok 2 /fileattributematcher/equality 519s ok 3 /fileattributematcher/subtract 519s # End of fileattributematcher tests 519s ok - glib/fileattributematcher.test 519s # Running test: glib/tls-certificate.test 519s TAP version 13 519s # random seed: R02S7291bddee8d8d19a89bcbf48853cea76 519s 1..19 519s # Start of tls-certificate tests 519s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 519s ok 1 /tls-certificate/pem-parser 519s ok 2 /tls-certificate/pem-parser-handles-chain 519s ok 3 /tls-certificate/from_file 519s ok 4 /tls-certificate/from_files 519s ok 5 /tls-certificate/from_files_crlf 519s ok 6 /tls-certificate/from_files_pkcs8 519s ok 7 /tls-certificate/from_files_pkcs8enc 519s ok 8 /tls-certificate/list_from_file 519s ok 9 /tls-certificate/pkcs11-uri 519s ok 10 /tls-certificate/pkcs11-uri-unsupported 519s ok 11 /tls-certificate/from_pkcs12 519s ok 12 /tls-certificate/from_pkcs12_file 519s ok 13 /tls-certificate/not-valid-before 519s ok 14 /tls-certificate/not-valid-after 519s ok 15 /tls-certificate/subject-name 519s ok 16 /tls-certificate/issuer-name 519s ok 17 /tls-certificate/dns-names 519s ok 18 /tls-certificate/ip-addresses 519s ok 19 /tls-certificate/pem-parser-no-sentinel 519s # End of tls-certificate tests 519s ok - glib/tls-certificate.test 519s # Running test: glib/gdbus-message.test 519s TAP version 13 519s # random seed: R02Sb1f2a04b00d5cbfb114a7813f8739b92 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_273IK2/gdbus/message/lock/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/lock/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_273IK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_273IK2/gdbus/message/lock/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/lock/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_273IK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_273IK2/gdbus/message/lock/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/lock/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/lock/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_273IK2/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_273IK2/gdbus/message/copy/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/copy/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_273IK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_273IK2/gdbus/message/copy/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/copy/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_273IK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_273IK2/gdbus/message/copy/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/copy/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/copy/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_273IK2/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_273IK2/gdbus/message/bytes-needed/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/bytes-needed/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_273IK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_273IK2/gdbus/message/bytes-needed/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/bytes-needed/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_273IK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_273IK2/gdbus/message/bytes-needed/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/bytes-needed/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_273IK2/gdbus/message/bytes-needed/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_273IK2/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/stream-rw_all.test 519s TAP version 13 519s # random seed: R02Sec011db3d99cf071dd7b9b586c6905c8 519s 1..3 519s # Start of stream tests 519s # Start of read_all_async tests 519s ok 1 /stream/read_all_async/memory 519s # End of read_all_async tests 519s # Start of write_all_async tests 519s ok 2 /stream/write_all_async/memory 519s # End of write_all_async tests 519s # Start of read_write_all_async tests 519s ok 3 /stream/read_write_all_async/pipe 519s # End of read_write_all_async tests 519s # End of stream tests 519s ok - glib/stream-rw_all.test 519s # Running test: glib/signals-refcount3.test 519s TAP version 13 519s # random seed: R02S2409b15302379d9bf99bb0ee7d5f5ec9 519s 1..1 519s # Start of gobject tests 519s # Start of refcount tests 519s # init 0x2aa16142420 519s # 519s # init 0x2aa161425c0 519s # 521s # Executing: glib/signals-refcount3.test 524s # dispose 0x2aa16142420! 524s # 524s # dispose 0x2aa161425c0! 524s # 524s ok 1 /gobject/refcount/signals 524s # slow test /gobject/refcount/signals executed in 5.00 secs 524s # End of refcount tests 524s # End of gobject tests 524s ok - glib/signals-refcount3.test 524s # Running test: glib/resources.test 524s TAP version 13 524s # random seed: R02Sfc88b9b09aa17e847ddc292c0f0ca145 524s 1..17 524s # Start of resource tests 524s ok 1 /resource/file 524s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 524s ok 2 /resource/file-path 524s ok 3 /resource/data 524s ok 4 /resource/data_unaligned 524s ok 5 /resource/data-corrupt 524s ok 6 /resource/data-empty 524s ok 7 /resource/registered 524s ok 8 /resource/manual 524s ok 9 /resource/manual2 524s ok 10 /resource/automatic 524s ok 11 /resource/module 524s ok 12 /resource/binary-linked 524s ok 13 /resource/64k 524s GLib-GIO-Message: 21:54:51.714: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 524s ok 14 /resource/overlay 524s ok 15 /resource/digits 524s # Start of uri tests 524s ok 16 /resource/uri/query-info 524s ok 17 /resource/uri/file 524s # End of uri tests 524s # End of resource tests 524s ok - glib/resources.test 524s # Running test: glib/gdbus-auth.test 524s TAP version 13 524s # random seed: R02Sc517713eabb3b9c61c0fe3ca32117c71 524s 1..5 524s # Start of gdbus tests 524s # Start of auth tests 524s # Start of client tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 524s ok 1 /gdbus/auth/client/EXTERNAL 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 524s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 524s # End of client tests 524s # Start of server tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 524s ok 3 /gdbus/auth/server/ANONYMOUS 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 524s ok 4 /gdbus/auth/server/EXTERNAL 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LCQJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 524s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 524s # End of server tests 524s # End of auth tests 524s # End of gdbus tests 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s ok - glib/gdbus-auth.test 524s # Running test: glib/queue.test 524s TAP version 13 524s # random seed: R02S8d099c46e9c5af77e099d26e2a524741 524s 1..12 524s # Start of queue tests 524s ok 1 /queue/basic 524s ok 2 /queue/copy 524s ok 3 /queue/off-by-one 524s ok 4 /queue/find-custom 524s ok 5 /queue/static 524s ok 6 /queue/clear 524s ok 7 /queue/free-full 524s ok 8 /queue/clear-full 524s ok 9 /queue/insert-sibling-link 524s ok 10 /queue/push-nth-link 524s # Start of clear-full tests 524s ok 11 /queue/clear-full/noop 524s # End of clear-full tests 524s # Start of random tests 525s ok 12 /queue/random/seed:1884565219 525s # End of random tests 525s # End of queue tests 525s ok - glib/queue.test 525s # Running test: glib/defaultiface.test 525s TAP version 13 525s # random seed: R02S07d73804ca9e6cb38315cc3b6980ed36 525s 1..2 525s # Start of gobject tests 525s ok 1 /gobject/static-iface 525s ok 2 /gobject/dynamic-iface 525s # End of gobject tests 525s ok - glib/defaultiface.test 525s # Running test: glib/markup-escape.test 525s TAP version 13 525s # random seed: R02S62e89256e9a27e8512d363a2ddfddcbc 525s 1..41 525s # Start of markup tests 525s ok 1 /markup/format 525s # Start of escape-text tests 525s ok 2 /markup/escape-text/0 525s ok 3 /markup/escape-text/1 525s ok 4 /markup/escape-text/2 525s ok 5 /markup/escape-text/3 525s ok 6 /markup/escape-text/4 525s ok 7 /markup/escape-text/5 525s ok 8 /markup/escape-text/6 525s ok 9 /markup/escape-text/7 525s ok 10 /markup/escape-text/8 525s ok 11 /markup/escape-text/9 525s ok 12 /markup/escape-text/10 525s ok 13 /markup/escape-text/11 525s ok 14 /markup/escape-text/12 525s ok 15 /markup/escape-text/13 525s ok 16 /markup/escape-text/14 525s ok 17 /markup/escape-text/15 525s ok 18 /markup/escape-text/16 525s ok 19 /markup/escape-text/17 525s ok 20 /markup/escape-text/18 525s ok 21 /markup/escape-text/19 525s ok 22 /markup/escape-text/20 525s ok 23 /markup/escape-text/21 525s ok 24 /markup/escape-text/22 525s # End of escape-text tests 525s # Start of escape-unichar tests 525s ok 25 /markup/escape-unichar/0 525s ok 26 /markup/escape-unichar/1 525s ok 27 /markup/escape-unichar/2 525s ok 28 /markup/escape-unichar/3 525s ok 29 /markup/escape-unichar/4 525s ok 30 /markup/escape-unichar/5 525s ok 31 /markup/escape-unichar/6 525s ok 32 /markup/escape-unichar/7 525s ok 33 /markup/escape-unichar/8 525s ok 34 /markup/escape-unichar/9 525s ok 35 /markup/escape-unichar/10 525s ok 36 /markup/escape-unichar/11 525s ok 37 /markup/escape-unichar/12 525s ok 38 /markup/escape-unichar/13 525s ok 39 /markup/escape-unichar/14 525s ok 40 /markup/escape-unichar/15 525s ok 41 /markup/escape-unichar/16 525s # End of escape-unichar tests 525s # End of markup tests 525s ok - glib/markup-escape.test 525s # Running test: glib/pattern.test 525s TAP version 13 525s # random seed: R02S6132bb20bcaffd74f466b6d8f53154d6 525s 1..90 525s # Start of pattern tests 525s # Start of compile tests 525s ok 1 /pattern/compile/0 525s ok 2 /pattern/compile/1 525s ok 3 /pattern/compile/2 525s ok 4 /pattern/compile/3 525s ok 5 /pattern/compile/4 525s ok 6 /pattern/compile/5 525s ok 7 /pattern/compile/6 525s ok 8 /pattern/compile/7 525s ok 9 /pattern/compile/8 525s ok 10 /pattern/compile/9 525s ok 11 /pattern/compile/10 525s ok 12 /pattern/compile/11 525s ok 13 /pattern/compile/12 525s ok 14 /pattern/compile/13 525s # End of compile tests 525s # Start of copy tests 525s ok 15 /pattern/copy/0 525s ok 16 /pattern/copy/1 525s ok 17 /pattern/copy/2 525s ok 18 /pattern/copy/3 525s ok 19 /pattern/copy/4 525s ok 20 /pattern/copy/5 525s ok 21 /pattern/copy/6 525s ok 22 /pattern/copy/7 525s ok 23 /pattern/copy/8 525s ok 24 /pattern/copy/9 525s ok 25 /pattern/copy/10 525s ok 26 /pattern/copy/11 525s ok 27 /pattern/copy/12 525s ok 28 /pattern/copy/13 525s # End of copy tests 525s # Start of match tests 525s ok 29 /pattern/match/0 525s ok 30 /pattern/match/1 525s ok 31 /pattern/match/2 525s ok 32 /pattern/match/3 525s ok 33 /pattern/match/4 525s ok 34 /pattern/match/5 525s ok 35 /pattern/match/6 525s ok 36 /pattern/match/7 525s ok 37 /pattern/match/8 525s ok 38 /pattern/match/9 525s ok 39 /pattern/match/10 525s ok 40 /pattern/match/11 525s ok 41 /pattern/match/12 525s ok 42 /pattern/match/13 525s ok 43 /pattern/match/14 525s ok 44 /pattern/match/15 525s ok 45 /pattern/match/16 525s ok 46 /pattern/match/17 525s ok 47 /pattern/match/18 525s ok 48 /pattern/match/19 525s ok 49 /pattern/match/20 525s ok 50 /pattern/match/21 525s ok 51 /pattern/match/22 525s ok 52 /pattern/match/23 525s ok 53 /pattern/match/24 525s ok 54 /pattern/match/25 525s ok 55 /pattern/match/26 525s ok 56 /pattern/match/27 525s ok 57 /pattern/match/28 525s ok 58 /pattern/match/29 525s ok 59 /pattern/match/30 525s ok 60 /pattern/match/31 525s ok 61 /pattern/match/32 525s ok 62 /pattern/match/33 525s ok 63 /pattern/match/34 525s ok 64 /pattern/match/35 525s ok 65 /pattern/match/36 525s ok 66 /pattern/match/37 525s ok 67 /pattern/match/38 525s ok 68 /pattern/match/39 525s ok 69 /pattern/match/40 525s ok 70 /pattern/match/41 525s ok 71 /pattern/match/42 525s ok 72 /pattern/match/43 525s ok 73 /pattern/match/44 525s ok 74 /pattern/match/45 525s ok 75 /pattern/match/46 525s ok 76 /pattern/match/47 525s ok 77 /pattern/match/48 525s ok 78 /pattern/match/49 525s ok 79 /pattern/match/50 525s # End of match tests 525s # Start of equal tests 525s ok 80 /pattern/equal/0 525s ok 81 /pattern/equal/1 525s ok 82 /pattern/equal/2 525s ok 83 /pattern/equal/3 525s ok 84 /pattern/equal/4 525s ok 85 /pattern/equal/5 525s ok 86 /pattern/equal/6 525s ok 87 /pattern/equal/7 525s ok 88 /pattern/equal/8 525s ok 89 /pattern/equal/9 525s ok 90 /pattern/equal/10 525s # End of equal tests 525s # End of pattern tests 525s ok - glib/pattern.test 525s # Running test: glib/inet-address.test 525s TAP version 13 525s # random seed: R02Sd6423bba9a96973e192428fe65c1c458 525s 1..11 525s # Start of inet-address tests 525s ok 1 /inet-address/parse 525s ok 2 /inet-address/any 525s ok 3 /inet-address/loopback 525s ok 4 /inet-address/bytes 525s ok 5 /inet-address/property 525s # End of inet-address tests 525s # Start of socket-address tests 525s ok 6 /socket-address/basic 525s ok 7 /socket-address/to-string 525s # End of socket-address tests 525s # Start of address-mask tests 525s ok 8 /address-mask/parse 525s ok 9 /address-mask/property 525s ok 10 /address-mask/equal 525s ok 11 /address-mask/match 525s # End of address-mask tests 525s ok - glib/inet-address.test 525s # Running test: glib/memchunk.test 525s TAP version 13 525s # random seed: R02S5e6bbe2c4805e53818aeb8332319c3eb 525s 1..1 525s # Start of memchunk tests 525s ok 1 /memchunk/basic 525s # End of memchunk tests 525s ok - glib/memchunk.test 525s # Running test: glib/signals-refcount4.test 525s TAP version 13 525s # random seed: R02Sdc9532d3d6436da2ab00bf90532ca462 525s 1..1 525s # Start of gobject tests 525s # Start of refcount tests 525s # init 0x2aa219c1420 525s # 525s # init 0x2aa219c15c0 525s # 526s # Executing: glib/signals-refcount4.test 530s # dispose 0x2aa219c1420! 530s # 530s # dispose 0x2aa219c15c0! 530s # 530s ok 1 /gobject/refcount/signals 530s # slow test /gobject/refcount/signals executed in 5.00 secs 530s # End of refcount tests 530s # End of gobject tests 530s ok - glib/signals-refcount4.test 530s # Running test: glib/overflow-fallback.test 530s TAP version 13 530s # random seed: R02S3c643e00c751dd41200c6acc2f4747fc 530s 1..6 530s # Start of glib tests 530s # Start of checked-math tests 530s ok 1 /glib/checked-math/guint-add 530s ok 2 /glib/checked-math/guint-mul 530s ok 3 /glib/checked-math/guint64-add 530s ok 4 /glib/checked-math/guint64-mul 530s ok 5 /glib/checked-math/gsize-add 530s ok 6 /glib/checked-math/gsize-mul 530s # End of checked-math tests 530s # End of glib tests 530s ok - glib/overflow-fallback.test 530s # Running test: glib/gdbus-proxy.test 530s TAP version 13 530s # random seed: R02S7234decf7a1ee1f68ea98822685032a5 530s 1..5 530s # Start of gdbus tests 530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/home 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/cache 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/system-config2 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/config 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/system-data2 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/data 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/state 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/.dirs/runtime 530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 531s # Executing: glib/gdbus-proxy.test 531s ok 1 /gdbus/proxy 531s # slow test /gdbus/proxy executed in 1.72 secs 531s # Start of proxy tests 531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/home 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/cache 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/system-config2 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/config 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/system-data2 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/data 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/state 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-properties/.dirs/runtime 531s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 531s ok 2 /gdbus/proxy/no-properties 531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/home 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/cache 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/config 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/data 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/state 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 531s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 531s ok 3 /gdbus/proxy/wellknown-noauto 531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/home 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/cache 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/system-config2 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/config 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/system-data2 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/data 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/state 531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/async/.dirs/runtime 531s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 533s ok 4 /gdbus/proxy/async 533s # slow test /gdbus/proxy/async executed in 1.72 secs 533s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/home 533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/cache 533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/system-config2 533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/config 533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/system-data2 533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/data 533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/state 533s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AXWWK2/gdbus/proxy/no-match-rule/.dirs/runtime 533s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 533s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 535s ok 5 /gdbus/proxy/no-match-rule 535s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 535s # End of proxy tests 535s # End of gdbus tests 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s ok - glib/gdbus-proxy.test 535s cleaning up pid 4276 535s # Running test: glib/socket.test 535s TAP version 13 535s # random seed: R02Se87ee84e0356ee2dd28416b062f53eac 535s 1..28 535s # Start of socket tests 536s ok 1 /socket/ipv4_sync 536s # slow test /socket/ipv4_sync executed in 1.00 secs 536s # Executing: glib/socket.test 537s ok 2 /socket/ipv4_async 537s # slow test /socket/ipv4_async executed in 1.00 secs 537s ok 3 /socket/ipv6_sync 537s ok 4 /socket/ipv6_async 537s ok 5 /socket/ipv6_v4mapped 538s ok 6 /socket/close_graceful 538s # slow test /socket/close_graceful executed in 1.00 secs 538s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 538s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 538s ok 8 /socket/fd_reuse 538s ok 9 /socket/address 538s ok 10 /socket/unix-from-fd 538s ok 11 /socket/unix-connection 538s ok 12 /socket/unix-connection-ancillary-data 538s ok 13 /socket/source-postmortem 538s ok 14 /socket/read_write 538s ok 15 /socket/read_writev 538s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 538s ok 16 /socket/receive_bytes 538s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 538s ok 17 /socket/receive_bytes_from 538s # Start of ipv4_sync tests 538s ok 18 /socket/ipv4_sync/datagram 538s # Start of datagram tests 539s ok 19 /socket/ipv4_sync/datagram/timeouts 539s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 539s # End of datagram tests 539s # End of ipv4_sync tests 539s # Start of ipv6_sync tests 539s ok 20 /socket/ipv6_sync/datagram 539s # Start of datagram tests 540s ok 21 /socket/ipv6_sync/datagram/timeouts 540s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 540s # End of datagram tests 540s # End of ipv6_sync tests 540s # Start of reuse tests 540s ok 22 /socket/reuse/tcp 540s ok 23 /socket/reuse/udp 540s # End of reuse tests 540s # Start of get_available tests 540s ok 24 /socket/get_available/datagram 540s ok 25 /socket/get_available/stream 540s # End of get_available tests 540s # Start of credentials tests 540s # Supported on this OS: GCredentials:linux-ucred:pid=0 540s ok 26 /socket/credentials/tcp_client 540s # Supported on this OS: GCredentials:linux-ucred:pid=0 540s ok 27 /socket/credentials/tcp_server 540s # Supported on this OS: GCredentials:linux-ucred:pid=4304,uid=1000,gid=1000 540s ok 28 /socket/credentials/unix_socketpair 540s # End of credentials tests 540s # End of socket tests 540s ok - glib/socket.test 540s # Running test: glib/mount-operation.test 540s TAP version 13 540s # random seed: R02S7b2c0c3e6b7f77355acc82f9a470bec6 540s 1..2 540s # Start of mount-operation tests 540s ok 1 /mount-operation/construction 540s ok 2 /mount-operation/properties 540s # End of mount-operation tests 540s ok - glib/mount-operation.test 540s # Running test: glib/gsocketclient-slow.test 540s TAP version 13 540s # random seed: R02Sf357fcdc042ed6ca6bbffaabc7574e5e 540s 1..3 540s # Start of socket-client tests 540s # Start of happy-eyeballs tests 540s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 540s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1907ead0 and GSocketClientAsyncConnectData 0x2aa190782a0 540s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 540s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 540s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa190801e0 for GSocketClientAsyncConnectData 0x2aa190782a0 540s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 541s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 541s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 541s ok 1 /socket-client/happy-eyeballs/slow 541s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 541s # Start of cancellation tests 541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa19083900 and GSocketClientAsyncConnectData 0x2aa1907f9f0 541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 541s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 541s ok 2 /socket-client/happy-eyeballs/cancellation/instant 541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa190826f0 and GSocketClientAsyncConnectData 0x2aa190782a0 541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa19084550 for GSocketClientAsyncConnectData 0x2aa190782a0 541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 541s # Executing: glib/gsocketclient-slow.test 541s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 541s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 541s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 541s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 541s # End of cancellation tests 541s # End of happy-eyeballs tests 541s # End of socket-client tests 541s ok - glib/gsocketclient-slow.test 541s # Running test: glib/properties-refcount1.test 541s TAP version 13 541s # random seed: R02S17d0a9835f40e1e38ded6906fb5c7f15 541s 1..1 541s # Start of gobject tests 541s # Start of refcount tests 541s # .c 541s # .c 541s # .c 541s # .e 541s # .b 541s # .d 541s # .f 541s # .f 541s # .d 541s # .b 541s # .c 541s # .c 541s # .b 541s # .b 541s # .e 541s # .e 541s # .f 541s # .c 541s # .d 541s # .d 541s # .b 541s # .f 541s # .d 542s # .d 542s # .e 542s # .e 542s # .d 542s # .d 542s # .d 542s # .c 542s # .b 542s # .c 542s # .f 542s # .e 542s # .b 542s # .e 542s # .e 542s # .d 542s # .b 542s # .c 542s # .f 542s # .f 542s # .f 542s # .c 542s # .c 542s # .f 542s # .c 542s # .f 542s # .e 542s # .d 542s # .b 542s # .f 542s # .d 542s # .c 542s # .d 542s # .e 542s # .b 542s # .b 542s # .b 542s # .b 542s # .c 542s # .d 542s # .f 542s # .e 542s # .e 542s # .f 542s # .d 542s # .b 542s # .c 542s # .d 542s # .f 542s # .b 542s # .e 542s # .f 542s # .f 542s # .c 542s # .d 542s # .d 542s # .e 542s # .c 542s # .b 542s # .f 542s # .d 542s # .d 542s # .d 542s # .c 542s # .b 542s # .b 542s # .e 542s # .f 542s # .e 542s # .d 542s # .d 542s # .e 542s # .c 542s # .c 542s # .f 542s # .b 542s # .f 542s # .b 542s # .d 542s # .f 542s # .e 542s # .e 542s # .d 542s # .f 542s # .c 542s # .b 542s # .d 542s # .b 542s # .b 542s # .e 542s # .d 542s # .c 542s # .d 542s # .f 542s # .d 542s # .d 542s # .c 542s # .f 542s # .b 542s # .b 542s # .f 542s # .f 542s # .f 542s # .f 542s # .d 542s # .e 542s # .b 542s # .c 542s # .c 542s # .e 542s # .d 542s # .d 542s # .e 542s # .b 542s # .f 542s # .c 543s # .b 543s # .b 543s # .f 543s # .d 543s # .e 543s # .d 543s # .c 543s # .f 543s # .c 543s # .b 543s # .b 543s # .c 543s # .c 543s # .b 543s # .e 543s # .e 543s # .d 543s # .d 543s # .f 543s # .b 543s # .c 543s # .d 543s # .c 543s # .f 543s # .e 543s # .b 543s # .b 543s # .d 543s # .b 543s # .c 543s # .f 543s # .e 543s # .d 543s # .d 543s # .c 543s # .f 543s # .f 543s # .b 543s # .e 543s # .e 543s # .d 543s # .b 543s # .c 543s # .c 543s # .b 543s # .f 543s # .d 543s # .c 543s # .d 543s # .f 543s # .f 543s # .d 543s # .e 543s # .b 543s # .c 543s # .e 543s # .c 543s # .b 543s # .b 543s # .e 543s # .c 543s # .f 543s # .f 543s # .d 543s # .e 543s # .c 543s # .b 543s # .d 543s # .c 543s # .b 543s # .c 543s # .d 543s # .d 543s # .e 543s # .f 543s # .c 543s # .b 543s # .b 543s # .c 543s # .f 543s # .e 543s # .b 543s # .f 543s # .b 543s # .b 543s # .d 543s # .d 543s # .e 543s # .f 543s # .f 543s # .c 543s # .c 543s # .e 543s # .b 543s # .b 543s # .e 543s # .f 543s # .d 543s # .f 543s # .e 544s # .c 544s # .c 544s # .b 544s # .d 544s # .e 544s # .e 544s # .e 544s # .e 544s # .e 544s # .d 544s # .b 544s # .b 544s # .f 544s # .f 544s # .c 544s # .c 544s # .c 544s # .d 544s # .c 544s # .e 544s # .b 544s # .f 544s # .d 544s # .d 544s # .b 544s # .d 544s # .b 544s # .f 544s # .e 544s # .b 544s # .e 544s # .d 544s # .d 544s # .c 544s # .f 544s # .f 544s # .c 544s # .b 544s # .c 544s # .c 544s # .d 544s # .e 544s # .e 544s # .f 544s # .d 544s # .b 544s # .c 544s # .c 544s # .c 544s # .b 544s # .b 544s # .f 544s # .f 544s # .e 544s # .c 544s # .e 544s # .d 544s # .d 544s # .c 544s # .b 544s # .b 544s # .c 544s # .f 544s # .e 544s # .e 544s # .e 544s # .c 544s # .c 544s # .e 544s # .b 544s # .c 544s # .b 544s # .d 544s # .f 544s # .e 544s # .e 544s # .c 544s # .b 544s # .f 544s # .d 544s # .c 544s # .c 544s # .c 544s # .c 544s # .e 544s # .b 544s # .f 544s # .d 544s # .d 544s # .e 544s # .b 544s ok 1 /gobject/refcount/properties-1 544s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 544s # End of refcount tests 544s # End of gobject tests 544s ok - glib/properties-refcount1.test 544s # Running test: glib/hmac.test 544s TAP version 13 544s # random seed: R02Saefb8ec5250edfe88239cbd1deadca93 544s 1..37 544s # Start of hmac tests 544s ok 1 /hmac/sha1-1 544s ok 2 /hmac/sha1-2 544s ok 3 /hmac/sha1-3 544s ok 4 /hmac/sha1-4 544s ok 5 /hmac/sha1-5 544s ok 6 /hmac/sha1-6 544s ok 7 /hmac/sha1-7 544s ok 8 /hmac/sha256-1 544s ok 9 /hmac/sha256-2 544s ok 10 /hmac/sha256-3 544s ok 11 /hmac/sha256-4 544s ok 12 /hmac/sha256-5 544s ok 13 /hmac/sha256-6 544s ok 14 /hmac/sha384-1 544s ok 15 /hmac/sha384-2 544s ok 16 /hmac/sha384-3 544s ok 17 /hmac/sha384-4 544s ok 18 /hmac/sha384-5 544s ok 19 /hmac/sha384-6 544s ok 20 /hmac/sha512-1 544s ok 21 /hmac/sha512-2 544s ok 22 /hmac/sha512-3 544s ok 23 /hmac/sha512-4 544s ok 24 /hmac/sha512-5 544s ok 25 /hmac/sha512-6 544s ok 26 /hmac/md5-1 544s ok 27 /hmac/md5-2 544s ok 28 /hmac/md5-3 544s ok 29 /hmac/md5-4 544s ok 30 /hmac/md5-5 544s ok 31 /hmac/md5-6 544s ok 32 /hmac/md5-7 544s ok 33 /hmac/ref-unref 544s ok 34 /hmac/copy 544s ok 35 /hmac/for-data 544s ok 36 /hmac/for-string 544s ok 37 /hmac/for-bytes 544s # End of hmac tests 544s ok - glib/hmac.test 544s # Running test: glib/utf8-pointer.test 544s TAP version 13 544s # random seed: R02S7651a449c5551589e506f774bdd11fa8 544s 1..3 544s # Start of utf8 tests 545s ok 1 /utf8/offsets 545s # slow test /utf8/offsets executed in 0.76 secs 545s ok 2 /utf8/lengths 545s ok 3 /utf8/find 545s # End of utf8 tests 545s ok - glib/utf8-pointer.test 545s # Running test: glib/utils-c-11.test 545s TAP version 13 545s # random seed: R02Se9bdbc788bb82ce151d6ddf1d4dab747 545s 1..40 545s # Start of utils tests 545s ok 1 /utils/language-names 545s ok 2 /utils/locale-variants 545s ok 3 /utils/version 545s ok 4 /utils/appname 545s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 545s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 545s ok 5 /utils/prgname-thread-safety 545s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 545s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 545s ok 6 /utils/tmpdir 545s ok 7 /utils/basic_bits 545s ok 8 /utils/bits 545s ok 9 /utils/swap 545s ok 10 /utils/find-program 545s ok 11 /utils/find-program-for-path 545s ok 12 /utils/debug 545s ok 13 /utils/codeset 545s ok 14 /utils/codeset2 545s ok 15 /utils/console-charset 545s ok 16 /utils/gettext 545s ok 17 /utils/username 545s ok 18 /utils/realname 545s ok 19 /utils/hostname 545s ok 20 /utils/xdgdirs 545s ok 21 /utils/specialdir 545s # NAME: Ubuntu 545s ok 22 /utils/os-info 545s ok 23 /utils/clear-pointer 545s ok 24 /utils/clear-pointer-cast 545s ok 25 /utils/take-pointer 545s ok 26 /utils/clear-source 545s ok 27 /utils/misc-mem 545s # /utils/aligned-mem summary: Aligned memory allocator 545s # Alignment must not be zero 545s # Alignment must be a power of two 545s # Alignment must be a multiple of sizeof(void*) 545s ok 28 /utils/aligned-mem 545s # /utils/free-sized summary: Check that g_free_sized() works 545s ok 29 /utils/free-sized 545s ok 30 /utils/nullify 545s ok 31 /utils/atexit 545s ok 32 /utils/check-setuid 545s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 545s ok 33 /utils/int-limits 545s ok 34 /utils/clear-list 545s ok 35 /utils/clear-slist 545s # Start of specialdir tests 545s ok 36 /utils/specialdir/desktop 545s # End of specialdir tests 545s # Start of clear-pointer tests 545s ok 37 /utils/clear-pointer/side-effects 545s # End of clear-pointer tests 545s # Start of aligned-mem tests 545s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 545s ok 38 /utils/aligned-mem/alignment 545s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 545s ok 39 /utils/aligned-mem/zeroed 545s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 545s ok 40 /utils/aligned-mem/free-sized 545s # Start of subprocess tests 545s # End of subprocess tests 545s # End of aligned-mem tests 545s # End of utils tests 545s ok - glib/utils-c-11.test 545s # Running test: glib/search-utils.test 545s TAP version 13 545s # random seed: R02S4e183f0c8eff7b15c7fde2762c572e39 545s # GLib-DEBUG: Current user locale: C.UTF-8 545s 1..6 545s # Start of search tests 545s # GLib-DEBUG: Started 545s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 545s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 545s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 545s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 545s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 545s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 545s ok 1 /search/basic 545s # GLib-DEBUG: Started 545s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 545s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 545s # GLib-DEBUG: 'ele' - 'élève' should match: OK 545s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 545s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 545s ok 2 /search/composed 545s # GLib-DEBUG: Started 545s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 545s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 545s ok 3 /search/decomposed 545s # GLib-DEBUG: Started 545s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 545s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 545s ok 4 /search/turkish 545s # GLib-DEBUG: Started 545s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 545s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 545s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 545s ok 5 /search/c_locale_unicode 545s # GLib-DEBUG: Started 545s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 545s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 545s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 545s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 545s ok 6 /search/multi_words 545s # End of search tests 545s ok - glib/search-utils.test 545s # Running test: glib/closure-refcount.test 545s TAP version 13 545s # random seed: R02S5c14892423799ab101beb6cc5fa8fb01 545s 1..1 545s # Start of closure tests 545s # Init 0x2aa3c2af1d0 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread2 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread2 545s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Executing: glib/closure-refcount.test 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from thread1 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from thread1 547s # Stopping 547s # Stopped 547s ok 1 /closure/refcount 547s # slow test /closure/refcount executed in 1.73 secs 547s # End of closure tests 547s ok - glib/closure-refcount.test 547s # Running test: glib/gdbus-introspection.test 547s TAP version 13 547s # random seed: R02S805935f4d409b1426ccb2a28b6661a3b 547s 1..4 547s # Start of gdbus tests 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-parser/.dirs/runtime 547s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 547s ok 1 /gdbus/introspection-parser 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-generate/.dirs/runtime 547s ok 2 /gdbus/introspection-generate 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-default-direction/.dirs/runtime 547s ok 3 /gdbus/introspection-default-direction 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_AEL3K2/gdbus/introspection-extra-data/.dirs/runtime 547s ok 4 /gdbus/introspection-extra-data 547s # End of gdbus tests 547s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 547s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 547s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 547s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 547s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 547s ok - glib/gdbus-introspection.test 547s # Running test: glib/types.test 547s TAP version 13 547s # random seed: R02S44392c65e6a4e6173d48789483b012cd 547s 1..1 547s # Start of types tests 547s ok 1 /types/basic_types 547s # End of types tests 547s ok - glib/types.test 547s # Running test: glib/cxx-03.test 547s TAP version 13 547s # random seed: R02Sc993d91d5fc679193a12fe49ead809ab 547s 1..2 547s # Start of gtask tests 547s # 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. 547s ok 1 /gtask/name 547s # Start of name tests 547s # 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. 547s ok 2 /gtask/name/macro-wrapper 547s # End of name tests 547s # End of gtask tests 547s ok - glib/cxx-03.test 547s # Running test: glib/string.test 547s TAP version 13 547s # random seed: R02Sf43a8cceacc4fd3f5a350ed727b18c87 547s 1..23 547s # Start of string tests 547s ok 1 /string/test-string-chunks 547s ok 2 /string/test-string-chunk-insert 547s ok 3 /string/test-string-new 547s ok 4 /string/test-string-printf 547s ok 5 /string/test-string-assign 547s ok 6 /string/test-string-append-c 547s ok 7 /string/test-string-append 547s ok 8 /string/test-string-append-vprintf 547s ok 9 /string/test-string-prepend-c 547s ok 10 /string/test-string-prepend 547s ok 11 /string/test-string-insert 547s ok 12 /string/test-string-insert-unichar 547s ok 13 /string/test-string-equal 547s ok 14 /string/test-string-truncate 547s ok 15 /string/test-string-overwrite 547s ok 16 /string/test-string-nul-handling 547s ok 17 /string/test-string-up-down 547s ok 18 /string/test-string-set-size 547s ok 19 /string/test-string-to-bytes 547s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 547s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 547s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 547s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 547s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 547s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 547s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 547s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 547s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 547s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 547s # 5: Replacing "o" with "" (limit 0) in "food for foals" 547s # -> 4 replacements, "fd fr fals" 547s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 547s # -> 3 replacements, "aaaaaaaaa" 547s # 7: Replacing "a" with "" (limit 0) in "aaa" 547s # -> 3 replacements, "" 547s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 547s # -> 1 replacements, "bba" 547s # 9: Replacing "" with "bar" (limit 0) in "foo" 547s # -> 4 replacements, "barfbarobarobar" 547s # 10: Replacing "" with "x" (limit 0) in "" 547s # -> 1 replacements, "x" 547s # 11: Replacing "" with "" (limit 0) in "" 547s # -> 1 replacements, "" 547s ok 20 /string/test-string-replace 547s ok 21 /string/test-string-steal 547s ok 22 /string/test-string-new-take 547s # Start of test-string-new-take tests 547s ok 23 /string/test-string-new-take/null 547s # End of test-string-new-take tests 547s # End of string tests 547s ok - glib/string.test 547s # Running test: glib/testfilemonitor.test 547s TAP version 13 547s # random seed: R02Sfadf6f0584624a88cbe4da7afbcfc0e8 547s 1..8 547s # Start of monitor tests 547s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 547s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 547s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 547s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 547s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 547s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 547s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 547s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 547s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 547s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 547s # Start of file tests 547s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 547s # End of file tests 547s # End of monitor tests 547s ok - glib/testfilemonitor.test 547s # Running test: glib/module-test-plugin.test 547s TAP version 13 547s # random seed: R02S7620f8d9f762da932d2b1dbcfe8b7ccb 547s 1..2 547s # Start of module tests 547s ok 1 /module/basics 547s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 547s ok 2 /module/invalid-libtool-archive 547s # End of module tests 547s ok - glib/module-test-plugin.test 547s # Running test: glib/boxed.test 547s TAP version 13 547s # random seed: R02Sa26939143239f86a1620bfd8831e3e05 547s 1..27 547s # Start of boxed tests 547s ok 1 /boxed/define 547s ok 2 /boxed/ownership 547s ok 3 /boxed/closure 547s ok 4 /boxed/date 547s ok 5 /boxed/value 547s ok 6 /boxed/string 547s ok 7 /boxed/hashtable 547s ok 8 /boxed/array 547s ok 9 /boxed/ptrarray 547s ok 10 /boxed/regex 547s ok 11 /boxed/varianttype 547s ok 12 /boxed/error 547s ok 13 /boxed/datetime 547s ok 14 /boxed/matchinfo 547s ok 15 /boxed/keyfile 547s ok 16 /boxed/mainloop 547s ok 17 /boxed/maincontext 547s ok 18 /boxed/source 547s ok 19 /boxed/variantbuilder 547s ok 20 /boxed/timezone 547s ok 21 /boxed/pollfd 547s ok 22 /boxed/markup 547s ok 23 /boxed/thread 547s ok 24 /boxed/checksum 547s ok 25 /boxed/tree 547s ok 26 /boxed/patternspec 547s ok 27 /boxed/rand 547s # End of boxed tests 547s ok - glib/boxed.test 547s # Running test: glib/simple-proxy.test 547s TAP version 13 547s # random seed: R02Sc9fe35a75fed673d1b978b38015e2235 547s 1..3 547s # Start of static-proxy tests 547s ok 1 /static-proxy/uri 547s ok 2 /static-proxy/socks 547s ok 3 /static-proxy/ignore 547s # End of static-proxy tests 547s ok - glib/simple-proxy.test 547s # Running test: glib/deprecated-properties.test 547s TAP version 13 547s # random seed: R02S706bf5d473ced545a771ab54d286c3f2 547s 1..3 547s # Start of deprecated-properties tests 547s ok 1 /deprecated-properties/construct 547s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 547s ok 2 /deprecated-properties/default-construct 547s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 547s ok 3 /deprecated-properties/set 547s # End of deprecated-properties tests 547s ok - glib/deprecated-properties.test 547s # Running test: glib/gdbus-server-auth.test 547s TAP version 13 547s # random seed: R02S2591cf1de1f4325bbebe8c4620a613bf 547s 1..9 547s # Start of gdbus tests 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/.dirs/runtime 547s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-86FZK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 547s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-86FZK2/dbus-02PPKTiV 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4399 547s ok 1 /gdbus/server-auth 547s # Start of server-auth tests 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/abstract/.dirs/runtime 547s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-UORZK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 547s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-UORZK2/dbus-hAt7kvXP 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 547s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 547s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4399 547s ok 2 /gdbus/server-auth/abstract 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/tcp/.dirs/runtime 547s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 547s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/.dirs/runtime 547s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-F6VZK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 547s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-F6VZK2/dbus-9Mxfja8S 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4399 547s ok 4 /gdbus/server-auth/anonymous 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/.dirs/runtime 547s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-AHL0K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 547s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-AHL0K2/dbus-WnM81pLC 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4399 547s ok 5 /gdbus/server-auth/external 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/.dirs/runtime 547s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-26Q0K2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 547s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 547s # Start of anonymous tests 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 547s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 547s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 547s # End of anonymous tests 547s # Start of external tests 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 547s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-SNR0K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 547s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7YFZK2/gdbus-server-auth-SNR0K2/dbus-etwiwQrV 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4399 547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4399,uid=1000,gid=1000 547s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4399 547s ok 8 /gdbus/server-auth/external/require-same-user 547s # End of external tests 547s # Start of sha1 tests 547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/home 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/cache 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/config 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/data 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/state 547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7YFZK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 547s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 547s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 547s # End of sha1 tests 547s # End of server-auth tests 547s # End of gdbus tests 547s ok - glib/gdbus-server-auth.test 547s # Running test: glib/utf8-misc.test 547s TAP version 13 547s # random seed: R02Sdb472ddccf38a4935bf60769f865a8a6 547s 1..7 547s # Start of utf8 tests 547s ok 1 /utf8/strlen 547s ok 2 /utf8/strncpy 547s ok 3 /utf8/strrchr 547s ok 4 /utf8/reverse 547s ok 5 /utf8/substring 547s ok 6 /utf8/make-valid 547s ok 7 /utf8/truncate-middle 547s # End of utf8 tests 547s ok - glib/utf8-misc.test 547s # Running test: glib/1bit-mutex.test 547s TAP version 13 547s # random seed: R02S255e66453e8a3bf06ebeaa0fa9d04553 547s 1..2 547s # Start of glib tests 547s # Start of 1bit-mutex tests 551s # Executing: glib/1bit-mutex.test 554s ok 1 /glib/1bit-mutex/int 554s # slow test /glib/1bit-mutex/int executed in 6.92 secs 556s # Executing: glib/1bit-mutex.test 561s # Executing: glib/1bit-mutex.test 561s ok 2 /glib/1bit-mutex/pointer 561s # slow test /glib/1bit-mutex/pointer executed in 7.31 secs 561s # End of 1bit-mutex tests 561s # End of glib tests 561s ok - glib/1bit-mutex.test 561s # Running test: glib/sandbox.test 561s TAP version 13 561s # random seed: R02S7e538e731bc1e61c9d5b21ea82b0f4d5 561s 1..4 561s # Start of sandbox tests 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_OSPJK2/sandbox/none/.dirs/runtime 561s ok 1 /sandbox/none 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_OSPJK2/sandbox/snap/.dirs/runtime 561s # Created snap.yaml in /tmp/test_sandbox_OSPJK2/snap/current/meta/snap.yaml 561s ok 2 /sandbox/snap 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_OSPJK2/sandbox/classic-snap/.dirs/runtime 561s # Created snap.yaml in /tmp/test_sandbox_OSPJK2/snap/current/meta/snap.yaml 561s ok 3 /sandbox/classic-snap 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/runtime 561s # Creating .flatpak-info in /tmp/test_sandbox_OSPJK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 561s ok 4 /sandbox/flatpak 561s # End of sandbox tests 561s ok - glib/sandbox.test 561s # Running test: glib/notify-init2.test 561s TAP version 13 561s # random seed: R02S517671f16463d3dc84e25db28d0b7eb3 561s 1..1 561s # Start of properties tests 561s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 561s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 561s ok 1 /properties/notify-in-init2 561s # End of properties tests 561s ok - glib/notify-init2.test 561s # Running test: glib/unicode-encoding.test 561s TAP version 13 561s # random seed: R02S7dcdaf61de349e7d25bd395cd23112c6 561s 1..1 561s # Start of unicode tests 561s ok 1 /unicode/encoding 561s # End of unicode tests 561s ok - glib/unicode-encoding.test 561s # Running test: glib/file.test 561s TAP version 13 561s # random seed: R02S0c95a877d7874ed61e9611b39403734c 561s 1..50 561s # Start of file tests 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/basic/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/basic/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/basic/.dirs/system-config1:/tmp/test_file_94ZJK2/file/basic/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/basic/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/basic/.dirs/system-data1:/tmp/test_file_94ZJK2/file/basic/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/basic/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/basic/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/basic/.dirs/runtime 561s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 561s ok 1 /file/basic 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/build-filename/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/build-filename/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/build-filename/.dirs/system-config1:/tmp/test_file_94ZJK2/file/build-filename/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/build-filename/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/build-filename/.dirs/system-data1:/tmp/test_file_94ZJK2/file/build-filename/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/build-filename/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/build-filename/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/build-filename/.dirs/runtime 561s ok 2 /file/build-filename 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/build-filenamev/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/build-filenamev/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_94ZJK2/file/build-filenamev/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/build-filenamev/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_94ZJK2/file/build-filenamev/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/build-filenamev/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/build-filenamev/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/build-filenamev/.dirs/runtime 561s ok 3 /file/build-filenamev 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/parent/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/parent/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/parent/.dirs/system-config1:/tmp/test_file_94ZJK2/file/parent/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/parent/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/parent/.dirs/system-data1:/tmp/test_file_94ZJK2/file/parent/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/parent/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/parent/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/parent/.dirs/runtime 561s ok 4 /file/parent 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/child/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/child/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/child/.dirs/system-config1:/tmp/test_file_94ZJK2/file/child/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/child/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/child/.dirs/system-data1:/tmp/test_file_94ZJK2/file/child/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/child/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/child/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/child/.dirs/runtime 561s ok 5 /file/child 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/empty-path/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/empty-path/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/empty-path/.dirs/system-config1:/tmp/test_file_94ZJK2/file/empty-path/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/empty-path/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/empty-path/.dirs/system-data1:/tmp/test_file_94ZJK2/file/empty-path/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/empty-path/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/empty-path/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/empty-path/.dirs/runtime 561s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 561s # /file/empty-path summary: Check that creating a file with an empty path results in errors 561s ok 6 /file/empty-path 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/type/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/type/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/type/.dirs/system-config1:/tmp/test_file_94ZJK2/file/type/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/type/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/type/.dirs/system-data1:/tmp/test_file_94ZJK2/file/type/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/type/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/type/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/type/.dirs/runtime 561s ok 7 /file/type 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/parse-name/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/parse-name/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/parse-name/.dirs/system-config1:/tmp/test_file_94ZJK2/file/parse-name/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/parse-name/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/parse-name/.dirs/system-data1:/tmp/test_file_94ZJK2/file/parse-name/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/parse-name/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/parse-name/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/parse-name/.dirs/runtime 561s ok 8 /file/parse-name 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/replace-load/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/replace-load/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/replace-load/.dirs/system-config1:/tmp/test_file_94ZJK2/file/replace-load/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/replace-load/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/replace-load/.dirs/system-data1:/tmp/test_file_94ZJK2/file/replace-load/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/replace-load/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/replace-load/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/replace-load/.dirs/runtime 561s ok 9 /file/replace-load 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/replace-cancel/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/replace-cancel/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_94ZJK2/file/replace-cancel/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/replace-cancel/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_94ZJK2/file/replace-cancel/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/replace-cancel/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/replace-cancel/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/replace-cancel/.dirs/runtime 561s # Bug Reference: https://bugzilla.gnome.org/629301 561s ok 10 /file/replace-cancel 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/replace-symlink/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/replace-symlink/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_94ZJK2/file/replace-symlink/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/replace-symlink/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_94ZJK2/file/replace-symlink/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/replace-symlink/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/replace-symlink/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/replace-symlink/.dirs/runtime 561s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 561s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 561s # Using temporary directory /tmp/test_file_94ZJK2/g_file_replace_symlink_EN6JK2 561s ok 11 /file/replace-symlink 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/async-new-tmp/.dirs/runtime 561s ok 12 /file/async-new-tmp 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/async-new-tmp-dir/.dirs/runtime 561s ok 13 /file/async-new-tmp-dir 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/async-delete/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/async-delete/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/async-delete/.dirs/system-config1:/tmp/test_file_94ZJK2/file/async-delete/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/async-delete/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/async-delete/.dirs/system-data1:/tmp/test_file_94ZJK2/file/async-delete/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/async-delete/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/async-delete/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/async-delete/.dirs/runtime 561s ok 14 /file/async-delete 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/async-make-symlink/.dirs/runtime 561s ok 15 /file/async-make-symlink 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/copy-preserve-mode/.dirs/runtime 561s # Current umask: 2 561s # Vector 0 561s # Vector 1 561s # Vector 2 561s # Vector 3 561s # Vector 4 561s # Vector 5 561s # Vector 6 561s # Vector 7 561s # Vector 8 561s # Vector 9 561s # Vector 10 561s ok 16 /file/copy-preserve-mode 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/measure/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/measure/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/measure/.dirs/system-config1:/tmp/test_file_94ZJK2/file/measure/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/measure/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/measure/.dirs/system-data1:/tmp/test_file_94ZJK2/file/measure/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/measure/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/measure/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/measure/.dirs/runtime 561s ok 17 /file/measure 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/measure-async/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/measure-async/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/measure-async/.dirs/system-config1:/tmp/test_file_94ZJK2/file/measure-async/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/measure-async/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/measure-async/.dirs/system-data1:/tmp/test_file_94ZJK2/file/measure-async/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/measure-async/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/measure-async/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/measure-async/.dirs/runtime 561s ok 18 /file/measure-async 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/load-bytes/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/load-bytes/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_94ZJK2/file/load-bytes/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/load-bytes/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_94ZJK2/file/load-bytes/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/load-bytes/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/load-bytes/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/load-bytes/.dirs/runtime 561s ok 19 /file/load-bytes 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/load-bytes-async/.dirs/runtime 561s ok 20 /file/load-bytes-async 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/.dirs/runtime 561s ok 21 /file/writev 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/build-attribute-list-for-copy/.dirs/runtime 561s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 561s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 561s # 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::* 561s # 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::* 561s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 561s # Attributes for copy: standard::size,xattr::* 561s # Attributes for copy: standard::size,unix::mode,xattr::* 561s ok 22 /file/build-attribute-list-for-copy 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/move_async/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/move_async/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/move_async/.dirs/system-config1:/tmp/test_file_94ZJK2/file/move_async/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/move_async/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/move_async/.dirs/system-data1:/tmp/test_file_94ZJK2/file/move_async/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/move_async/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/move_async/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/move_async/.dirs/runtime 561s ok 23 /file/move_async 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/query-zero-length-content-type/.dirs/runtime 561s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 561s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 561s ok 24 /file/query-zero-length-content-type 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/runtime 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/data/applications 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/config 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/config 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/config 561s ok 25 /file/query-default-handler-file 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/runtime 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/data/applications 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/config 561s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_94ZJK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/config 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/config 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/config 561s ok 26 /file/query-default-handler-file-async 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/runtime 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/data/applications 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/config 561s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_94ZJK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/config 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/config 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/config 561s ok 27 /file/query-default-handler-uri 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/runtime 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/data/applications 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/config 561s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_94ZJK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/config 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/config 561s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_94ZJK2/file/query-default-handler-uri-async/.dirs/config 561s ok 28 /file/query-default-handler-uri-async 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/enumerator-cancellation/.dirs/runtime 561s ok 29 /file/enumerator-cancellation 561s # Start of async-create-delete tests 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/async-create-delete/0/.dirs/runtime 561s ok 30 /file/async-create-delete/0 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/async-create-delete/1/.dirs/runtime 561s ok 31 /file/async-create-delete/1 561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/home 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/cache 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/system-config2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/config 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/system-data2 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/data 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/state 561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/async-create-delete/10/.dirs/runtime 562s ok 32 /file/async-create-delete/10 562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/home 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/cache 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/system-config2 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/config 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/system-data2 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/data 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/state 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/async-create-delete/25/.dirs/runtime 562s ok 33 /file/async-create-delete/25 562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/home 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/cache 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/system-config2 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/config 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/system-data2 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/data 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/state 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/async-create-delete/4096/.dirs/runtime 562s ok 34 /file/async-create-delete/4096 562s # End of async-create-delete tests 562s # Start of replace-symlink tests 562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/home 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/cache 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/system-config2 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/config 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/system-data2 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/data 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/state 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/replace-symlink/using-etag/.dirs/runtime 562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 562s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 562s # Using temporary directory /tmp/test_file_94ZJK2/g_file_replace_symlink_using_etag_DM2XK2 564s ok 35 /file/replace-symlink/using-etag 564s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 564s # End of replace-symlink tests 564s # Start of replace tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/replace/write-only/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/replace/write-only/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_94ZJK2/file/replace/write-only/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/replace/write-only/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_94ZJK2/file/replace/write-only/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/replace/write-only/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/replace/write-only/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/replace/write-only/.dirs/runtime 564s # /file/replace/write-only summary: Test various situations for g_file_replace() 564s # Current umask: 2 564s # Test 0, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_OA1XK2 564s # Test 1, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_SW1XK2 564s # Test 2, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_NS5XK2 564s # Test 3, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_2E6XK2 564s # Test 4, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_U06XK2 564s # Test 5, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_9S6XK2 564s # Test 6, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_JK4XK2 564s # Test 7, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_SF5XK2 564s # Test 8, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_U84XK2 564s # Test 9, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_738XK2 564s # Test 10, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_Z68XK2 564s # Test 11, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_X69XK2 564s # Test 12, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_N19XK2 564s # Test 13, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_5K7XK2 564s # Test 14, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_2Q7XK2 564s # Test 15, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_SI8XK2 564s # Test 16, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_NMCYK2 564s # Test 17, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_WADYK2 564s # Test 18, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_1DAYK2 564s # Test 19, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_JEBYK2 564s # Test 20, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_NHFYK2 564s # Test 21, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_6MFYK2 564s # Test 22, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_OJGYK2 564s # Test 23, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_YDGYK2 564s # Test 24, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_IAEYK2 564s # Test 25, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_80EYK2 564s # Test 26, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_DVEYK2 564s # Test 27, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_KNIYK2 564s # Test 28, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_UTIYK2 564s # Test 29, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_OPJYK2 564s # Test 30, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_BIJYK2 564s # Test 31, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_G1GYK2 564s # Test 32, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_O7GYK2 564s # Test 33, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_LYHYK2 564s # Test 34, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_SRLYK2 564s # Test 35, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_WKLYK2 564s # Test 36, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_4BMYK2 564s # Test 37, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_H1JYK2 564s # Test 38, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_JWKYK2 564s # Test 39, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_X3KYK2 564s # Test 40, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_09OYK2 564s # Test 41, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_S7PYK2 564s # Test 42, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_45MYK2 564s # Test 43, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_B7NYK2 564s # Test 44, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_LEOYK2 564s # Test 45, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_WAOYK2 564s # Test 46, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_HDSYK2 564s # Test 47, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_69RYK2 564s # Test 48, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_HATYK2 564s # We do not have CAP_DAC_OVERRIDE or equivalent 564s ok 36 /file/replace/write-only 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/replace/read-write/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/replace/read-write/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_94ZJK2/file/replace/read-write/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/replace/read-write/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_94ZJK2/file/replace/read-write/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/replace/read-write/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/replace/read-write/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/replace/read-write/.dirs/runtime 564s # /file/replace/read-write summary: Test various situations for g_file_replace() 564s # Current umask: 2 564s # Test 0, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_1MQYK2 564s # Test 1, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_OJQYK2 564s # Test 2, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_Z9QYK2 564s # Test 3, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_LCVYK2 564s # Test 4, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_J7UYK2 564s # Test 5, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_C2UYK2 564s # Test 6, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_WKWYK2 564s # Test 7, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_4ITYK2 564s # Test 8, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_U7TYK2 564s # Test 9, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_S3TYK2 564s # Test 10, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_GUUYK2 564s # Test 11, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_PQYYK2 564s # Test 12, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_XKYYK2 564s # Test 13, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_G8YYK2 564s # Test 14, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_UUWYK2 564s # Test 15, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_V4WYK2 564s # Test 16, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_0YXYK2 564s # Test 17, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_A01YK2 564s # Test 18, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_Q51YK2 564s # Test 19, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_VXZYK2 564s # Test 20, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_8V0YK2 564s # Test 21, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_2V4YK2 564s # Test 22, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_YN5YK2 564s # Test 23, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_NK5YK2 564s # Test 24, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_T02YK2 564s # Test 25, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_II4YK2 564s # Test 26, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_XA4YK2 564s # Test 27, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_H83YK2 564s # Test 28, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_QA8YK2 564s # Test 29, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_XX8YK2 564s # Test 30, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_1D6YK2 564s # Test 31, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_DA6YK2 564s # Test 32, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_FJ6YK2 564s # Test 33, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_2B7YK2 564s # Test 34, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_KUOTK2 564s # Test 35, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_4ROTK2 564s # Test 36, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_WIPTK2 564s # Test 37, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_4RNTK2 564s # Test 38, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_MBOTK2 564s # Test 39, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_PGSTK2 564s # Test 40, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_Z9STK2 564s # Test 41, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_1DQTK2 564s # Test 42, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_SARTK2 564s # Test 43, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_7JRTK2 564s # Test 44, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_OMVTK2 564s # Test 45, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_7IVTK2 564s # Test 46, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_7RVTK2 564s # Test 47, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_MGWTK2 564s # Test 48, using temporary directory /tmp/test_file_94ZJK2/g_file_replace_D3TTK2 564s # We do not have CAP_DAC_OVERRIDE or equivalent 564s ok 37 /file/replace/read-write 564s # End of replace tests 564s # Start of copy tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/copy/progress/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/copy/progress/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_94ZJK2/file/copy/progress/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/copy/progress/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_94ZJK2/file/copy/progress/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/copy/progress/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/copy/progress/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/copy/progress/.dirs/runtime 564s ok 38 /file/copy/progress 564s # End of copy tests 564s # Start of writev tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/no-bytes-written/.dirs/runtime 564s ok 39 /file/writev/no-bytes-written 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/no-vectors/.dirs/runtime 564s ok 40 /file/writev/no-vectors 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/empty-vectors/.dirs/runtime 564s ok 41 /file/writev/empty-vectors 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/too-big-vectors/.dirs/runtime 564s ok 42 /file/writev/too-big-vectors 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/async/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/async/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/async/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/async/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/async/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/async/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/async/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/async/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/async/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/async/.dirs/runtime 564s ok 43 /file/writev/async 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/async_all/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/async_all/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/async_all/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/async_all/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/async_all/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/async_all/.dirs/runtime 564s ok 44 /file/writev/async_all 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/async_all-empty-vectors/.dirs/runtime 564s ok 45 /file/writev/async_all-empty-vectors 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/async_all-no-vectors/.dirs/runtime 564s ok 46 /file/writev/async_all-no-vectors 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/async_all-to-big-vectors/.dirs/runtime 564s ok 47 /file/writev/async_all-to-big-vectors 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/writev/async_all-cancellation/.dirs/runtime 564s ok 48 /file/writev/async_all-cancellation 564s # End of writev tests 564s # Start of from-uri tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/from-uri/ignores-query-string/.dirs/runtime 564s ok 49 /file/from-uri/ignores-query-string 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_94ZJK2/file/from-uri/ignores-fragment/.dirs/runtime 564s ok 50 /file/from-uri/ignores-fragment 564s # End of from-uri tests 564s # End of file tests 564s ok - glib/file.test 564s # Running test: glib/reference.test 564s TAP version 13 564s # random seed: R02Seed8a689b078c05e4ac7e734b3b9e824 564s 1..29 564s # Start of type tests 564s ok 1 /type/fundamentals 564s ok 2 /type/qdata 564s ok 3 /type/query 564s ok 4 /type/class-private 564s # End of type tests 564s # Start of object tests 564s ok 5 /object/clear 564s ok 6 /object/clear-function 564s ok 7 /object/set 564s ok 8 /object/set-function 564s ok 9 /object/value 564s ok 10 /object/initially-unowned 564s ok 11 /object/weak-pointer 564s ok 12 /object/weak-ref 564s ok 13 /object/toggle-ref 564s ok 14 /object/qdata 564s ok 15 /object/qdata2 564s # Start of set tests 564s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 564s ok 16 /object/set/derived-type 564s # End of set tests 564s # Start of weak-pointer tests 564s ok 17 /object/weak-pointer/clear 564s ok 18 /object/weak-pointer/clear-function 564s ok 19 /object/weak-pointer/set 564s ok 20 /object/weak-pointer/set-function 564s # End of weak-pointer tests 564s # Start of weak-ref tests 564s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 564s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 564s ok 21 /object/weak-ref/on-dispose 564s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 564s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 564s ok 22 /object/weak-ref/on-run-dispose 564s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 564s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 564s ok 23 /object/weak-ref/on-toggle-notify 564s ok 24 /object/weak-ref/in-toggle-notify 564s ok 25 /object/weak-ref/many 564s # Start of concurrent tests 566s # Executing: glib/reference.test 571s # Executing: glib/reference.test 571s ok 26 /object/weak-ref/concurrent/0 571s # slow test /object/weak-ref/concurrent/0 executed in 7.29 secs 576s # Executing: glib/reference.test 579s ok 27 /object/weak-ref/concurrent/1 579s # slow test /object/weak-ref/concurrent/1 executed in 8.29 secs 579s # End of concurrent tests 579s # End of weak-ref tests 579s # Start of toggle-ref tests 579s ok 28 /object/toggle-ref/ref-on-dispose 579s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 579s # End of toggle-ref tests 579s # End of object tests 579s ok - glib/reference.test 579s # Running test: glib/volumemonitor.test 579s TAP version 13 579s # random seed: R02S97d0ec1418005690d35cb39207d75741 579s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 579s 1..3 579s # Start of volumemonitor tests 579s ok 1 /volumemonitor/connected_drives 579s ok 2 /volumemonitor/volumes 579s ok 3 /volumemonitor/mounts 579s # End of volumemonitor tests 579s ok - glib/volumemonitor.test 579s # Running test: glib/thread-deprecated.test 579s TAP version 13 579s # random seed: R02Sf43d0c64c351d1652ecd77dd5c5c68c4 579s 1..6 579s # Start of thread tests 579s ok 1 /thread/mutex 580s ok 2 /thread/static-rec-mutex 581s # Executing: glib/thread-deprecated.test 584s ok 3 /thread/static-private 584s # slow test /thread/static-private executed in 4.40 secs 586s # Executing: glib/thread-deprecated.test 589s ok 4 /thread/static-rw-lock 589s # slow test /thread/static-rw-lock executed in 5.00 secs 589s ok 5 /thread/once 591s # Executing: glib/thread-deprecated.test 596s # Executing: glib/thread-deprecated.test 600s ok 6 /thread/rerun-all 600s # slow test /thread/rerun-all executed in 10.03 secs 600s # End of thread tests 600s ok - glib/thread-deprecated.test 600s # Running test: glib/properties-refcount4.test 600s TAP version 13 600s # random seed: R02Sf7fec8946c0fadee07b41173ac24fcce 600s 1..1 600s # Start of gobject tests 600s # Start of refcount tests 600s ok 1 /gobject/refcount/properties-4 600s # End of refcount tests 600s # End of gobject tests 600s ok - glib/properties-refcount4.test 600s # Running test: glib/markup-parse.test 600s TAP version 13 600s # random seed: R02Sa86f663e032ac25db0c3361b71f25207 600s 1..71 600s # Start of markup tests 600s # Start of parse tests 600s ok 1 /markup/parse/fail-24.gmarkup 600s ok 2 /markup/parse/fail-19.gmarkup 600s ok 3 /markup/parse/fail-52.gmarkup 600s ok 4 /markup/parse/valid-7.gmarkup 600s ok 5 /markup/parse/fail-42.gmarkup 600s ok 6 /markup/parse/fail-1.gmarkup 600s ok 7 /markup/parse/valid-11.gmarkup 600s ok 8 /markup/parse/fail-37.gmarkup 600s ok 9 /markup/parse/fail-27.gmarkup 600s ok 10 /markup/parse/valid-13.gmarkup 600s ok 11 /markup/parse/fail-39.gmarkup 600s ok 12 /markup/parse/fail-48.gmarkup 600s ok 13 /markup/parse/valid-10.gmarkup 600s ok 14 /markup/parse/fail-32.gmarkup 600s ok 15 /markup/parse/valid-2.gmarkup 600s ok 16 /markup/parse/fail-17.gmarkup 600s ok 17 /markup/parse/valid-12.gmarkup 600s ok 18 /markup/parse/fail-3.gmarkup 600s ok 19 /markup/parse/valid-9.gmarkup 600s ok 20 /markup/parse/fail-36.gmarkup 600s ok 21 /markup/parse/valid-1.gmarkup 600s ok 22 /markup/parse/fail-49.gmarkup 600s ok 23 /markup/parse/fail-13.gmarkup 600s ok 24 /markup/parse/fail-34.gmarkup 600s ok 25 /markup/parse/fail-25.gmarkup 600s ok 26 /markup/parse/fail-38.gmarkup 600s ok 27 /markup/parse/fail-14.gmarkup 600s ok 28 /markup/parse/fail-41.gmarkup 600s ok 29 /markup/parse/valid-4.gmarkup 600s ok 30 /markup/parse/fail-50.gmarkup 600s ok 31 /markup/parse/fail-53.gmarkup 600s ok 32 /markup/parse/valid-16.gmarkup 600s ok 33 /markup/parse/fail-7.gmarkup 600s ok 34 /markup/parse/fail-31.gmarkup 600s ok 35 /markup/parse/valid-17.gmarkup 600s ok 36 /markup/parse/fail-8.gmarkup 600s ok 37 /markup/parse/valid-5.gmarkup 600s ok 38 /markup/parse/fail-28.gmarkup 600s ok 39 /markup/parse/fail-54.gmarkup 600s ok 40 /markup/parse/valid-14.gmarkup 600s ok 41 /markup/parse/fail-6.gmarkup 600s ok 42 /markup/parse/valid-8.gmarkup 600s ok 43 /markup/parse/fail-51.gmarkup 600s ok 44 /markup/parse/fail-12.gmarkup 600s ok 45 /markup/parse/fail-18.gmarkup 600s ok 46 /markup/parse/fail-46.gmarkup 600s ok 47 /markup/parse/fail-47.gmarkup 600s ok 48 /markup/parse/valid-15.gmarkup 600s ok 49 /markup/parse/fail-29.gmarkup 600s ok 50 /markup/parse/fail-45.gmarkup 600s ok 51 /markup/parse/fail-35.gmarkup 600s ok 52 /markup/parse/fail-16.gmarkup 600s ok 53 /markup/parse/fail-40.gmarkup 600s ok 54 /markup/parse/fail-20.gmarkup 600s ok 55 /markup/parse/fail-15.gmarkup 600s ok 56 /markup/parse/fail-43.gmarkup 600s ok 57 /markup/parse/fail-33.gmarkup 600s ok 58 /markup/parse/fail-2.gmarkup 600s ok 59 /markup/parse/fail-11.gmarkup 600s ok 60 /markup/parse/fail-22.gmarkup 600s ok 61 /markup/parse/fail-9.gmarkup 600s ok 62 /markup/parse/fail-5.gmarkup 600s ok 63 /markup/parse/fail-23.gmarkup 600s ok 64 /markup/parse/valid-3.gmarkup 600s ok 65 /markup/parse/valid-6.gmarkup 600s ok 66 /markup/parse/fail-10.gmarkup 600s ok 67 /markup/parse/fail-44.gmarkup 600s ok 68 /markup/parse/fail-30.gmarkup 600s ok 69 /markup/parse/fail-26.gmarkup 600s ok 70 /markup/parse/fail-4.gmarkup 600s ok 71 /markup/parse/fail-21.gmarkup 600s # End of parse tests 600s # End of markup tests 600s ok - glib/markup-parse.test 600s # Running test: glib/gdbus-close-pending.test 600s TAP version 13 600s # random seed: R02Sc1a1f12cca5368aca6cf304fe13865cc 600s 1..2 600s # Start of gdbus tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/close-pending/.dirs/runtime 600s ok 1 /gdbus/close-pending 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_G9HRK2/gdbus/unref-pending/.dirs/runtime 600s ok 2 /gdbus/unref-pending 600s # End of gdbus tests 600s ok - glib/gdbus-close-pending.test 600s # Running test: glib/guuid.test 600s TAP version 13 600s # random seed: R02S1192d6dca750004827733bbc8c3defcc 600s 1..2 600s # Start of uuid tests 600s ok 1 /uuid/string 600s ok 2 /uuid/random 600s # End of uuid tests 600s ok - glib/guuid.test 600s # Running test: glib/deftype.test 600s ok - glib/deftype.test 600s # Running test: glib/objects-refcount2.test 600s TAP version 13 600s # random seed: R02Sd8276e64f89ed14b7a5e2a3c4c93fecd 600s 1..1 600s # Start of gobject tests 600s # Start of refcount tests 600s # init 0x2aa1d4ee740 600s # 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 600s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # Executing: glib/objects-refcount2.test 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # dispose 0x2aa1d4ee740! 605s # 605s ok 1 /gobject/refcount/object-advanced 605s # slow test /gobject/refcount/object-advanced executed in 5.39 secs 605s # End of refcount tests 605s # End of gobject tests 605s ok - glib/objects-refcount2.test 605s # Running test: glib/bytes.test 605s TAP version 13 605s # random seed: R02Sb0c0aa0c59e29c6cfe2a385cd1543d30 605s 1..21 605s # Start of bytes tests 605s ok 1 /bytes/new 605s ok 2 /bytes/new-take 605s ok 3 /bytes/new-static 605s ok 4 /bytes/new-with-free-func 605s ok 5 /bytes/new-from-bytes 605s ok 6 /bytes/new-from-bytes-slice 605s ok 7 /bytes/new-from-bytes-shared-ref 605s ok 8 /bytes/hash 605s ok 9 /bytes/equal 605s ok 10 /bytes/compare 605s ok 11 /bytes/null 605s ok 12 /bytes/get-region 605s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 605s ok 13 /bytes/unref-null 605s # Start of to-data tests 605s ok 14 /bytes/to-data/transferred 605s ok 15 /bytes/to-data/two-refs 605s ok 16 /bytes/to-data/non-malloc 605s ok 17 /bytes/to-data/different-free-func 605s # End of to-data tests 605s # Start of to-array tests 605s ok 18 /bytes/to-array/transferred 605s ok 19 /bytes/to-array/two-refs 605s ok 20 /bytes/to-array/non-malloc 605s # Start of transferred tests 605s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 605s ok 21 /bytes/to-array/transferred/oversize 605s # End of transferred tests 605s # End of to-array tests 605s # End of bytes tests 605s ok - glib/bytes.test 605s # Running test: glib/utils-c-90.test 605s TAP version 13 605s # random seed: R02Sbb7310c7fc7879361bea4d881ccdd78c 605s 1..40 605s # Start of utils tests 605s ok 1 /utils/language-names 605s ok 2 /utils/locale-variants 605s ok 3 /utils/version 605s ok 4 /utils/appname 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 605s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 605s ok 5 /utils/prgname-thread-safety 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 605s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 605s ok 6 /utils/tmpdir 605s ok 7 /utils/basic_bits 605s ok 8 /utils/bits 605s ok 9 /utils/swap 605s ok 10 /utils/find-program 605s ok 11 /utils/find-program-for-path 605s ok 12 /utils/debug 605s ok 13 /utils/codeset 605s ok 14 /utils/codeset2 605s ok 15 /utils/console-charset 605s ok 16 /utils/gettext 605s ok 17 /utils/username 605s ok 18 /utils/realname 605s ok 19 /utils/hostname 605s ok 20 /utils/xdgdirs 605s ok 21 /utils/specialdir 605s # NAME: Ubuntu 605s ok 22 /utils/os-info 605s ok 23 /utils/clear-pointer 605s ok 24 /utils/clear-pointer-cast 605s ok 25 /utils/take-pointer 605s ok 26 /utils/clear-source 605s ok 27 /utils/misc-mem 605s # /utils/aligned-mem summary: Aligned memory allocator 605s # Alignment must not be zero 605s # Alignment must be a power of two 605s # Alignment must be a multiple of sizeof(void*) 605s ok 28 /utils/aligned-mem 605s # /utils/free-sized summary: Check that g_free_sized() works 605s ok 29 /utils/free-sized 605s ok 30 /utils/nullify 605s ok 31 /utils/atexit 605s ok 32 /utils/check-setuid 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 605s ok 33 /utils/int-limits 605s ok 34 /utils/clear-list 605s ok 35 /utils/clear-slist 605s # Start of specialdir tests 605s ok 36 /utils/specialdir/desktop 605s # End of specialdir tests 605s # Start of clear-pointer tests 605s ok 37 /utils/clear-pointer/side-effects 605s # End of clear-pointer tests 605s # Start of aligned-mem tests 605s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 605s ok 38 /utils/aligned-mem/alignment 605s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 605s ok 39 /utils/aligned-mem/zeroed 605s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 605s ok 40 /utils/aligned-mem/free-sized 605s # Start of subprocess tests 605s # End of subprocess tests 605s # End of aligned-mem tests 605s # End of utils tests 605s ok - glib/utils-c-90.test 605s # Running test: glib/gdbus-bz627724.test 605s TAP version 13 605s # random seed: R02S8e095547f2d6e89aa7f6ebcd23d3c77a 605s 1..1 605s # Start of gdbus tests 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_MABSK2/gdbus/bz627724/.dirs/runtime 605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s ok 1 /gdbus/bz627724 605s # End of gdbus tests 605s ok - glib/gdbus-bz627724.test 605s # Running test: glib/protocol.test 605s TAP version 13 605s # random seed: R02Sc9c50d1ccd5e23b65fbd3076c436204c 605s 1..9 605s # Start of glib tests 605s # Start of testing tests 605s # Start of protocol tests 605s ok 1 /glib/testing/protocol/debug 605s ok 2 /glib/testing/protocol/info 605s ok 3 /glib/testing/protocol/message 605s ok 4 /glib/testing/protocol/warning 605s ok 5 /glib/testing/protocol/critical 605s ok 6 /glib/testing/protocol/error 605s ok 7 /glib/testing/protocol/gtest-message 605s ok 8 /glib/testing/protocol/test-message 605s ok 9 /glib/testing/protocol/test-error 605s # End of protocol tests 605s # End of testing tests 605s # End of glib tests 605s ok - glib/protocol.test 605s # Running test: glib/onceinit.test 605s TAP version 13 605s # random seed: R02S2fcc7ab3ac2df465fab6b210f689f7dd 605s 1..1 605s # Start of thread tests 605s ok 1 /thread/onceinit 605s # End of thread tests 605s ok - glib/onceinit.test 605s # Running test: glib/mappedfile.test 605s TAP version 13 605s # random seed: R02S4b853e4206595673f10d02f6b40ab646 605s 1..7 605s # Start of mappedfile tests 605s ok 1 /mappedfile/basic 605s ok 2 /mappedfile/empty 605s ok 3 /mappedfile/device 605s ok 4 /mappedfile/nonexisting 605s ok 5 /mappedfile/writable 605s ok 6 /mappedfile/writable_fd 605s ok 7 /mappedfile/gbytes 605s # End of mappedfile tests 605s ok - glib/mappedfile.test 605s # Running test: glib/option-argv0.test 605s TAP version 13 605s # random seed: R02S1ce8efdfd97ae0d7d31758ff014681ed 605s 1..1 605s # Start of option tests 605s ok 1 /option/argv0 605s # End of option tests 605s ok - glib/option-argv0.test 605s # Running test: glib/init.test 605s TAP version 13 605s # random seed: R02Sc677b117e380ee1583fcfc32e6e998a8 605s 1..2 605s # Start of thread tests 605s # Start of deprecated tests 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_U5SOK2/thread/deprecated/init/.dirs/runtime 605s ok 1 /thread/deprecated/init 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_U5SOK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 605s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 605s # End of deprecated tests 605s # End of thread tests 605s ok - glib/init.test 605s # Running test: glib/utf8-performance.test 605s TAP version 13 605s # random seed: R02Sb52c0b862e9a7d6f5ff7d7a1b5cf1096 605s 1..36 605s # Start of utf8 tests 605s # Start of perf tests 605s # Start of get_char tests 605s # max perf: 43.0 MB/s 605s ok 1 /utf8/perf/get_char/ascii 605s # max perf: 67.0 MB/s 605s ok 2 /utf8/perf/get_char/latin1 605s # max perf: inf MB/s 605s ok 3 /utf8/perf/get_char/cyrillic 605s # max perf: inf MB/s 605s ok 4 /utf8/perf/get_char/han 605s # End of get_char tests 605s # Start of get_char-backwards tests 605s # max perf: 43.0 MB/s 605s ok 5 /utf8/perf/get_char-backwards/ascii 605s # max perf: 67.0 MB/s 605s ok 6 /utf8/perf/get_char-backwards/latin1 605s # max perf: 160.0 MB/s 605s ok 7 /utf8/perf/get_char-backwards/cyrillic 605s # max perf: 156.0 MB/s 605s ok 8 /utf8/perf/get_char-backwards/han 605s # End of get_char-backwards tests 605s # Start of get_char_validated tests 605s # max perf: 43.0 MB/s 605s ok 9 /utf8/perf/get_char_validated/ascii 605s # max perf: inf MB/s 605s ok 10 /utf8/perf/get_char_validated/latin1 605s # max perf: 160.0 MB/s 605s ok 11 /utf8/perf/get_char_validated/cyrillic 605s # max perf: 156.0 MB/s 605s ok 12 /utf8/perf/get_char_validated/han 605s # End of get_char_validated tests 605s # Start of utf8_to_ucs4 tests 605s # max perf: 43.0 MB/s 605s ok 13 /utf8/perf/utf8_to_ucs4/ascii 605s # max perf: 67.0 MB/s 605s ok 14 /utf8/perf/utf8_to_ucs4/latin1 605s # max perf: 160.0 MB/s 605s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 605s # max perf: inf MB/s 605s ok 16 /utf8/perf/utf8_to_ucs4/han 605s # End of utf8_to_ucs4 tests 605s # Start of utf8_to_ucs4-sized tests 605s # max perf: inf MB/s 605s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 605s # max perf: inf MB/s 605s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 605s # max perf: 160.0 MB/s 605s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 605s # max perf: inf MB/s 605s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 605s # End of utf8_to_ucs4-sized tests 605s # Start of utf8_to_ucs4_fast tests 605s # max perf: inf MB/s 605s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 605s # max perf: inf MB/s 605s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 605s # max perf: 160.0 MB/s 605s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 605s # max perf: 156.0 MB/s 605s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 605s # End of utf8_to_ucs4_fast tests 605s # Start of utf8_to_ucs4_fast-sized tests 605s # max perf: 43.0 MB/s 605s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 605s # max perf: 67.0 MB/s 605s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 605s # max perf: 160.0 MB/s 605s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 605s # max perf: inf MB/s 605s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 605s # End of utf8_to_ucs4_fast-sized tests 605s # Start of utf8_validate tests 605s # max perf: inf MB/s 605s ok 29 /utf8/perf/utf8_validate/ascii 605s # max perf: inf MB/s 605s ok 30 /utf8/perf/utf8_validate/latin1 605s # max perf: inf MB/s 605s ok 31 /utf8/perf/utf8_validate/cyrillic 605s # max perf: inf MB/s 605s ok 32 /utf8/perf/utf8_validate/han 605s # End of utf8_validate tests 605s # Start of utf8_validate-sized tests 605s # max perf: inf MB/s 605s ok 33 /utf8/perf/utf8_validate-sized/ascii 605s # max perf: inf MB/s 605s ok 34 /utf8/perf/utf8_validate-sized/latin1 605s # max perf: inf MB/s 605s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 605s # max perf: inf MB/s 605s ok 36 /utf8/perf/utf8_validate-sized/han 605s # End of utf8_validate-sized tests 605s # End of perf tests 605s # End of utf8 tests 605s ok - glib/utf8-performance.test 605s # Running test: glib/atomic.test 605s TAP version 13 605s # random seed: R02Sf3d44d505180dbe89ce4fd32bcdbbc65 605s 1..2 605s # Start of atomic tests 605s ok 1 /atomic/types 606s ok 2 /atomic/threaded 606s # End of atomic tests 606s ok - glib/atomic.test 606s # Running test: glib/null-settings-backend.test 606s TAP version 13 606s # random seed: R02Sc1ff3338934f270f05210bffae2201e5 606s 1..1 606s # Start of null-settings-backend tests 606s ok 1 /null-settings-backend/extension-point-registered 606s # End of null-settings-backend tests 606s ok - glib/null-settings-backend.test 606s # Running test: glib/memory-input-stream.test 606s TAP version 13 606s # random seed: R02S73a3746917e7495dfea80c6ed8df832d 606s 1..6 606s # Start of memory-input-stream tests 606s ok 1 /memory-input-stream/read-chunks 606s ok 2 /memory-input-stream/async 606s ok 3 /memory-input-stream/seek 606s ok 4 /memory-input-stream/truncate 606s ok 5 /memory-input-stream/read-bytes 606s ok 6 /memory-input-stream/from-bytes 606s # End of memory-input-stream tests 606s ok - glib/memory-input-stream.test 606s # Running test: glib/signals-refcount1.test 606s TAP version 13 606s # random seed: R02Sd91fae0fbd280b6169652ebcd2b104d8 606s 1..1 606s # Start of gobject tests 606s # Start of refcount tests 606s # init 0x2aa0962a420 606s # 606s # init 0x2aa0962a5c0 606s # 606s # Executing: glib/signals-refcount1.test 611s # dispose 0x2aa0962a420! 611s # 611s # dispose 0x2aa0962a5c0! 611s # 611s ok 1 /gobject/refcount/signals 611s # slow test /gobject/refcount/signals executed in 5.00 secs 611s # End of refcount tests 611s # End of gobject tests 611s ok - glib/signals-refcount1.test 611s # Running test: glib/struct-info.test 611s TAP version 13 611s # random seed: R02S3dbe95f358575254301914b9804bb13d 611s 1..4 611s # Start of struct-info tests 611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/home 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/cache 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/system-config2 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/config 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/system-data2 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/data 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/state 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_N8ZYK2/struct-info/field-iterators/.dirs/runtime 611s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 611s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 611s ok 1 /struct-info/field-iterators 611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/home 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/cache 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/system-config2 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/config 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/system-data2 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/data 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/state 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_N8ZYK2/struct-info/sizeof-gvalue/.dirs/runtime 611s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 611s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 611s ok 2 /struct-info/sizeof-gvalue 611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_N8ZYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 611s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 611s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 611s ok 3 /struct-info/is-pointer-for-struct-method-arg 611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/home 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/cache 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/system-config2 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/config 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/system-data2 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/data 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/state 611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_N8ZYK2/struct-info/boxed/.dirs/runtime 611s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 611s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 611s ok 4 /struct-info/boxed 611s # End of struct-info tests 611s ok - glib/struct-info.test 611s # Running test: glib/cxx-98.test 611s TAP version 13 611s # random seed: R02S46daa0aa01ab7614ad5adac2c482588c 611s 1..2 611s # Start of gtask tests 611s # 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. 611s ok 1 /gtask/name 611s # Start of name tests 611s # 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. 611s ok 2 /gtask/name/macro-wrapper 611s # End of name tests 611s # End of gtask tests 611s ok - glib/cxx-98.test 611s # Running test: glib/slice.test 611s TAP version 13 611s # random seed: R02Sf751e2562062d8bdffc4c5f12f66c782 611s 1..3 611s # Start of slice tests 611s ok 1 /slice/copy 611s ok 2 /slice/chain 612s # Executing: glib/slice.test 612s ok 3 /slice/allocate 612s # End of slice tests 612s ok - glib/slice.test 612s # Running test: glib/environment.test 612s TAP version 13 612s # random seed: R02Sd5d63143a0acd103283b220cc6da2d66 612s 1..6 612s # Start of environ tests 612s # /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. 612s ok 1 /environ/listenv 612s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 612s ok 2 /environ/getenv 612s ok 3 /environ/setenv 612s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 612s ok 4 /environ/array 612s # /environ/null summary: Test getting and setting variables on a NULL envp array. 612s ok 5 /environ/null 612s # /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. 612s ok 6 /environ/case 612s # End of environ tests 612s ok - glib/environment.test 612s # Running test: glib/portal-support-flatpak-gsettings-only.test 612s TAP version 13 612s # random seed: R02S2969fb4a2c262b8e842998e87007ed5b 612s 1..1 612s # Start of portal-support tests 612s # Start of flatpak tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/runtime 612s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_FWG1K2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 612s ok 1 /portal-support/flatpak/gsettings 612s # End of flatpak tests 612s # End of portal-support tests 612s ok - glib/portal-support-flatpak-gsettings-only.test 612s # Running test: glib/utils-isolated.test 612s TAP version 13 612s # random seed: R02S6bb759a83baee640aa4667a11b967c04 612s 1..9 612s # Start of utils-isolated tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6TO1K2/utils-isolated/tmp-dir/.dirs/runtime 612s ok 1 /utils-isolated/tmp-dir 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6TO1K2/utils-isolated/home-dir/.dirs/runtime 612s ok 2 /utils-isolated/home-dir 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-cache-dir/.dirs/runtime 612s ok 3 /utils-isolated/user-cache-dir 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-config-dirs/.dirs/runtime 612s ok 4 /utils-isolated/system-config-dirs 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-config-dir/.dirs/runtime 612s ok 5 /utils-isolated/user-config-dir 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6TO1K2/utils-isolated/system-data-dirs/.dirs/runtime 612s ok 6 /utils-isolated/system-data-dirs 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-data-dir/.dirs/runtime 612s ok 7 /utils-isolated/user-data-dir 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-state-dir/.dirs/runtime 612s ok 8 /utils-isolated/user-state-dir 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6TO1K2/utils-isolated/user-runtime-dir/.dirs/runtime 612s ok 9 /utils-isolated/user-runtime-dir 612s # End of utils-isolated tests 612s ok - glib/utils-isolated.test 612s # Running test: glib/closure.test 612s TAP version 13 612s # random seed: R02S0160d34b06db80feb7084cef4d168e36 612s 1..6 612s # Start of closure tests 612s ok 1 /closure/idle 612s ok 2 /closure/timeout 612s ok 3 /closure/iochannel 612s ok 4 /closure/child 612s ok 5 /closure/fd 612s ok 6 /closure/signal 612s # End of closure tests 612s ok - glib/closure.test 612s # Running test: glib/unicode.test 612s TAP version 13 612s # random seed: R02S3f45eb245b1c86db3d526e75acc8c165 612s 1..39 612s # Start of unicode tests 612s ok 1 /unicode/alnum 612s ok 2 /unicode/alpha 612s ok 3 /unicode/break-type 612s ok 4 /unicode/canonical-decomposition 612s ok 5 /unicode/casefold 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s # Cannot set locale to lt_LT, skipping 612s ok 6 /unicode/casemap_and_casefold 612s ok 7 /unicode/cases 612s ok 8 /unicode/character-type 612s ok 9 /unicode/cntrl 612s ok 10 /unicode/combining-class 612s ok 11 /unicode/compose 612s ok 12 /unicode/decompose 612s ok 13 /unicode/decompose-tail 612s ok 14 /unicode/defined 612s ok 15 /unicode/digit 612s ok 16 /unicode/digit-value 612s ok 17 /unicode/fully-decompose-canonical 612s ok 18 /unicode/fully-decompose-len 612s ok 19 /unicode/normalization 612s ok 20 /unicode/graph 612s # Testing script Zyyy (code 1517910393) 612s # Testing script Zinh (code 1516858984) 612s # Testing script Zmth (code 1517122664) 612s # Testing script Arab (code 1098015074) 612s # Testing script Armn (code 1098018158) 612s # Testing script Beng (code 1113943655) 612s # Testing script Bopo (code 1114599535) 612s # Testing script Cher (code 1130915186) 612s # Testing script Copt (code 1131376756) 612s # Testing script Cyrl (code 1132032620) 612s # Testing script Dsrt (code 1148416628) 612s # Testing script Deva (code 1147500129) 612s # Testing script Ethi (code 1165256809) 612s # Testing script Geor (code 1197830002) 612s # Testing script Goth (code 1198486632) 612s # Testing script Grek (code 1198679403) 612s # Testing script Gujr (code 1198877298) 612s # Testing script Guru (code 1198879349) 612s # Testing script Hani (code 1214344809) 612s # Testing script Hang (code 1214344807) 612s # Testing script Hebr (code 1214603890) 612s # Testing script Hira (code 1214870113) 612s # Testing script Knda (code 1265525857) 612s # Testing script Kana (code 1264676449) 612s # Testing script Khmr (code 1265134962) 612s # Testing script Laoo (code 1281453935) 612s # Testing script Latn (code 1281455214) 612s # Testing script Mlym (code 1298954605) 612s # Testing script Mong (code 1299148391) 612s # Testing script Mymr (code 1299803506) 612s # Testing script Ogam (code 1332175213) 612s # Testing script Ital (code 1232363884) 612s # Testing script Orya (code 1332902241) 612s # Testing script Runr (code 1383427698) 612s # Testing script Sinh (code 1399418472) 612s # Testing script Syrc (code 1400468067) 612s # Testing script Taml (code 1415671148) 612s # Testing script Telu (code 1415933045) 612s # Testing script Thaa (code 1416126817) 612s # Testing script Thai (code 1416126825) 612s # Testing script Tibt (code 1416192628) 612s # Testing script Cans (code 1130458739) 612s # Testing script Yiii (code 1500080489) 612s # Testing script Tglg (code 1416064103) 612s # Testing script Hano (code 1214344815) 612s # Testing script Buhd (code 1114990692) 612s # Testing script Tagb (code 1415669602) 612s # Testing script Brai (code 1114792297) 612s # Testing script Cprt (code 1131442804) 612s # Testing script Limb (code 1281977698) 612s # Testing script Osma (code 1332964705) 612s # Testing script Shaw (code 1399349623) 612s # Testing script Linb (code 1281977954) 612s # Testing script Tale (code 1415670885) 612s # Testing script Ugar (code 1432838514) 612s # Testing script Talu (code 1415670901) 612s # Testing script Bugi (code 1114990441) 612s # Testing script Glag (code 1198285159) 612s # Testing script Tfng (code 1415999079) 612s # Testing script Sylo (code 1400466543) 612s # Testing script Xpeo (code 1483761007) 612s # Testing script Khar (code 1265131890) 612s # Testing script Zzzz (code 1517976186) 612s # Testing script Bali (code 1113681001) 612s # Testing script Xsux (code 1483961720) 612s # Testing script Phnx (code 1349021304) 612s # Testing script Phag (code 1349017959) 612s # Testing script Nkoo (code 1315663727) 612s # Testing script Kali (code 1264675945) 612s # Testing script Lepc (code 1281716323) 612s # Testing script Rjng (code 1382706791) 612s # Testing script Sund (code 1400204900) 612s # Testing script Saur (code 1398895986) 612s # Testing script Cham (code 1130914157) 612s # Testing script Olck (code 1332503403) 612s # Testing script Vaii (code 1449224553) 612s # Testing script Cari (code 1130459753) 612s # Testing script Lyci (code 1283023721) 612s # Testing script Lydi (code 1283023977) 612s # Testing script Avst (code 1098281844) 612s # Testing script Bamu (code 1113681269) 612s # Testing script Egyp (code 1164409200) 612s # Testing script Armi (code 1098018153) 612s # Testing script Phli (code 1349020777) 612s # Testing script Prti (code 1349678185) 612s # Testing script Java (code 1247901281) 612s # Testing script Kthi (code 1265920105) 612s # Testing script Lisu (code 1281979253) 612s # Testing script Mtei (code 1299473769) 612s # Testing script Sarb (code 1398895202) 612s # Testing script Orkh (code 1332898664) 612s # Testing script Samr (code 1398893938) 612s # Testing script Lana (code 1281453665) 612s # Testing script Tavt (code 1415673460) 612s # Testing script Batk (code 1113683051) 612s # Testing script Brah (code 1114792296) 612s # Testing script Mand (code 1298230884) 612s # Testing script Cakm (code 1130457965) 612s # Testing script Merc (code 1298494051) 612s # Testing script Mero (code 1298494063) 612s # Testing script Plrd (code 1349284452) 612s # Testing script Shrd (code 1399353956) 612s # Testing script Sora (code 1399812705) 612s # Testing script Takr (code 1415670642) 612s # Testing script Bass (code 1113682803) 612s # Testing script Aghb (code 1097295970) 612s # Testing script Dupl (code 1148547180) 612s # Testing script Elba (code 1164730977) 612s # Testing script Gran (code 1198678382) 612s # Testing script Khoj (code 1265135466) 612s # Testing script Sind (code 1399418468) 612s # Testing script Lina (code 1281977953) 612s # Testing script Mahj (code 1298229354) 612s # Testing script Mani (code 1298230889) 612s # Testing script Mend (code 1298493028) 612s # Testing script Modi (code 1299145833) 612s # Testing script Mroo (code 1299345263) 612s # Testing script Nbat (code 1315070324) 612s # Testing script Narb (code 1315009122) 612s # Testing script Perm (code 1348825709) 612s # Testing script Hmng (code 1215131239) 612s # Testing script Palm (code 1348562029) 612s # Testing script Pauc (code 1348564323) 612s # Testing script Phlp (code 1349020784) 612s # Testing script Sidd (code 1399415908) 612s # Testing script Tirh (code 1416196712) 612s # Testing script Wara (code 1466004065) 612s # Testing script Ahom (code 1097363309) 612s # Testing script Hluw (code 1215067511) 612s # Testing script Hatr (code 1214346354) 612s # Testing script Mult (code 1299541108) 612s # Testing script Hung (code 1215655527) 612s # Testing script Sgnw (code 1399287415) 612s # Testing script Adlm (code 1097100397) 612s # Testing script Bhks (code 1114139507) 612s # Testing script Marc (code 1298231907) 612s # Testing script Newa (code 1315272545) 612s # Testing script Osge (code 1332963173) 612s # Testing script Tang (code 1415671399) 612s # Testing script Gonm (code 1198485101) 612s # Testing script Nshu (code 1316186229) 612s # Testing script Soyo (code 1399814511) 612s # Testing script Zanb (code 1516334690) 612s # Testing script Dogr (code 1148151666) 612s # Testing script Gong (code 1198485095) 612s # Testing script Rohg (code 1383032935) 612s # Testing script Maka (code 1298230113) 612s # Testing script Medf (code 1298490470) 612s # Testing script Sogo (code 1399809903) 612s # Testing script Sogd (code 1399809892) 612s # Testing script Elym (code 1164736877) 612s # Testing script Nand (code 1315008100) 612s # Testing script Hmnp (code 1215131248) 612s # Testing script Wcho (code 1466132591) 612s # Testing script Chrs (code 1130918515) 612s # Testing script Diak (code 1147756907) 612s # Testing script Kits (code 1265202291) 612s # Testing script Yezi (code 1499822697) 612s # Testing script Cpmn (code 1131441518) 612s # Testing script Ougr (code 1333094258) 612s # Testing script Tnsa (code 1416524641) 612s # Testing script Toto (code 1416590447) 612s # Testing script Vith (code 1449751656) 612s # Testing script Kawi (code 1264678761) 612s # Testing script Nagm (code 1315006317) 612s ok 21 /unicode/iso15924 612s ok 22 /unicode/lower 612s ok 23 /unicode/mark 612s ok 24 /unicode/mirror 612s ok 25 /unicode/print 612s ok 26 /unicode/punctuation 612s ok 27 /unicode/script 612s ok 28 /unicode/space 612s ok 29 /unicode/strdown 612s ok 30 /unicode/strup 612s ok 31 /unicode/turkish-strupdown 612s ok 32 /unicode/title 612s ok 33 /unicode/upper 612s ok 34 /unicode/validate 612s ok 35 /unicode/wide 612s ok 36 /unicode/xdigit 612s ok 37 /unicode/xdigit-value 612s ok 38 /unicode/zero-width 612s ok 39 /unicode/normalize 612s # End of unicode tests 612s ok - glib/unicode.test 612s # Running test: glib/cancellable.test 612s TAP version 13 612s # random seed: R02S8e1c5dad306ab5e8abb2716db8a8803a 612s 1..10 612s # Start of cancellable tests 612s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 612s ok 2 /cancellable/null 612s # /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 612s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 612s # /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 612s ok 4 /cancellable/resets-on-cancel-callback-hangs 612s ok 5 /cancellable/poll-fd 612s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 612s ok 6 /cancellable/poll-fd-cancelled 612s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 612s ok 7 /cancellable/poll-fd-cancelled-threaded 612s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 612s ok 8 /cancellable/cancel-reset-races 612s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 612s ok 9 /cancellable/cancel-reset-connect-races 612s # End of cancellable tests 612s # Start of cancellable-source tests 612s # /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) 612s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 612s ok 10 /cancellable-source/threaded-dispose 612s # End of cancellable-source tests 612s ok - glib/cancellable.test 612s # Running test: glib/gdbus-peer-object-manager.test 612s TAP version 13 612s # random seed: R02S264aa4c1450d104e26371dbee63dba35 612s 1..2 612s # Start of gdbus tests 612s # Start of peer-object-manager tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/normal/.dirs/runtime 612s ok 1 /gdbus/peer-object-manager/normal 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_56U0K2/gdbus/peer-object-manager/root/.dirs/runtime 612s ok 2 /gdbus/peer-object-manager/root 612s # End of peer-object-manager tests 612s # End of gdbus tests 612s ok - glib/gdbus-peer-object-manager.test 612s # Running test: glib/mem-overflow.test 612s TAP version 13 612s # random seed: R02S2971e124735e7c9672992d6fd2254aea 612s 1..2 612s # Start of mem tests 612s ok 1 /mem/overflow 612s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 612s ok 2 /mem/empty-alloc 612s # Start of overflow tests 612s # Start of subprocess tests 612s # End of subprocess tests 612s # End of overflow tests 612s # Start of empty-alloc tests 612s # End of empty-alloc tests 612s # End of mem tests 612s ok - glib/mem-overflow.test 612s # Running test: glib/regex.test 612s TAP version 13 612s # random seed: R02S85c472ede2a6b3f253718a1356e0d5bb 612s 1..848 612s # Start of regex tests 612s ok 1 /regex/properties 612s ok 2 /regex/class 612s ok 3 /regex/lookahead 612s ok 4 /regex/lookbehind 612s ok 5 /regex/subpattern 612s ok 6 /regex/condition 612s ok 7 /regex/recursion 612s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 612s ok 8 /regex/multiline 612s ok 9 /regex/explicit-crlf 612s ok 10 /regex/max-lookbehind 612s ok 11 /regex/compile-errors 612s ok 12 /regex/jit-unsupported-matching 612s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 612s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 612s ok 13 /regex/unmatched-named-subpattern 612s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 612s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 612s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 612s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 612s ok 14 /regex/compiled-regex-after-jit-failure 612s # Start of new tests 612s ok 15 /regex/new/1 612s ok 16 /regex/new/2 612s ok 17 /regex/new/3 612s ok 18 /regex/new/4 612s ok 19 /regex/new/5 612s ok 20 /regex/new/6 612s ok 21 /regex/new/7 612s ok 22 /regex/new/8 612s ok 23 /regex/new/9 612s ok 24 /regex/new/10 612s ok 25 /regex/new/11 612s ok 26 /regex/new/12 612s ok 27 /regex/new/13 612s ok 28 /regex/new/14 612s ok 29 /regex/new/15 612s ok 30 /regex/new/16 612s ok 31 /regex/new/17 612s ok 32 /regex/new/18 612s ok 33 /regex/new/19 612s ok 34 /regex/new/71 612s ok 35 /regex/new/80 612s ok 36 /regex/new/82 612s # End of new tests 612s # Start of new-check-flags tests 612s ok 37 /regex/new-check-flags/20 612s ok 38 /regex/new-check-flags/21 612s ok 39 /regex/new-check-flags/22 612s ok 40 /regex/new-check-flags/23 612s ok 41 /regex/new-check-flags/24 612s ok 42 /regex/new-check-flags/25 612s ok 43 /regex/new-check-flags/26 612s ok 44 /regex/new-check-flags/27 612s ok 45 /regex/new-check-flags/28 612s ok 46 /regex/new-check-flags/29 612s ok 47 /regex/new-check-flags/30 612s ok 48 /regex/new-check-flags/31 612s ok 49 /regex/new-check-flags/32 612s ok 50 /regex/new-check-flags/33 612s ok 51 /regex/new-check-flags/34 612s ok 52 /regex/new-check-flags/35 612s ok 53 /regex/new-check-flags/36 612s # End of new-check-flags tests 612s # Start of new-fail tests 612s ok 54 /regex/new-fail/37 612s ok 55 /regex/new-fail/38 612s ok 56 /regex/new-fail/39 612s ok 57 /regex/new-fail/40 612s ok 58 /regex/new-fail/41 612s ok 59 /regex/new-fail/42 612s ok 60 /regex/new-fail/43 612s ok 61 /regex/new-fail/44 612s ok 62 /regex/new-fail/45 612s ok 63 /regex/new-fail/46 612s ok 64 /regex/new-fail/47 612s ok 65 /regex/new-fail/48 612s ok 66 /regex/new-fail/49 612s ok 67 /regex/new-fail/50 612s ok 68 /regex/new-fail/51 612s ok 69 /regex/new-fail/52 612s ok 70 /regex/new-fail/53 612s ok 71 /regex/new-fail/54 612s ok 72 /regex/new-fail/55 612s ok 73 /regex/new-fail/56 612s ok 74 /regex/new-fail/57 612s ok 75 /regex/new-fail/58 612s ok 76 /regex/new-fail/59 612s ok 77 /regex/new-fail/60 612s ok 78 /regex/new-fail/61 612s ok 79 /regex/new-fail/62 612s ok 80 /regex/new-fail/63 612s ok 81 /regex/new-fail/64 612s ok 82 /regex/new-fail/65 612s ok 83 /regex/new-fail/66 612s ok 84 /regex/new-fail/67 612s ok 85 /regex/new-fail/68 612s ok 86 /regex/new-fail/69 612s ok 87 /regex/new-fail/70 612s ok 88 /regex/new-fail/72 612s ok 89 /regex/new-fail/73 612s ok 90 /regex/new-fail/74 612s ok 91 /regex/new-fail/75 612s ok 92 /regex/new-fail/76 612s ok 93 /regex/new-fail/77 612s ok 94 /regex/new-fail/78 612s ok 95 /regex/new-fail/79 612s ok 96 /regex/new-fail/81 612s ok 97 /regex/new-fail/83 612s ok 98 /regex/new-fail/84 612s ok 99 /regex/new-fail/85 612s ok 100 /regex/new-fail/86 612s ok 101 /regex/new-fail/87 612s ok 102 /regex/new-fail/88 612s ok 103 /regex/new-fail/89 612s ok 104 /regex/new-fail/90 612s ok 105 /regex/new-fail/91 612s # End of new-fail tests 612s # Start of match-simple tests 612s ok 106 /regex/match-simple/92 612s ok 107 /regex/match-simple/93 612s ok 108 /regex/match-simple/94 612s ok 109 /regex/match-simple/95 612s ok 110 /regex/match-simple/96 612s ok 111 /regex/match-simple/97 612s ok 112 /regex/match-simple/98 612s ok 113 /regex/match-simple/99 612s ok 114 /regex/match-simple/100 612s ok 115 /regex/match-simple/101 612s ok 116 /regex/match-simple/102 612s ok 117 /regex/match-simple/103 612s ok 118 /regex/match-simple/104 612s ok 119 /regex/match-simple/105 612s ok 120 /regex/match-simple/106 612s ok 121 /regex/match-simple/107 612s ok 122 /regex/match-simple/108 612s ok 123 /regex/match-simple/109 612s ok 124 /regex/match-simple/110 612s ok 125 /regex/match-simple/111 612s ok 126 /regex/match-simple/112 612s ok 127 /regex/match-simple/113 612s ok 128 /regex/match-simple/114 612s ok 129 /regex/match-simple/115 612s ok 130 /regex/match-simple/116 612s ok 131 /regex/match-simple/117 612s ok 132 /regex/match-simple/118 612s ok 133 /regex/match-simple/119 612s ok 134 /regex/match-simple/120 612s ok 135 /regex/match-simple/121 612s ok 136 /regex/match-simple/122 612s ok 137 /regex/match-simple/123 612s ok 138 /regex/match-simple/124 612s ok 139 /regex/match-simple/125 612s ok 140 /regex/match-simple/126 612s ok 141 /regex/match-simple/127 612s ok 142 /regex/match-simple/128 612s ok 143 /regex/match-simple/129 612s ok 144 /regex/match-simple/130 612s ok 145 /regex/match-simple/131 612s ok 146 /regex/match-simple/132 612s ok 147 /regex/match-simple/133 612s ok 148 /regex/match-simple/134 612s ok 149 /regex/match-simple/135 612s ok 150 /regex/match-simple/136 612s ok 151 /regex/match-simple/137 612s ok 152 /regex/match-simple/138 612s ok 153 /regex/match-simple/139 612s ok 154 /regex/match-simple/140 612s ok 155 /regex/match-simple/141 612s ok 156 /regex/match-simple/142 612s ok 157 /regex/match-simple/143 612s ok 158 /regex/match-simple/144 612s ok 159 /regex/match-simple/145 612s ok 160 /regex/match-simple/146 612s ok 161 /regex/match-simple/147 612s ok 162 /regex/match-simple/148 612s ok 163 /regex/match-simple/149 612s ok 164 /regex/match-simple/150 612s ok 165 /regex/match-simple/151 612s ok 166 /regex/match-simple/152 612s ok 167 /regex/match-simple/153 612s ok 168 /regex/match-simple/154 612s ok 169 /regex/match-simple/155 612s ok 170 /regex/match-simple/156 612s ok 171 /regex/match-simple/157 612s ok 172 /regex/match-simple/158 612s ok 173 /regex/match-simple/159 612s ok 174 /regex/match-simple/160 612s ok 175 /regex/match-simple/161 612s ok 176 /regex/match-simple/162 612s ok 177 /regex/match-simple/163 612s ok 178 /regex/match-simple/164 612s # End of match-simple tests 612s # Start of match-simple-optimized tests 612s ok 179 /regex/match-simple-optimized/92 612s ok 180 /regex/match-simple-optimized/93 612s ok 181 /regex/match-simple-optimized/94 612s ok 182 /regex/match-simple-optimized/95 612s ok 183 /regex/match-simple-optimized/96 612s ok 184 /regex/match-simple-optimized/97 612s ok 185 /regex/match-simple-optimized/98 612s ok 186 /regex/match-simple-optimized/99 612s ok 187 /regex/match-simple-optimized/100 612s ok 188 /regex/match-simple-optimized/101 612s ok 189 /regex/match-simple-optimized/102 612s ok 190 /regex/match-simple-optimized/103 612s ok 191 /regex/match-simple-optimized/104 612s ok 192 /regex/match-simple-optimized/105 612s ok 193 /regex/match-simple-optimized/106 612s ok 194 /regex/match-simple-optimized/107 612s ok 195 /regex/match-simple-optimized/108 612s ok 196 /regex/match-simple-optimized/109 612s ok 197 /regex/match-simple-optimized/110 612s ok 198 /regex/match-simple-optimized/111 612s ok 199 /regex/match-simple-optimized/112 612s ok 200 /regex/match-simple-optimized/113 612s ok 201 /regex/match-simple-optimized/114 612s ok 202 /regex/match-simple-optimized/115 612s ok 203 /regex/match-simple-optimized/116 612s ok 204 /regex/match-simple-optimized/117 612s ok 205 /regex/match-simple-optimized/118 612s ok 206 /regex/match-simple-optimized/119 612s ok 207 /regex/match-simple-optimized/120 612s ok 208 /regex/match-simple-optimized/121 612s ok 209 /regex/match-simple-optimized/122 612s ok 210 /regex/match-simple-optimized/123 612s ok 211 /regex/match-simple-optimized/124 612s ok 212 /regex/match-simple-optimized/125 612s ok 213 /regex/match-simple-optimized/126 612s ok 214 /regex/match-simple-optimized/127 612s ok 215 /regex/match-simple-optimized/128 612s ok 216 /regex/match-simple-optimized/129 612s ok 217 /regex/match-simple-optimized/130 612s ok 218 /regex/match-simple-optimized/131 612s ok 219 /regex/match-simple-optimized/132 612s ok 220 /regex/match-simple-optimized/133 612s ok 221 /regex/match-simple-optimized/134 612s ok 222 /regex/match-simple-optimized/135 612s ok 223 /regex/match-simple-optimized/136 612s ok 224 /regex/match-simple-optimized/137 612s ok 225 /regex/match-simple-optimized/138 612s ok 226 /regex/match-simple-optimized/139 612s ok 227 /regex/match-simple-optimized/140 612s ok 228 /regex/match-simple-optimized/141 612s ok 229 /regex/match-simple-optimized/142 612s ok 230 /regex/match-simple-optimized/143 612s ok 231 /regex/match-simple-optimized/144 612s ok 232 /regex/match-simple-optimized/145 612s ok 233 /regex/match-simple-optimized/146 612s ok 234 /regex/match-simple-optimized/147 612s ok 235 /regex/match-simple-optimized/148 612s ok 236 /regex/match-simple-optimized/149 612s ok 237 /regex/match-simple-optimized/150 612s ok 238 /regex/match-simple-optimized/151 612s ok 239 /regex/match-simple-optimized/152 612s ok 240 /regex/match-simple-optimized/153 612s ok 241 /regex/match-simple-optimized/154 612s ok 242 /regex/match-simple-optimized/155 612s ok 243 /regex/match-simple-optimized/156 612s ok 244 /regex/match-simple-optimized/157 612s ok 245 /regex/match-simple-optimized/158 612s ok 246 /regex/match-simple-optimized/159 612s ok 247 /regex/match-simple-optimized/160 612s ok 248 /regex/match-simple-optimized/161 612s ok 249 /regex/match-simple-optimized/162 612s ok 250 /regex/match-simple-optimized/163 612s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 612s ok 251 /regex/match-simple-optimized/164 612s # End of match-simple-optimized tests 612s # Start of match tests 612s ok 252 /regex/match/165 612s ok 253 /regex/match/166 612s ok 254 /regex/match/167 612s ok 255 /regex/match/168 612s ok 256 /regex/match/169 612s ok 257 /regex/match/170 612s ok 258 /regex/match/171 612s ok 259 /regex/match/172 612s ok 260 /regex/match/173 612s ok 261 /regex/match/174 612s ok 262 /regex/match/175 612s ok 263 /regex/match/176 612s ok 264 /regex/match/177 612s ok 265 /regex/match/178 612s ok 266 /regex/match/179 612s ok 267 /regex/match/180 612s ok 268 /regex/match/181 612s ok 269 /regex/match/182 612s ok 270 /regex/match/183 612s ok 271 /regex/match/184 612s ok 272 /regex/match/185 612s ok 273 /regex/match/186 612s ok 274 /regex/match/187 612s ok 275 /regex/match/188 612s ok 276 /regex/match/189 612s ok 277 /regex/match/190 612s ok 278 /regex/match/191 612s ok 279 /regex/match/192 612s ok 280 /regex/match/193 612s ok 281 /regex/match/194 612s ok 282 /regex/match/195 612s ok 283 /regex/match/196 612s ok 284 /regex/match/197 612s ok 285 /regex/match/198 612s ok 286 /regex/match/199 612s ok 287 /regex/match/200 612s ok 288 /regex/match/201 612s ok 289 /regex/match/202 612s ok 290 /regex/match/203 612s ok 291 /regex/match/204 612s ok 292 /regex/match/205 612s ok 293 /regex/match/206 612s ok 294 /regex/match/207 612s ok 295 /regex/match/208 612s ok 296 /regex/match/209 612s ok 297 /regex/match/210 612s ok 298 /regex/match/211 612s ok 299 /regex/match/212 612s ok 300 /regex/match/213 612s ok 301 /regex/match/214 612s ok 302 /regex/match/215 612s ok 303 /regex/match/216 612s ok 304 /regex/match/217 612s ok 305 /regex/match/218 612s ok 306 /regex/match/219 612s ok 307 /regex/match/220 612s ok 308 /regex/match/221 612s ok 309 /regex/match/222 612s ok 310 /regex/match/223 612s ok 311 /regex/match/224 612s ok 312 /regex/match/225 612s ok 313 /regex/match/226 612s ok 314 /regex/match/227 612s ok 315 /regex/match/228 612s ok 316 /regex/match/229 612s ok 317 /regex/match/230 612s ok 318 /regex/match/231 612s ok 319 /regex/match/232 612s ok 320 /regex/match/233 612s ok 321 /regex/match/234 612s ok 322 /regex/match/235 612s ok 323 /regex/match/236 612s ok 324 /regex/match/237 612s ok 325 /regex/match/238 612s ok 326 /regex/match/239 612s ok 327 /regex/match/240 612s ok 328 /regex/match/241 612s ok 329 /regex/match/242 612s ok 330 /regex/match/243 612s ok 331 /regex/match/244 612s ok 332 /regex/match/245 612s ok 333 /regex/match/246 612s ok 334 /regex/match/partial281 612s ok 335 /regex/match/partial282 612s ok 336 /regex/match/partial283 612s ok 337 /regex/match/partial284 612s ok 338 /regex/match/partial285 612s ok 339 /regex/match/partial286 612s ok 340 /regex/match/partial287 612s ok 341 /regex/match/partial288 612s ok 342 /regex/match/partial289 612s ok 343 /regex/match/partial290 612s ok 344 /regex/match/partial291 612s ok 345 /regex/match/partial292 612s ok 346 /regex/match/partial293 612s ok 347 /regex/match/partial294 612s ok 348 /regex/match/partial295 612s ok 349 /regex/match/partial296 612s ok 350 /regex/match/partial297 612s ok 351 /regex/match/partial298 612s ok 352 /regex/match/partial299 612s ok 353 /regex/match/partial300 612s ok 354 /regex/match/partial301 612s ok 355 /regex/match/partial302 612s # Start of next0 tests 612s ok 356 /regex/match/next0/247 612s ok 357 /regex/match/next0/248 612s ok 358 /regex/match/next0/249 612s ok 359 /regex/match/next0/250 612s # End of next0 tests 612s # Start of next1 tests 612s ok 360 /regex/match/next1/251 612s ok 361 /regex/match/next1/252 612s ok 362 /regex/match/next1/253 612s ok 363 /regex/match/next1/254 612s ok 364 /regex/match/next1/255 612s # End of next1 tests 612s # Start of next2 tests 612s ok 365 /regex/match/next2/256 612s ok 366 /regex/match/next2/257 612s ok 367 /regex/match/next2/258 612s ok 368 /regex/match/next2/259 612s ok 369 /regex/match/next2/260 612s ok 370 /regex/match/next2/261 612s ok 371 /regex/match/next2/262 612s ok 372 /regex/match/next2/263 612s # End of next2 tests 612s # Start of next3 tests 612s ok 373 /regex/match/next3/264 612s ok 374 /regex/match/next3/265 612s ok 375 /regex/match/next3/266 612s ok 376 /regex/match/next3/267 612s ok 377 /regex/match/next3/268 612s ok 378 /regex/match/next3/269 612s # End of next3 tests 612s # Start of next4 tests 612s ok 379 /regex/match/next4/270 612s # End of next4 tests 612s # Start of count tests 612s ok 380 /regex/match/count/271 612s ok 381 /regex/match/count/272 612s ok 382 /regex/match/count/273 612s ok 383 /regex/match/count/274 612s ok 384 /regex/match/count/275 612s ok 385 /regex/match/count/276 612s ok 386 /regex/match/count/277 612s ok 387 /regex/match/count/278 612s ok 388 /regex/match/count/279 612s ok 389 /regex/match/count/280 612s # End of count tests 612s # Start of count-optimized tests 612s ok 390 /regex/match/count-optimized/271 612s ok 391 /regex/match/count-optimized/272 612s ok 392 /regex/match/count-optimized/273 612s ok 393 /regex/match/count-optimized/274 612s ok 394 /regex/match/count-optimized/275 612s ok 395 /regex/match/count-optimized/276 612s ok 396 /regex/match/count-optimized/277 612s ok 397 /regex/match/count-optimized/278 612s ok 398 /regex/match/count-optimized/279 612s ok 399 /regex/match/count-optimized/280 612s # End of count-optimized tests 612s # Start of partial-optimized tests 612s ok 400 /regex/match/partial-optimized/281 612s ok 401 /regex/match/partial-optimized/282 612s ok 402 /regex/match/partial-optimized/283 612s ok 403 /regex/match/partial-optimized/284 612s ok 404 /regex/match/partial-optimized/285 612s ok 405 /regex/match/partial-optimized/286 612s ok 406 /regex/match/partial-optimized/287 612s ok 407 /regex/match/partial-optimized/288 612s ok 408 /regex/match/partial-optimized/289 612s ok 409 /regex/match/partial-optimized/290 612s ok 410 /regex/match/partial-optimized/291 612s ok 411 /regex/match/partial-optimized/292 612s ok 412 /regex/match/partial-optimized/293 612s ok 413 /regex/match/partial-optimized/294 612s ok 414 /regex/match/partial-optimized/295 612s ok 415 /regex/match/partial-optimized/296 612s ok 416 /regex/match/partial-optimized/297 612s ok 417 /regex/match/partial-optimized/298 612s ok 418 /regex/match/partial-optimized/299 612s ok 419 /regex/match/partial-optimized/300 612s ok 420 /regex/match/partial-optimized/301 612s ok 421 /regex/match/partial-optimized/302 612s # End of partial-optimized tests 612s # Start of subpattern tests 612s ok 422 /regex/match/subpattern/303 612s ok 423 /regex/match/subpattern/304 612s ok 424 /regex/match/subpattern/305 612s ok 425 /regex/match/subpattern/306 612s ok 426 /regex/match/subpattern/307 612s ok 427 /regex/match/subpattern/308 612s ok 428 /regex/match/subpattern/309 612s ok 429 /regex/match/subpattern/310 612s ok 430 /regex/match/subpattern/311 612s ok 431 /regex/match/subpattern/312 612s ok 432 /regex/match/subpattern/313 612s ok 433 /regex/match/subpattern/314 612s ok 434 /regex/match/subpattern/315 612s # Start of named tests 612s # Start of dupnames tests 612s ok 435 /regex/match/subpattern/named/dupnames/325 612s ok 436 /regex/match/subpattern/named/dupnames/326 612s ok 437 /regex/match/subpattern/named/dupnames/327 612s ok 438 /regex/match/subpattern/named/dupnames/328 612s ok 439 /regex/match/subpattern/named/dupnames/329 612s # End of dupnames tests 612s # End of named tests 612s # End of subpattern tests 612s # Start of subpattern-optimized tests 612s ok 440 /regex/match/subpattern-optimized/303 612s ok 441 /regex/match/subpattern-optimized/304 612s ok 442 /regex/match/subpattern-optimized/305 612s ok 443 /regex/match/subpattern-optimized/306 612s ok 444 /regex/match/subpattern-optimized/307 612s ok 445 /regex/match/subpattern-optimized/308 612s ok 446 /regex/match/subpattern-optimized/309 612s ok 447 /regex/match/subpattern-optimized/310 612s ok 448 /regex/match/subpattern-optimized/311 612s ok 449 /regex/match/subpattern-optimized/312 612s ok 450 /regex/match/subpattern-optimized/313 612s ok 451 /regex/match/subpattern-optimized/314 612s ok 452 /regex/match/subpattern-optimized/315 612s # End of subpattern-optimized tests 612s # Start of named tests 612s # Start of subpattern tests 612s ok 453 /regex/match/named/subpattern/316 612s ok 454 /regex/match/named/subpattern/317 612s ok 455 /regex/match/named/subpattern/318 612s ok 456 /regex/match/named/subpattern/319 612s ok 457 /regex/match/named/subpattern/320 612s ok 458 /regex/match/named/subpattern/321 612s ok 459 /regex/match/named/subpattern/322 612s ok 460 /regex/match/named/subpattern/323 612s ok 461 /regex/match/named/subpattern/324 612s ok 462 /regex/match/named/subpattern/330 612s ok 463 /regex/match/named/subpattern/331 612s ok 464 /regex/match/named/subpattern/332 612s ok 465 /regex/match/named/subpattern/333 612s ok 466 /regex/match/named/subpattern/334 612s # End of subpattern tests 612s # End of named tests 612s # End of match tests 612s # Start of match-optimized tests 612s ok 467 /regex/match-optimized/165 612s ok 468 /regex/match-optimized/166 612s ok 469 /regex/match-optimized/167 612s ok 470 /regex/match-optimized/168 612s ok 471 /regex/match-optimized/169 612s ok 472 /regex/match-optimized/170 612s ok 473 /regex/match-optimized/171 612s ok 474 /regex/match-optimized/172 612s ok 475 /regex/match-optimized/173 612s ok 476 /regex/match-optimized/174 612s ok 477 /regex/match-optimized/175 612s ok 478 /regex/match-optimized/176 612s ok 479 /regex/match-optimized/177 612s ok 480 /regex/match-optimized/178 612s ok 481 /regex/match-optimized/179 612s ok 482 /regex/match-optimized/180 612s ok 483 /regex/match-optimized/181 612s ok 484 /regex/match-optimized/182 612s ok 485 /regex/match-optimized/183 612s ok 486 /regex/match-optimized/184 612s ok 487 /regex/match-optimized/185 612s ok 488 /regex/match-optimized/186 612s ok 489 /regex/match-optimized/187 612s ok 490 /regex/match-optimized/188 612s ok 491 /regex/match-optimized/189 612s ok 492 /regex/match-optimized/190 612s ok 493 /regex/match-optimized/191 612s ok 494 /regex/match-optimized/192 612s ok 495 /regex/match-optimized/193 612s ok 496 /regex/match-optimized/194 612s ok 497 /regex/match-optimized/195 612s ok 498 /regex/match-optimized/196 612s ok 499 /regex/match-optimized/197 612s ok 500 /regex/match-optimized/198 612s ok 501 /regex/match-optimized/199 612s ok 502 /regex/match-optimized/200 612s ok 503 /regex/match-optimized/201 612s ok 504 /regex/match-optimized/202 612s ok 505 /regex/match-optimized/203 612s ok 506 /regex/match-optimized/204 612s ok 507 /regex/match-optimized/205 612s ok 508 /regex/match-optimized/206 612s ok 509 /regex/match-optimized/207 612s ok 510 /regex/match-optimized/208 612s ok 511 /regex/match-optimized/209 612s ok 512 /regex/match-optimized/210 612s ok 513 /regex/match-optimized/211 612s ok 514 /regex/match-optimized/212 612s ok 515 /regex/match-optimized/213 612s ok 516 /regex/match-optimized/214 612s ok 517 /regex/match-optimized/215 612s ok 518 /regex/match-optimized/216 612s ok 519 /regex/match-optimized/217 612s ok 520 /regex/match-optimized/218 612s ok 521 /regex/match-optimized/219 612s ok 522 /regex/match-optimized/220 612s ok 523 /regex/match-optimized/221 612s ok 524 /regex/match-optimized/222 612s ok 525 /regex/match-optimized/223 612s ok 526 /regex/match-optimized/224 612s ok 527 /regex/match-optimized/225 612s ok 528 /regex/match-optimized/226 612s ok 529 /regex/match-optimized/227 612s ok 530 /regex/match-optimized/228 612s ok 531 /regex/match-optimized/229 612s ok 532 /regex/match-optimized/230 612s ok 533 /regex/match-optimized/231 612s ok 534 /regex/match-optimized/232 612s ok 535 /regex/match-optimized/233 612s ok 536 /regex/match-optimized/234 612s ok 537 /regex/match-optimized/235 612s ok 538 /regex/match-optimized/236 612s ok 539 /regex/match-optimized/237 612s ok 540 /regex/match-optimized/238 612s ok 541 /regex/match-optimized/239 612s ok 542 /regex/match-optimized/240 612s ok 543 /regex/match-optimized/241 612s ok 544 /regex/match-optimized/242 612s ok 545 /regex/match-optimized/243 612s ok 546 /regex/match-optimized/244 612s ok 547 /regex/match-optimized/245 612s ok 548 /regex/match-optimized/246 612s # End of match-optimized tests 612s # Start of fetch-all0 tests 612s ok 549 /regex/fetch-all0/335 612s ok 550 /regex/fetch-all0/336 612s # End of fetch-all0 tests 612s # Start of fetch-all1 tests 612s ok 551 /regex/fetch-all1/337 612s ok 552 /regex/fetch-all1/338 612s ok 553 /regex/fetch-all1/339 612s # End of fetch-all1 tests 612s # Start of fetch-all2 tests 612s ok 554 /regex/fetch-all2/340 612s ok 555 /regex/fetch-all2/341 612s ok 556 /regex/fetch-all2/342 612s # End of fetch-all2 tests 612s # Start of fetch-all3 tests 612s ok 557 /regex/fetch-all3/343 612s ok 558 /regex/fetch-all3/344 612s ok 559 /regex/fetch-all3/345 612s ok 560 /regex/fetch-all3/346 612s ok 561 /regex/fetch-all3/347 612s # End of fetch-all3 tests 612s # Start of split tests 612s # Start of simple0 tests 612s ok 562 /regex/split/simple0/348 612s ok 563 /regex/split/simple0/349 612s ok 564 /regex/split/simple0/364 612s ok 565 /regex/split/simple0/365 612s # End of simple0 tests 612s # Start of simple1 tests 612s ok 566 /regex/split/simple1/350 612s ok 567 /regex/split/simple1/351 612s # End of simple1 tests 612s # Start of simple2 tests 612s ok 568 /regex/split/simple2/352 612s ok 569 /regex/split/simple2/358 612s ok 570 /regex/split/simple2/360 612s # End of simple2 tests 612s # Start of simple3 tests 612s ok 571 /regex/split/simple3/353 612s ok 572 /regex/split/simple3/354 612s ok 573 /regex/split/simple3/355 612s ok 574 /regex/split/simple3/356 612s ok 575 /regex/split/simple3/357 612s ok 576 /regex/split/simple3/359 612s ok 577 /regex/split/simple3/361 612s ok 578 /regex/split/simple3/362 612s ok 579 /regex/split/simple3/363 612s # End of simple3 tests 612s # End of split tests 612s # Start of split0 tests 612s ok 580 /regex/split0/366 612s ok 581 /regex/split0/368 612s # End of split0 tests 612s # Start of full-split0 tests 612s ok 582 /regex/full-split0/367 612s ok 583 /regex/full-split0/369 612s ok 584 /regex/full-split0/370 612s ok 585 /regex/full-split0/371 612s ok 586 /regex/full-split0/372 612s # End of full-split0 tests 612s # Start of split1 tests 612s ok 587 /regex/split1/373 612s ok 588 /regex/split1/376 612s # End of split1 tests 612s # Start of full-split1 tests 612s ok 589 /regex/full-split1/374 612s ok 590 /regex/full-split1/375 612s ok 591 /regex/full-split1/377 612s ok 592 /regex/full-split1/378 612s ok 593 /regex/full-split1/404 612s # End of full-split1 tests 612s # Start of split2 tests 612s ok 594 /regex/split2/379 612s ok 595 /regex/split2/383 612s ok 596 /regex/split2/395 612s # End of split2 tests 612s # Start of full-split2 tests 612s ok 597 /regex/full-split2/380 612s ok 598 /regex/full-split2/381 612s ok 599 /regex/full-split2/382 612s ok 600 /regex/full-split2/384 612s ok 601 /regex/full-split2/396 612s ok 602 /regex/full-split2/399 612s ok 603 /regex/full-split2/405 612s # End of full-split2 tests 612s # Start of split3 tests 612s ok 604 /regex/split3/385 612s ok 605 /regex/split3/387 612s ok 606 /regex/split3/389 612s ok 607 /regex/split3/391 612s ok 608 /regex/split3/393 612s ok 609 /regex/split3/397 612s ok 610 /regex/split3/400 612s ok 611 /regex/split3/402 612s # End of split3 tests 612s # Start of full-split3 tests 612s ok 612 /regex/full-split3/386 612s ok 613 /regex/full-split3/388 612s ok 614 /regex/full-split3/390 612s ok 615 /regex/full-split3/392 612s ok 616 /regex/full-split3/394 612s ok 617 /regex/full-split3/398 612s ok 618 /regex/full-split3/401 612s ok 619 /regex/full-split3/403 612s ok 620 /regex/full-split3/406 612s ok 621 /regex/full-split3/407 612s # End of full-split3 tests 612s # Start of check-repacement tests 612s ok 622 /regex/check-repacement/408 612s ok 623 /regex/check-repacement/409 612s ok 624 /regex/check-repacement/410 612s ok 625 /regex/check-repacement/411 612s ok 626 /regex/check-repacement/412 612s ok 627 /regex/check-repacement/413 612s ok 628 /regex/check-repacement/414 612s ok 629 /regex/check-repacement/415 612s # End of check-repacement tests 612s # Start of expand tests 612s ok 630 /regex/expand/416 612s ok 631 /regex/expand/417 612s ok 632 /regex/expand/418 612s ok 633 /regex/expand/419 612s ok 634 /regex/expand/420 612s ok 635 /regex/expand/421 612s ok 636 /regex/expand/422 612s ok 637 /regex/expand/423 612s ok 638 /regex/expand/424 612s ok 639 /regex/expand/425 612s ok 640 /regex/expand/426 612s ok 641 /regex/expand/427 612s ok 642 /regex/expand/428 612s ok 643 /regex/expand/429 612s ok 644 /regex/expand/430 612s ok 645 /regex/expand/431 612s ok 646 /regex/expand/432 612s ok 647 /regex/expand/433 612s ok 648 /regex/expand/434 612s ok 649 /regex/expand/435 612s ok 650 /regex/expand/436 612s ok 651 /regex/expand/437 612s ok 652 /regex/expand/438 612s ok 653 /regex/expand/439 612s ok 654 /regex/expand/440 612s ok 655 /regex/expand/441 612s ok 656 /regex/expand/442 612s ok 657 /regex/expand/443 612s ok 658 /regex/expand/444 612s ok 659 /regex/expand/445 612s ok 660 /regex/expand/446 612s ok 661 /regex/expand/447 612s ok 662 /regex/expand/448 612s ok 663 /regex/expand/449 612s ok 664 /regex/expand/450 612s ok 665 /regex/expand/451 612s ok 666 /regex/expand/452 612s ok 667 /regex/expand/453 612s ok 668 /regex/expand/454 612s ok 669 /regex/expand/455 612s ok 670 /regex/expand/456 612s ok 671 /regex/expand/457 612s ok 672 /regex/expand/458 612s ok 673 /regex/expand/459 612s ok 674 /regex/expand/460 612s ok 675 /regex/expand/461 612s ok 676 /regex/expand/462 612s ok 677 /regex/expand/463 612s ok 678 /regex/expand/464 612s ok 679 /regex/expand/465 612s ok 680 /regex/expand/466 612s ok 681 /regex/expand/467 612s ok 682 /regex/expand/468 612s ok 683 /regex/expand/469 612s ok 684 /regex/expand/470 612s ok 685 /regex/expand/471 612s ok 686 /regex/expand/472 612s ok 687 /regex/expand/473 612s ok 688 /regex/expand/474 612s ok 689 /regex/expand/475 612s ok 690 /regex/expand/476 612s ok 691 /regex/expand/477 612s ok 692 /regex/expand/478 612s ok 693 /regex/expand/479 612s ok 694 /regex/expand/480 612s ok 695 /regex/expand/481 612s # End of expand tests 612s # Start of replace tests 612s ok 696 /regex/replace/482 612s ok 697 /regex/replace/483 612s ok 698 /regex/replace/484 612s ok 699 /regex/replace/485 612s ok 700 /regex/replace/486 612s ok 701 /regex/replace/487 612s ok 702 /regex/replace/488 612s ok 703 /regex/replace/489 612s ok 704 /regex/replace/490 612s ok 705 /regex/replace/491 612s ok 706 /regex/replace/492 612s ok 707 /regex/replace/493 612s ok 708 /regex/replace/494 612s ok 709 /regex/replace/495 612s ok 710 /regex/replace/496 612s ok 711 /regex/replace/497 612s ok 712 /regex/replace/498 612s ok 713 /regex/replace/499 612s ok 714 /regex/replace/500 612s ok 715 /regex/replace/501 612s ok 716 /regex/replace/502 612s ok 717 /regex/replace/503 612s ok 718 /regex/replace/504 612s ok 719 /regex/replace/505 612s ok 720 /regex/replace/506 612s ok 721 /regex/replace/507 612s ok 722 /regex/replace/508 612s ok 723 /regex/replace/509 612s # End of replace tests 612s # Start of replace-optimized tests 612s ok 724 /regex/replace-optimized/482 612s ok 725 /regex/replace-optimized/483 612s ok 726 /regex/replace-optimized/484 612s ok 727 /regex/replace-optimized/485 612s ok 728 /regex/replace-optimized/486 612s ok 729 /regex/replace-optimized/487 612s ok 730 /regex/replace-optimized/488 612s ok 731 /regex/replace-optimized/489 612s ok 732 /regex/replace-optimized/490 612s ok 733 /regex/replace-optimized/491 612s ok 734 /regex/replace-optimized/492 612s ok 735 /regex/replace-optimized/493 612s ok 736 /regex/replace-optimized/494 612s ok 737 /regex/replace-optimized/495 612s ok 738 /regex/replace-optimized/496 612s ok 739 /regex/replace-optimized/497 612s ok 740 /regex/replace-optimized/498 612s ok 741 /regex/replace-optimized/499 612s ok 742 /regex/replace-optimized/500 612s ok 743 /regex/replace-optimized/501 612s ok 744 /regex/replace-optimized/502 612s ok 745 /regex/replace-optimized/503 612s ok 746 /regex/replace-optimized/504 612s ok 747 /regex/replace-optimized/505 612s ok 748 /regex/replace-optimized/506 612s ok 749 /regex/replace-optimized/507 612s ok 750 /regex/replace-optimized/508 612s ok 751 /regex/replace-optimized/509 612s # End of replace-optimized tests 612s # Start of replace-literally tests 612s ok 752 /regex/replace-literally/510 612s ok 753 /regex/replace-literally/511 612s ok 754 /regex/replace-literally/512 612s ok 755 /regex/replace-literally/513 612s ok 756 /regex/replace-literally/514 612s ok 757 /regex/replace-literally/515 612s ok 758 /regex/replace-literally/516 612s ok 759 /regex/replace-literally/517 612s ok 760 /regex/replace-literally/518 612s ok 761 /regex/replace-literally/519 612s ok 762 /regex/replace-literally/520 612s ok 763 /regex/replace-literally/521 612s ok 764 /regex/replace-literally/522 612s ok 765 /regex/replace-literally/523 612s ok 766 /regex/replace-literally/524 612s ok 767 /regex/replace-literally/525 612s ok 768 /regex/replace-literally/526 612s ok 769 /regex/replace-literally/527 612s ok 770 /regex/replace-literally/528 612s ok 771 /regex/replace-literally/529 612s # End of replace-literally tests 612s # Start of string-number tests 612s ok 772 /regex/string-number/530 612s ok 773 /regex/string-number/531 612s ok 774 /regex/string-number/532 612s ok 775 /regex/string-number/533 612s ok 776 /regex/string-number/534 612s ok 777 /regex/string-number/535 612s ok 778 /regex/string-number/536 612s ok 779 /regex/string-number/537 612s ok 780 /regex/string-number/538 612s ok 781 /regex/string-number/539 612s ok 782 /regex/string-number/540 612s ok 783 /regex/string-number/541 612s ok 784 /regex/string-number/542 612s ok 785 /regex/string-number/543 612s ok 786 /regex/string-number/544 612s # End of string-number tests 612s # Start of escape_nul tests 612s ok 787 /regex/escape_nul/545 612s ok 788 /regex/escape_nul/546 612s ok 789 /regex/escape_nul/547 612s ok 790 /regex/escape_nul/548 612s ok 791 /regex/escape_nul/549 612s ok 792 /regex/escape_nul/550 612s ok 793 /regex/escape_nul/551 612s ok 794 /regex/escape_nul/552 612s ok 795 /regex/escape_nul/553 612s ok 796 /regex/escape_nul/554 612s ok 797 /regex/escape_nul/555 612s ok 798 /regex/escape_nul/556 612s ok 799 /regex/escape_nul/557 612s ok 800 /regex/escape_nul/558 612s ok 801 /regex/escape_nul/559 612s # End of escape_nul tests 612s # Start of escape tests 612s ok 802 /regex/escape/560 612s ok 803 /regex/escape/561 612s ok 804 /regex/escape/562 612s ok 805 /regex/escape/563 612s ok 806 /regex/escape/564 612s ok 807 /regex/escape/565 612s ok 808 /regex/escape/566 612s ok 809 /regex/escape/567 612s ok 810 /regex/escape/568 612s ok 811 /regex/escape/569 612s ok 812 /regex/escape/570 612s ok 813 /regex/escape/571 612s ok 814 /regex/escape/572 612s ok 815 /regex/escape/573 612s ok 816 /regex/escape/574 612s ok 817 /regex/escape/575 612s ok 818 /regex/escape/576 612s ok 819 /regex/escape/577 612s # End of escape tests 612s # Start of match-all0 tests 612s ok 820 /regex/match-all0/578 612s ok 821 /regex/match-all0/580 612s # End of match-all0 tests 612s # Start of match-all-full0 tests 612s ok 822 /regex/match-all-full0/579 612s ok 823 /regex/match-all-full0/581 612s ok 824 /regex/match-all-full0/582 612s ok 825 /regex/match-all-full0/583 612s # End of match-all-full0 tests 612s # Start of match-all1 tests 612s ok 826 /regex/match-all1/584 612s ok 827 /regex/match-all1/586 612s ok 828 /regex/match-all1/591 612s # End of match-all1 tests 612s # Start of match-all-full1 tests 612s ok 829 /regex/match-all-full1/585 612s ok 830 /regex/match-all-full1/587 612s ok 831 /regex/match-all-full1/588 612s ok 832 /regex/match-all-full1/589 612s ok 833 /regex/match-all-full1/590 612s ok 834 /regex/match-all-full1/592 612s # End of match-all-full1 tests 612s # Start of match-all2 tests 612s ok 835 /regex/match-all2/593 612s ok 836 /regex/match-all2/595 612s ok 837 /regex/match-all2/597 612s # End of match-all2 tests 612s # Start of match-all-full2 tests 612s ok 838 /regex/match-all-full2/594 612s ok 839 /regex/match-all-full2/596 612s ok 840 /regex/match-all-full2/598 612s # End of match-all-full2 tests 612s # Start of match-all3 tests 612s ok 841 /regex/match-all3/599 612s ok 842 /regex/match-all3/601 612s # End of match-all3 tests 612s # Start of match-all-full3 tests 612s ok 843 /regex/match-all-full3/600 612s ok 844 /regex/match-all-full3/602 612s # End of match-all-full3 tests 612s # Start of match-notempty tests 612s ok 845 /regex/match-notempty/603 612s # End of match-notempty tests 612s # Start of match-notempty-optimized tests 612s ok 846 /regex/match-notempty-optimized/603 612s # End of match-notempty-optimized tests 612s # Start of match-notempty-atstart tests 612s ok 847 /regex/match-notempty-atstart/604 612s # End of match-notempty-atstart tests 612s # Start of match-notempty-atstart-optimized tests 612s ok 848 /regex/match-notempty-atstart-optimized/604 612s # End of match-notempty-atstart-optimized tests 612s # End of regex tests 612s ok - glib/regex.test 612s # Running test: glib/converter-stream.test 612s TAP version 13 612s # random seed: R02S5cccac761a874b9efc36c89842a775ae 612s 1..17 612s # Start of converter tests 612s ok 1 /converter/basics 612s # End of converter tests 612s # Start of converter-input-stream tests 612s ok 2 /converter-input-stream/expander 612s ok 3 /converter-input-stream/compressor 612s # Start of truncation tests 612s ok 4 /converter-input-stream/truncation/zlib 613s ok 5 /converter-input-stream/truncation/gzip 613s ok 6 /converter-input-stream/truncation/raw 613s # End of truncation tests 613s # Start of charset tests 613s ok 7 /converter-input-stream/charset/utf8->latin1 613s ok 8 /converter-input-stream/charset/latin1->utf8 613s ok 9 /converter-input-stream/charset/fallbacks 613s # End of charset tests 613s # End of converter-input-stream tests 613s # Start of converter-output-stream tests 613s # Start of roundtrip tests 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 613s ok 10 /converter-output-stream/roundtrip/zlib-0 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 613s ok 11 /converter-output-stream/roundtrip/zlib-9 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 613s ok 12 /converter-output-stream/roundtrip/gzip-0 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 613s ok 13 /converter-output-stream/roundtrip/gzip-9 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 613s ok 14 /converter-output-stream/roundtrip/raw-0 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 613s ok 15 /converter-output-stream/roundtrip/raw-9 613s # End of roundtrip tests 613s # End of converter-output-stream tests 613s # Start of converter-stream tests 613s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 613s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1aee7b70 and GSocketClientAsyncConnectData 0x2aa1aee84e0 613s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 613s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 613s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1aaf0aa0 for GSocketClientAsyncConnectData 0x2aa1aee84e0 613s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 613s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 613s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 613s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 613s ok 16 /converter-stream/pollable 613s ok 17 /converter-stream/leftover 613s # End of converter-stream tests 613s ok - glib/converter-stream.test 613s # Running test: glib/uri.test 613s TAP version 13 613s # random seed: R02S3fa3df6c80b5315ce2c88af20e9edd2d 613s 1..24 613s # Start of uri tests 613s ok 1 /uri/file-to-uri 613s ok 2 /uri/file-from-uri 613s ok 3 /uri/file-roundtrip 613s ok 4 /uri/list 613s # Test 0: %2Babc %4F 613s # Test 1: %2Babc %4F 613s # Test 2: %00abc %4F 613s # Test 3: /cursors/none.png 613s # Test 4: /cursors%2fbad-subdir/none.png 613s # Test 5: %0 613s # Test 6: %ra 613s # Test 7: %2r 613s # Test 8: Timm B?der 613s # Test 9: (null) 613s ok 5 /uri/unescape-string 613s ok 6 /uri/unescape-segment 613s # Test 0: abcdefgABCDEFG._~ 613s # Test 1: :+ \\?# 613s # Test 2: a+b:c 613s # Test 3: a+b:c\303\234 613s # Test 4: \374;\322 613s # Test 5: \303\261\303( 613s ok 7 /uri/escape-string 613s ok 8 /uri/escape-bytes 613s ok 9 /uri/scheme 613s ok 10 /uri/build 613s ok 11 /uri/split 613s ok 12 /uri/is_valid 613s ok 13 /uri/to-string 613s ok 14 /uri/join 613s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 613s # Combination 0 613s # Combination 1 613s # Combination 2 613s # Combination 3 613s # Combination 4 613s # Combination 5 613s # Combination 6 613s # Combination 7 613s # Combination 8 613s # Combination 9 613s # Combination 10 613s # Combination 11 613s # Combination 12 613s # Combination 13 613s # Combination 14 613s # Combination 15 613s # Combination 16 613s # Combination 17 613s # Combination 18 613s # Combination 19 613s # Combination 20 613s # Combination 21 613s # Combination 22 613s # Combination 23 613s # Combination 24 613s # Combination 25 613s # Combination 26 613s # Combination 27 613s # Combination 28 613s # Combination 29 613s # Combination 30 613s # Combination 31 613s # Combination 32 613s # Combination 33 613s # Combination 34 613s # Combination 35 613s # Combination 36 613s # Combination 37 613s # Combination 38 613s # Combination 39 613s # Combination 40 613s # Combination 41 613s # Combination 42 613s # Combination 43 613s # Combination 44 613s # Combination 45 613s # Combination 46 613s # Combination 47 613s # Combination 48 613s # Combination 49 613s # Combination 50 613s # Combination 51 613s # Combination 52 613s # Combination 53 613s # Combination 54 613s # Combination 55 613s # Combination 56 613s # Combination 57 613s # Combination 58 613s # Combination 59 613s # Combination 60 613s # Combination 61 613s # Combination 62 613s # Combination 63 613s # Combination 64 613s # Combination 65 613s # Combination 66 613s # Combination 67 613s # Combination 68 613s # Combination 69 613s # Combination 70 613s # Combination 71 613s # Combination 72 613s # Combination 73 613s # Combination 74 613s # Combination 75 613s # Combination 76 613s # Combination 77 613s # Combination 78 613s # Combination 79 613s # Combination 80 613s # Combination 81 613s # Combination 82 613s # Combination 83 613s # Combination 84 613s # Combination 85 613s # Combination 86 613s # Combination 87 613s # Combination 88 613s # Combination 89 613s # Combination 90 613s # Combination 91 613s # Combination 92 613s # Combination 93 613s # Combination 94 613s # Combination 95 613s # Combination 96 613s # Combination 97 613s # Combination 98 613s # Combination 99 613s # Combination 100 613s # Combination 101 613s # Combination 102 613s # Combination 103 613s # Combination 104 613s # Combination 105 613s # Combination 106 613s # Combination 107 613s # Combination 108 613s # Combination 109 613s # Combination 110 613s # Combination 111 613s # Combination 112 613s # Combination 113 613s # Combination 114 613s # Combination 115 613s # Combination 116 613s # Combination 117 613s # Combination 118 613s # Combination 119 613s # Combination 120 613s # Combination 121 613s # Combination 122 613s # Combination 123 613s # Combination 124 613s # Combination 125 613s # Combination 126 613s # Combination 127 613s # Combination 128 613s # Combination 129 613s # Combination 130 613s # Combination 131 613s # Combination 132 613s # Combination 133 613s # Combination 134 613s # Combination 135 613s # Combination 136 613s # Combination 137 613s # Combination 138 613s # Combination 139 613s # Combination 140 613s # Combination 141 613s # Combination 142 613s # Combination 143 613s # Combination 144 613s # Combination 145 613s # Combination 146 613s # Combination 147 613s # Combination 148 613s # Combination 149 613s # Combination 150 613s # Combination 151 613s # Combination 152 613s # Combination 153 613s # Combination 154 613s # Combination 155 613s # Combination 156 613s # Combination 157 613s # Combination 158 613s # Combination 159 613s # Combination 160 613s # Combination 161 613s # Combination 162 613s # Combination 163 613s # Combination 164 613s # Combination 165 613s # Combination 166 613s # Combination 167 613s # Combination 168 613s # Combination 169 613s # Combination 170 613s # Combination 171 613s # Combination 172 613s # Combination 173 613s # Combination 174 613s # Combination 175 613s # Combination 176 613s # Combination 177 613s # Combination 178 613s # Combination 179 613s # Combination 180 613s # Combination 181 613s # Combination 182 613s # Combination 183 613s # Combination 184 613s # Combination 185 613s # Combination 186 613s # Combination 187 613s # Combination 188 613s # Combination 189 613s # Combination 190 613s # Combination 191 613s # Combination 192 613s # Combination 193 613s # Combination 194 613s # Combination 195 613s # Combination 196 613s # Combination 197 613s # Combination 198 613s # Combination 199 613s # Combination 200 613s # Combination 201 613s # Combination 202 613s # Combination 203 613s # Combination 204 613s # Combination 205 613s # Combination 206 613s # Combination 207 613s # Combination 208 613s # Combination 209 613s # Combination 210 613s # Combination 211 613s # Combination 212 613s # Combination 213 613s # Combination 214 613s # Combination 215 613s # Combination 216 613s # Combination 217 613s # Combination 218 613s # Combination 219 613s # Combination 220 613s # Combination 221 613s # Combination 222 613s # Combination 223 613s # Combination 224 613s # Combination 225 613s # Combination 226 613s # Combination 227 613s # Combination 228 613s # Combination 229 613s # Combination 230 613s # Combination 231 613s # Combination 232 613s # Combination 233 613s # Combination 234 613s # Combination 235 613s # Combination 236 613s # Combination 237 613s # Combination 238 613s # Combination 239 613s # Combination 240 613s # Combination 241 613s # Combination 242 613s # Combination 243 613s # Combination 244 613s # Combination 245 613s # Combination 246 613s # Combination 247 613s # Combination 248 613s # Combination 249 613s # Combination 250 613s # Combination 251 613s # Combination 252 613s # Combination 253 613s # Combination 254 613s # Combination 255 613s ok 15 /uri/join-split-round-trip 613s ok 16 /uri/normalize 613s # Start of unescape-bytes tests 613s # Test 0: %00%00 613s # Test 1: /cursors/none.png 613s # Test 2: /cursors%2fbad-subdir/none.png 613s # Test 3: %% 613s # Test 4: % 613s ok 17 /uri/unescape-bytes/nul-terminated 613s # Test 0: %00%00 613s # Test 1: /cursors/none.png 613s # Test 2: /cursors%2fbad-subdir/none.png 613s # Test 3: %% 613s # Test 4: % 613s ok 18 /uri/unescape-bytes/length 613s # End of unescape-bytes tests 613s # Start of parsing tests 613s # Test 0: foo: 613s # Test 1: file:/dev/null 613s # Test 2: file:///dev/null 613s # Test 3: ftp://user@host/path 613s # Test 4: ftp://user@host:9999/path 613s # Test 5: ftp://user:password@host/path 613s # Test 6: ftp://user:password@host:9999/path 613s # Test 7: ftp://user:password@host 613s # Test 8: http://us%65r@host 613s # Test 9: http://us%40r@host 613s # Test 10: http://us%3ar@host 613s # Test 11: http://us%2fr@host 613s # Test 12: http://us%3fr@host 613s # Test 13: http://host?query 613s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 613s # 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 613s # Test 16: http://space/%20 613s # Test 17: http://delims/%3C%3E%23%25%22 613s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 613s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 613s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 613s # Test 21: http://[3ffe:2a00:100:7031::1] 613s # Test 22: http://[1080::8:800:200C:417A]/foo 613s # Test 23: http://[::192.9.5.5]/ipng 613s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 613s # Test 25: http://[2010:836B:4179::836B:4179] 613s # Test 26: http://host/path with spaces 613s # Test 27: http://host/path 613s # Test 28: http://host/path 613s # Test 29: http://host 613s # Test 30: http://host:999 613s # Test 31: http://host/pa 613s # th 613s # Test 32: http: 613s # //host/path 613s # Test 33: http:// host/path 613s # Test 34: http://host/path? 613s # Test 35: http://host/path# 613s # Test 36: http://host/path% 613s # Test 37: http://h%ost/path 613s # Test 38: http://host/path%% 613s # Test 39: http://host/path%%% 613s # Test 40: http://host/path%/x/ 613s # Test 41: http://host/path%0x/ 613s # Test 42: http://host/path%ax 613s # Test 43: http://host/p?th/ 613s # Test 44: HTTP://////////////// 613s # Test 45: http://@host 613s # Test 46: http://:@host 613s # Test 47: scheme://foo%3Abar._webdav._tcp.local 613s # Test 48: http://example.com/.. 613s # Test 49: foo0://host/path 613s # Test 50: f0.o://host/path 613s # Test 51: http++://host/path 613s # Test 52: http-ish://host/path 613s # Test 53: http://[fe80::dead:beef%]/ 613s # Test 54: http://[fe80::dead:beef%em1]/ 613s # Test 55: http://[fe80::dead:beef%em1]/ 613s # Test 56: http://[fe80::dead:beef%25em1]/ 613s # Test 57: http://[fe80::dead:beef%25em1%20]/ 613s # Test 58: http://[fe80::dead:beef%25em%31]/ 613s # Test 59: http://[fe80::dead:beef%10]/ 613s # Test 60: http://[fe80::dead:beef%10]/ 613s # Test 61: http://[fe80::dead:beef%25]/ 613s # Test 62: http://[fe80::dead:beef%25]/ 613s # Test 63: http://[192.168.0.1%25em1]/ 613s # Test 64: http://[fe80::dead:beef%2em1]/ 613s # Test 65: http://[fe80::dead:beef%2em1]/ 613s # Test 66: http://[fe80::dead:beef%25em1%00]/ 613s # Test 67: http://[fe80::dead:beef%25em1%00]/ 613s # Test 68: http://xn--mixed-?p/ 613s ok 19 /uri/parsing/absolute 613s ok 20 /uri/parsing/relative 613s # End of parsing tests 613s # Start of iter-params tests 613s # URI 0: p1=foo&p2=bar;p3=baz 613s # URI 1: p1=foo&p2=bar 613s # URI 2: p1=foo&&P1=bar 613s # URI 3: %00=foo 613s # URI 4: p1=%00 613s # URI 5: p1=foo&p1=bar 613s # URI 6: p1=foo&P1=bar 613s # URI 7: =% 613s # URI 8: = 613s # URI 9: foo 613s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 613s ok 21 /uri/iter-params/nul-terminated 613s # URI 0: p1=foo&p2=bar;p3=baz 613s # URI 1: p1=foo&p2=bar 613s # URI 2: p1=foo&&P1=bar 613s # URI 3: %00=foo 613s # URI 4: p1=%00 613s # URI 5: p1=foo&p1=bar 613s # URI 6: p1=foo&P1=bar 613s # URI 7: =% 613s # URI 8: = 613s # URI 9: foo 613s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 613s ok 22 /uri/iter-params/length 613s # End of iter-params tests 613s # Start of parse-params tests 613s # URI 0: p1=foo&p2=bar;p3=baz 613s # URI 1: p1=foo&p2=bar 613s # URI 2: p1=foo&&P1=bar 613s # URI 3: %00=foo 613s # URI 4: p1=%00 613s # URI 5: p1=foo&p1=bar 613s # URI 6: p1=foo&P1=bar 613s # URI 7: =% 613s # URI 8: = 613s # URI 9: foo 613s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 613s ok 23 /uri/parse-params/nul-terminated 613s # URI 0: p1=foo&p2=bar;p3=baz 613s # URI 1: p1=foo&p2=bar 613s # URI 2: p1=foo&&P1=bar 613s # URI 3: %00=foo 613s # URI 4: p1=%00 613s # URI 5: p1=foo&p1=bar 613s # URI 6: p1=foo&P1=bar 613s # URI 7: =% 613s # URI 8: = 613s # URI 9: foo 613s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 613s ok 24 /uri/parse-params/length 613s # End of parse-params tests 613s # End of uri tests 613s ok - glib/uri.test 613s # Running test: glib/vfs.test 613s TAP version 13 613s # random seed: R02S974ce81940a826a86c28183831ac9ba9 613s 1..3 613s # Start of gvfs tests 613s ok 1 /gvfs/local 613s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 613s ok 2 /gvfs/register-scheme 613s # Start of resource tests 613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 613s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 613s ok 3 /gvfs/resource/malformed-escaping 613s # End of resource tests 613s # End of gvfs tests 613s ok - glib/vfs.test 613s # Running test: glib/gdbus-threading.test 613s TAP version 13 613s # random seed: R02Se8097bc088f0ed3ca77d3e0d452a7c1f 613s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 613s ok - glib/gdbus-threading.test 613s # Running test: glib/threadtests.test 613s TAP version 13 613s # random seed: R02S86289c6c59dd183b73b229c07748f404 613s 1..5 613s # Start of GObject tests 613s ok 1 /GObject/threaded-object-init 615s ok 2 /GObject/threaded-weak-ref 615s # slow test /GObject/threaded-weak-ref executed in 1.13 secs 615s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 615s # /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 615s ok 3 /GObject/threaded-toggle-notify 615s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 615s # Start of threaded-weak-ref tests 615s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 615s # /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. 615s ok 5 /GObject/threaded-weak-ref/on-finalization 615s # End of threaded-weak-ref tests 615s # End of GObject tests 615s ok - glib/threadtests.test 615s # Running test: glib/macros-c-90.test 615s TAP version 13 615s # random seed: R02S470d5eae8cc45e1a708e59c19f6a7390 615s 1..4 615s # Start of C tests 615s ok 1 /C/standard-90 615s # End of C tests 615s # Start of alignof tests 615s ok 2 /alignof/fallback 615s # End of alignof tests 615s # Start of assert tests 615s ok 3 /assert/static 615s # End of assert tests 615s # Start of struct tests 615s ok 4 /struct/sizeof_member 615s # End of struct tests 615s ok - glib/macros-c-90.test 615s # Running test: glib/sort.test 615s TAP version 13 615s # random seed: R02S49a61cfca5cd4d9710e56438a4d520f4 615s 1..4 615s # Start of sort tests 615s ok 1 /sort/basic 615s ok 2 /sort/zero-elements 615s ok 3 /sort/stable 615s ok 4 /sort/big 615s # End of sort tests 615s ok - glib/sort.test 615s # Running test: glib/network-monitor-race.test 615s TAP version 13 615s # random seed: R02S60130e3c944bbf1a36b8656a49648e16 615s 1..1 615s # Start of network-monitor tests 615s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 616s # Executing: glib/network-monitor-race.test 617s ok 1 /network-monitor/create-in-thread 617s # slow test /network-monitor/create-in-thread executed in 2.16 secs 617s # End of network-monitor tests 617s ok - glib/network-monitor-race.test 617s # Running test: glib/thumbnail-verification.test 617s TAP version 13 617s # random seed: R02S301703b012c20282acf0f3b385453443 617s 1..1 617s # Start of png-thumbs tests 617s ok 1 /png-thumbs/validity 617s # End of png-thumbs tests 617s ok - glib/thumbnail-verification.test 617s # Running test: glib/contexts.test 617s TAP version 13 617s # random seed: R02S1e8abe28db6f0bf917fa7ca285fbad9e 617s 1..5 617s # Start of gio tests 617s # Start of contexts tests 617s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 617s ok 1 /gio/contexts/thread-independence 617s ok 2 /gio/contexts/context-independence 617s # Start of context-specific tests 617s ok 3 /gio/contexts/context-specific/identity 617s ok 4 /gio/contexts/context-specific/emit 617s ok 5 /gio/contexts/context-specific/emit-and-unref 617s # End of context-specific tests 617s # End of contexts tests 617s # End of gio tests 617s ok - glib/contexts.test 617s # Running test: glib/type-flags.test 617s TAP version 13 617s # random seed: R02S960faaba843b66128da26d149ddd20ed 617s 1..4 617s # Start of type tests 617s # Start of flags tests 617s ok 1 /type/flags/interface 617s ok 2 /type/flags/final 617s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 617s ok 3 /type/flags/deprecated 617s # Start of final tests 617s ok 4 /type/flags/final/instance-check 617s # End of final tests 617s # End of flags tests 617s # End of type tests 617s ok - glib/type-flags.test 617s # Running test: glib/gutils-user-database.test 617s TAP version 13 617s # random seed: R02S8f81c7e8b0bf09a73105c0b5b2d3919b 617s 1..1 617s # Start of gutils tests 617s ok 1 /gutils/get_user_database_entry 617s # End of gutils tests 617s ok - glib/gutils-user-database.test 617s # Running test: glib/testing.test 617s TAP version 13 617s # random seed: R02Sad71f0f67641a26def16862095f50c63 617s 1..1 617s # Start of assert tests 617s ok 1 /assert/finalize_object 617s # Start of finalize_object tests 617s # Start of subprocess tests 617s # End of subprocess tests 617s # End of finalize_object tests 617s # End of assert tests 617s ok - glib/testing.test 617s # Running test: glib/basics-gobject.test 617s TAP version 13 617s # random seed: R02S74158de5d7d9cabeeb2b1254532a268c 617s 1..1 617s # Start of gobject tests 617s # private data during initialization: 54321 == 54321 617s # MAIN: emit test-signal: 617s # ::test_signal default_handler called 617s # ::test_signal default_handler called 617s # ::test_signal default_handler called 617s # signal return: "" 617s # MAIN: call iface print-string on test and derived object: 617s # Iface-FOO: "iface-string-from-test-type" from 0x2aa117777a0 617s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa117776c0 617s # chaining: 617s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa117776c0 617s # private data after initialization: 54321 == 54321 617s ok 1 /gobject/basics 617s # End of gobject tests 617s ok - glib/basics-gobject.test 617s # Running test: glib/portal-support-flatpak-full.test 617s TAP version 13 617s # random seed: R02Sfd525d471897509bc38403c08e4486f9 617s 1..1 617s # Start of portal-support tests 617s # Start of flatpak tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/runtime 617s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_81M1K2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 617s ok 1 /portal-support/flatpak/full 617s # End of flatpak tests 617s # End of portal-support tests 617s ok - glib/portal-support-flatpak-full.test 617s # Running test: glib/portal-support-snap-classic.test 617s TAP version 13 617s # random seed: R02S34a7411c3e89411f9a5865eec2475462 617s 1..3 617s # Start of portal-support tests 617s # Start of snap-classic tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/no-snapctl/.dirs/runtime 617s ok 1 /portal-support/snap-classic/no-snapctl 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/runtime 617s # Created snap.yaml in /tmp/test_portal-support-snap-classic_C7R1K2/meta/snap.yaml 617s # Created snapctl in /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/none/.dirs/runtime/snapctl 617s ok 2 /portal-support/snap-classic/none 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/runtime 617s # Created snap.yaml in /tmp/test_portal-support-snap-classic_C7R1K2/meta/snap.yaml 617s # Created snapctl in /tmp/test_portal-support-snap-classic_C7R1K2/portal-support/snap-classic/all/.dirs/runtime/snapctl 617s ok 3 /portal-support/snap-classic/all 617s # End of snap-classic tests 617s # End of portal-support tests 617s ok - glib/portal-support-snap-classic.test 617s # Running test: glib/timer.test 617s TAP version 13 617s # random seed: R02S3ed1a4bb6845955aa9a3299ea6504322 617s 1..10 617s # Start of timer tests 617s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 617s ok 2 /timer/stop 617s ok 3 /timer/continue 617s ok 4 /timer/reset 617s ok 5 /timer/is_active 617s # End of timer tests 617s # Start of timeval tests 617s ok 6 /timeval/add 617s ok 7 /timeval/from-iso8601 617s ok 8 /timeval/to-iso8601 617s # Start of to-iso8601 tests 617s ok 9 /timeval/to-iso8601/overflow 617s # End of to-iso8601 tests 617s # End of timeval tests 617s # Start of usleep tests 617s ok 10 /usleep/with-zero-wait 617s # End of usleep tests 617s ok - glib/timer.test 617s # Running test: glib/portal-support-snap.test 617s TAP version 13 617s # random seed: R02S9bedfb21052874230f6871c453dfb166 617s 1..7 617s # Start of portal-support tests 617s # Start of snap tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/no-snapctl/.dirs/runtime 617s # Created snap.yaml in /tmp/test_portal-support-snap_CWW1K2/meta/snap.yaml 617s ok 1 /portal-support/snap/no-snapctl 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/runtime 617s # Created snap.yaml in /tmp/test_portal-support-snap_CWW1K2/meta/snap.yaml 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/none/.dirs/runtime/snapctl 617s ok 2 /portal-support/snap/none 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/runtime 617s # Created snap.yaml in /tmp/test_portal-support-snap_CWW1K2/meta/snap.yaml 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/all/.dirs/runtime/snapctl 617s ok 3 /portal-support/snap/all 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/runtime 617s # Created snap.yaml in /tmp/test_portal-support-snap_CWW1K2/meta/snap.yaml 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 617s ok 4 /portal-support/snap/desktop-only 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/runtime 617s # Created snap.yaml in /tmp/test_portal-support-snap_CWW1K2/meta/snap.yaml 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/network-only/.dirs/runtime/snapctl 617s ok 5 /portal-support/snap/network-only 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/runtime 617s # Created snap.yaml in /tmp/test_portal-support-snap_CWW1K2/meta/snap.yaml 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 617s ok 6 /portal-support/snap/gsettings-only 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/runtime 617s # Created snap.yaml in /tmp/test_portal-support-snap_CWW1K2/meta/snap.yaml 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 617s # Created snapctl in /tmp/test_portal-support-snap_CWW1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 617s ok 7 /portal-support/snap/updates-dynamically 617s # End of snap tests 617s # End of portal-support tests 617s ok - glib/portal-support-snap.test 617s # Running test: glib/gdbus-export.test 617s TAP version 13 617s # random seed: R02Sb334be3182e6c63d36a9df8c202b8846 617s 1..6 617s # Start of gdbus tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration/.dirs/runtime 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s ok 1 /gdbus/object-registration 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_BC4LK2/gdbus/object-registration-with-closures/.dirs/runtime 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s ok 2 /gdbus/object-registration-with-closures 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_BC4LK2/gdbus/registered-interfaces/.dirs/runtime 617s ok 3 /gdbus/registered-interfaces 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_BC4LK2/gdbus/async-properties/.dirs/runtime 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s ok 4 /gdbus/async-properties 617s # Start of threaded-unregistration tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/object/.dirs/runtime 617s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 617s # /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 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 617s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (7 iterations with unregistration first, 993 with call first); skipping test 618s # slow test /gdbus/threaded-unregistration/object executed in 1.21 secs 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_BC4LK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 618s # /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 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 618s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (25 iterations with unregistration first, 975 with call first); skipping test 620s # slow test /gdbus/threaded-unregistration/subtree executed in 1.29 secs 620s # End of threaded-unregistration tests 620s # End of gdbus tests 620s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 620s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 620s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 620s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 620s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 620s ok - glib/gdbus-export.test 620s # Running test: glib/network-monitor.test 620s TAP version 13 620s # random seed: R02Sc475ac894e9b71afd423c093613ed78f 620s 1..4 620s # Start of network-monitor tests 620s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 620s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 620s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 620s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 620s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 620s ok 1 /network-monitor/default 620s ok 2 /network-monitor/remove_default 620s ok 3 /network-monitor/add_networks 620s ok 4 /network-monitor/remove_networks 620s # End of network-monitor tests 620s ok - glib/network-monitor.test 620s # Running test: glib/logging.test 620s TAP version 13 620s # random seed: R02Sf5acf47934c91e859cb6173ff82b890a 620s 1..17 620s # Start of logging tests 620s ok 1 /logging/default-handler 620s ok 2 /logging/warnings 620s ok 3 /logging/fatal-log-mask 620s # bu-DEBUG: message 620s # ba-DEBUG: message 620s # ba-INFO: message 620s ok 4 /logging/set-handler 620s ok 5 /logging/print-handler 620s ok 6 /logging/printerr-handler 620s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 620s # The Log Message Handler 620s # 620s # The Good Fail Message Handler 620s # 620s ok 7 /logging/653052 620s ok 8 /logging/gibberish 620s # Start of default-handler tests 620s # Start of subprocess tests 620s # End of subprocess tests 620s # End of default-handler tests 620s # End of logging tests 620s # Start of structured-logging tests 620s ok 9 /structured-logging/no-state 620s ok 10 /structured-logging/some-state 620s ok 11 /structured-logging/robustness 620s ok 12 /structured-logging/roundtrip1 620s ok 13 /structured-logging/roundtrip2 620s ok 14 /structured-logging/roundtrip3 620s ok 15 /structured-logging/variant1 620s ok 16 /structured-logging/variant2 620s ok 17 /structured-logging/set-writer-func-twice 620s # End of structured-logging tests 620s ok - glib/logging.test 620s # Running test: glib/enums.test 620s TAP version 13 620s # random seed: R02S565b71bf4c24d19da4d04f4b42139ac2 620s 1..4 620s # Start of enum tests 620s ok 1 /enum/basic 620s ok 2 /enum/define-type 620s # End of enum tests 620s # Start of flags tests 620s ok 3 /flags/basic 620s ok 4 /flags/define-type 620s # End of flags tests 620s ok - glib/enums.test 620s # Running test: glib/signalgroup.test 620s TAP version 13 620s # random seed: R02S191f92a6159c780c5dff4658a1ba2993 620s 1..9 620s # Start of GObject tests 620s # Start of SignalGroup tests 620s ok 1 /GObject/SignalGroup/invalid 620s ok 2 /GObject/SignalGroup/simple 620s ok 3 /GObject/SignalGroup/changing-target 620s ok 4 /GObject/SignalGroup/blocking 620s ok 5 /GObject/SignalGroup/weak-ref-target 620s ok 6 /GObject/SignalGroup/connect-object 620s ok 7 /GObject/SignalGroup/signal-parsing 620s ok 8 /GObject/SignalGroup/properties 620s ok 9 /GObject/SignalGroup/interface 620s # Start of signal-parsing tests 620s # End of signal-parsing tests 620s # End of SignalGroup tests 620s # End of GObject tests 620s ok - glib/signalgroup.test 620s # Running test: glib/unicode-normalize.test 620s TAP version 13 620s # random seed: R02S89d72a5b79c024ce90d2a6f9e55866a3 620s 1..3 620s # Start of unicode tests 620s # Processing Part0 # Specific cases 620s # Processing Part1 # Character by character test 620s # Processing Part2 # Canonical Order Test 620s # Processing Part3 # PRI #29 Test 620s ok 1 /unicode/normalize 620s # Invalid UTF-8 vector 0 620s # Invalid UTF-8 vector 1 620s # Invalid UTF-8 vector 2 620s # Invalid UTF-8 vector 3 620s # Invalid UTF-8 vector 4 620s # Invalid UTF-8 vector 5 620s # Invalid UTF-8 vector 6 620s # Invalid UTF-8 vector 7 620s # Invalid UTF-8 vector 8 620s # Invalid UTF-8 vector 9 620s # Invalid UTF-8 vector 10 620s # Invalid UTF-8 vector 11 620s # Invalid UTF-8 vector 12 620s ok 2 /unicode/normalize-invalid 620s # Start of normalize tests 620s ok 3 /unicode/normalize/bad-length 620s # End of normalize tests 620s # End of unicode tests 620s ok - glib/unicode-normalize.test 620s # Running test: glib/g-file.test 620s TAP version 13 620s # random seed: R02S2174a370f45604506ac61b7566b01d24 620s 1..8 620s # Start of g-file tests 620s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 620s ok 1 /g-file/test_g_file_new_null 620s ok 2 /g-file/test_g_file_new_for_path 620s ok 3 /g-file/test_g_file_new_for_uri 620s ok 4 /g-file/test_g_file_dup 620s ok 5 /g-file/test_g_file_get_parse_name_utf8 620s file:///tmp/test-tmp-glib_g-file.test-IDAJK2 620s file:///tmp 620s file:///tmp 620s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 620s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 620s ok 6 /g-file/test_g_file_new_for_commandline_arg 620s /dir1 /dir1/dir2/dir3/ 620s /dir1/ /dir1/dir2/dir3/ 620s /dir1 /dir1/dir2/dir3 620s /dir1/ /dir1/dir2/dir3 620s /tmp/ /something/ 620s /dir1/dir2 /dir1/ 620s //dir1/new //dir1/new/dir2/dir3 620s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 620s file:///dir1 file:///dir1/dir2/dir3/ 620s file:///dir1/ file:///dir1/dir2/dir3/ 620s file:///dir1 file:///dir1/dir2/dir3 620s file:///dir1/ file:///dir1/dir2/dir3 620s file:///tmp/ file:///something/ 620s file:///dir1/dir2 file:///dir1/ 620s file:////dir1/new file:////dir1/new/dir2/dir3 620s 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 620s ok 7 /g-file/test_g_file_has_prefix 620s ok 8 /g-file/test_g_file_get_parent_child 620s # End of g-file tests 620s ok - glib/g-file.test 620s # Running test: glib/trash.test 620s TAP version 13 620s # random seed: R02S27a6af9f5df5be34177d0ea186317dbc 620s 1..2 620s # Start of trash tests 620s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 620s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 620s # File: /tmp/test-trashB3KJK2 (parent st_dev: 64769) 620s # Home: /home/ubuntu (st_dev: 64769) 620s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 620s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 620s # Target: /home/ubuntu/.local (mount: /) 620s # Tmp: /tmp/test-trashSFMJK2 (mount: /) 620s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 620s # End of trash tests 620s ok - glib/trash.test 620s # Running test: glib/object-info.test 620s TAP version 13 620s # random seed: R02S231d26178cee2abaf3b54d18aaf1c376 620s 1..2 620s # Start of object-info tests 620s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/home 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/cache 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/system-config2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/config 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/system-data2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/data 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/state 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_WYNJK2/object-info/find-method-using-interfaces/.dirs/runtime 620s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 620s ok 1 /object-info/find-method-using-interfaces 620s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/home 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/cache 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/config 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/data 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/state 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_WYNJK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 620s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 620s ok 2 /object-info/find-vfunc-using-interfaces 620s # End of object-info tests 620s ok - glib/object-info.test 620s # Running test: glib/markup-subparser.test 620s TAP version 13 620s # random seed: R02S942598373dc9d075dd4807fc3ae69be1 620s 1..14 620s # Start of glib tests 620s # Start of markup tests 620s # Start of subparser tests 620s # Start of success tests 620s ok 1 /glib/markup/subparser/success/0 620s ok 2 /glib/markup/subparser/success/1 620s ok 3 /glib/markup/subparser/success/2 620s ok 4 /glib/markup/subparser/success/3 620s ok 5 /glib/markup/subparser/success/4 620s ok 6 /glib/markup/subparser/success/5 620s ok 7 /glib/markup/subparser/success/6 620s # End of success tests 620s # Start of failure tests 620s ok 8 /glib/markup/subparser/failure/0 620s ok 9 /glib/markup/subparser/failure/1 620s ok 10 /glib/markup/subparser/failure/2 620s ok 11 /glib/markup/subparser/failure/3 620s ok 12 /glib/markup/subparser/failure/4 620s ok 13 /glib/markup/subparser/failure/5 620s ok 14 /glib/markup/subparser/failure/6 620s # End of failure tests 620s # End of subparser tests 620s # End of markup tests 620s # End of glib tests 620s ok - glib/markup-subparser.test 620s # Running test: glib/objects-refcount1.test 620s TAP version 13 620s # random seed: R02S05248ab261f88591f7b536ecbb9f9762 620s 1..1 620s # Start of gobject tests 620s # Start of refcount tests 620s # init 0x2aa3c918740 620s # 620s # init 0x2aa3c9188c0 620s # 621s # Executing: glib/objects-refcount1.test 625s # dispose 0x2aa3c918740! 625s # 625s # dispose 0x2aa3c9188c0! 625s # 625s ok 1 /gobject/refcount/object-basics 625s # slow test /gobject/refcount/object-basics executed in 5.00 secs 625s # End of refcount tests 625s # End of gobject tests 625s ok - glib/objects-refcount1.test 625s # Running test: glib/gdbus-method-invocation.test 625s TAP version 13 625s # random seed: R02S77184e83d8a1f5cb851321604a801d75 625s 1..1 625s # Start of gdbus tests 625s # Start of method-invocation tests 625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/home 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/cache 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/system-config2 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/config 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/system-data2 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/data 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/state 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_ME5JK2/gdbus/method-invocation/return/.dirs/runtime 625s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 625s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 625s # Calling org.freedesktop.DBus.Properties.Get 625s # Calling org.freedesktop.DBus.Properties.Get 625s # Calling org.freedesktop.DBus.Properties.Get 625s # Calling org.freedesktop.DBus.Properties.Set 625s # Calling org.freedesktop.DBus.Properties.GetAll 625s # Calling org.example.Foo.WrongReturnType 625s # Calling org.example.Foo.GetFDs 625s # Calling org.example.Foo.GetFDs 625s # Calling org.example.Foo.ReturnError 625s # Calling org.example.Foo.CloseBeforeReturning 625s ok 1 /gdbus/method-invocation/return 625s # End of method-invocation tests 625s # End of gdbus tests 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s ok - glib/gdbus-method-invocation.test 625s # Running test: glib/socket-address.test 625s TAP version 13 625s # random seed: R02Sef951ea1c1589565d5504e0a4940858b 625s 1..2 625s # Start of socket tests 625s # Start of address tests 625s # Start of unix tests 625s ok 1 /socket/address/unix/construct 625s ok 2 /socket/address/unix/to-string 625s # End of unix tests 625s # End of address tests 625s # End of socket tests 625s ok - glib/socket-address.test 625s # Running test: glib/atomic-c-90.test 625s TAP version 13 625s # random seed: R02S6cec399f966794a948757054b019a3c4 625s 1..2 625s # Start of atomic tests 625s ok 1 /atomic/types 625s ok 2 /atomic/threaded 625s # End of atomic tests 625s ok - glib/atomic-c-90.test 625s # Running test: glib/io-channel.test 625s TAP version 13 625s # random seed: R02S74fabf536738e26b1087f4cfb298782c 625s 1..2 625s # Start of io-channel tests 625s # Line one 625s # 625s # Line two 625s # 625s # Line three 625s # 625s # /* Hello */ 625s # 625s # \x1234\x567890\x6666 625s # 625s # read 62 bytes, wrote 62 bytes 625s ok 1 /io-channel/read-write 625s # Start of read-line tests 625s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 625s ok 2 /io-channel/read-line/embedded-nuls 625s # End of read-line tests 625s # End of io-channel tests 625s ok - glib/io-channel.test 625s # Running test: glib/gdbus-proxy-threads.test 625s TAP version 13 625s # random seed: R02Sabf0b2ff7c0011dbe6ece8bf4ae53687 625s 1..1 625s # Start of gdbus tests 625s # Start of proxy tests 625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/home 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/cache 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/system-config2 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/config 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/system-data2 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/data 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/state 625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_683SK2/gdbus/proxy/vs-threads/.dirs/runtime 625s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 626s # Executing: glib/gdbus-proxy-threads.test 628s ok 1 /gdbus/proxy/vs-threads 628s # slow test /gdbus/proxy/vs-threads executed in 2.35 secs 628s # End of proxy tests 628s # End of gdbus tests 628s cleaning up pid 12244 628s ok - glib/gdbus-proxy-threads.test 628s # Running test: glib/filter-streams.test 628s TAP version 13 628s # random seed: R02S329716af47dc1d8cec737f3c302c5434 628s 1..4 628s # Start of filter-stream tests 628s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 628s ok 1 /filter-stream/input 628s ok 2 /filter-stream/output 628s ok 3 /filter-stream/async-input 628s ok 4 /filter-stream/async-output 628s # End of filter-stream tests 628s ok - glib/filter-streams.test 628s # Running test: glib/gvariant.test 628s TAP version 13 628s # random seed: R02S9b03738bc638cf2fa8dd0c8dfe456937 628s 1..64 628s # Start of gvariant tests 628s ok 1 /gvariant/type 628s ok 2 /gvariant/typeinfo 628s ok 3 /gvariant/string 628s ok 4 /gvariant/utf8 628s ok 5 /gvariant/containers 628s ok 6 /gvariant/format-strings 628s ok 7 /gvariant/invalid-varargs 628s ok 8 /gvariant/varargs 628s ok 9 /gvariant/valist 628s ok 10 /gvariant/builder-memory 629s ok 11 /gvariant/hashing 629s ok 12 /gvariant/byteswap 629s ok 13 /gvariant/parser 629s ok 14 /gvariant/parse-failures 629s ok 15 /gvariant/parse-positional 629s ok 16 /gvariant/floating 629s ok 17 /gvariant/bytestring 629s ok 18 /gvariant/lookup-value 629s ok 19 /gvariant/lookup 629s ok 20 /gvariant/compare 629s ok 21 /gvariant/equal 629s ok 22 /gvariant/fixed-array 629s ok 23 /gvariant/check-format-string 629s ok 24 /gvariant/checksum-basic 629s ok 25 /gvariant/checksum-nested 629s ok 26 /gvariant/gbytes 629s ok 27 /gvariant/print-context 629s ok 28 /gvariant/error-quark 629s ok 29 /gvariant/stack-builder-init 629s ok 30 /gvariant/stack-dict-init 629s ok 31 /gvariant/unaligned-construction 629s # Start of type tests 629s # Start of string-scan tests 629s # Start of recursion tests 629s ok 32 /gvariant/type/string-scan/recursion/tuple 629s ok 33 /gvariant/type/string-scan/recursion/array 629s # End of recursion tests 629s # End of string-scan tests 629s # End of type tests 629s # Start of serialiser tests 629s ok 34 /gvariant/serialiser/maybe 629s ok 35 /gvariant/serialiser/array 630s ok 36 /gvariant/serialiser/tuple 630s ok 37 /gvariant/serialiser/variant 630s ok 38 /gvariant/serialiser/strings 631s # Executing: glib/gvariant.test 635s ok 39 /gvariant/serialiser/byteswap 635s # slow test /gvariant/serialiser/byteswap executed in 5.08 secs 635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 635s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 635s ok 40 /gvariant/serialiser/children 635s # Start of fuzz tests 635s ok 41 /gvariant/serialiser/fuzz/1% 635s # slow test /gvariant/serialiser/fuzz/1% executed in 0.64 secs 636s ok 42 /gvariant/serialiser/fuzz/5% 636s # slow test /gvariant/serialiser/fuzz/5% executed in 0.56 secs 636s # Executing: glib/gvariant.test 636s ok 43 /gvariant/serialiser/fuzz/9% 637s ok 44 /gvariant/serialiser/fuzz/13% 638s ok 45 /gvariant/serialiser/fuzz/17% 638s # slow test /gvariant/serialiser/fuzz/17% executed in 1.06 secs 638s # End of fuzz tests 638s # End of serialiser tests 638s # Start of varargs tests 638s # Start of subprocess tests 638s # End of subprocess tests 638s # End of varargs tests 638s # Start of byteswap tests 638s # /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. 638s ok 46 /gvariant/byteswap/non-normal-non-aligned 638s # End of byteswap tests 638s # Start of parser tests 638s ok 47 /gvariant/parser/integer-bounds 638s ok 48 /gvariant/parser/recursion 638s # Start of recursion tests 638s ok 49 /gvariant/parser/recursion/typedecls 638s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 638s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 638s # Text form 0: @mmmu 5 638s # Text form 1: @mmmas ['hello'] 638s # Text form 2: @mmmu just just nothing 638s # Text form 3: @mmmas just just nothing 638s # Text form 4: @mmmu just nothing 638s # Text form 5: @mmmas just nothing 638s # Text form 6: @mmmu nothing 638s # Text form 7: @mmmas nothing 638s ok 50 /gvariant/parser/recursion/maybes 638s # End of recursion tests 638s # End of parser tests 638s # Start of parse tests 638s # Start of subprocess tests 638s # End of subprocess tests 638s # End of parse tests 638s # Start of normal-checking tests 638s ok 51 /gvariant/normal-checking/tuples 638s ok 52 /gvariant/normal-checking/array-offsets 638s ok 53 /gvariant/normal-checking/array-offsets2 638s ok 54 /gvariant/normal-checking/tuple-offsets 638s ok 55 /gvariant/normal-checking/tuple-offsets2 638s ok 56 /gvariant/normal-checking/tuple-offsets3 638s ok 57 /gvariant/normal-checking/tuple-offsets4 638s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 638s ok 58 /gvariant/normal-checking/tuple-offsets5 638s ok 59 /gvariant/normal-checking/empty-object-path 638s # Start of array-offsets tests 638s ok 60 /gvariant/normal-checking/array-offsets/overlapped 638s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 638s # End of array-offsets tests 638s # Start of tuple-offsets tests 638s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 638s # End of tuple-offsets tests 638s # End of normal-checking tests 638s # Start of recursion-limits tests 638s ok 63 /gvariant/recursion-limits/variant-in-variant 638s ok 64 /gvariant/recursion-limits/array-in-variant 638s # End of recursion-limits tests 638s # End of gvariant tests 638s ok - glib/gvariant.test 638s # Running test: glib/singleton.test 638s TAP version 13 638s # random seed: R02S89251306b4731549a3f7021728acf7ab 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/power-profile-monitor.test 638s TAP version 13 638s # random seed: R02S97a95b2ee57811c081dbb14e199e7eb5 638s 1..1 638s # Start of power-profile-monitor tests 638s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 638s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor 638s ok 1 /power-profile-monitor/default 638s # End of power-profile-monitor tests 638s ok - glib/power-profile-monitor.test 638s # Running test: glib/file-thumbnail.test 638s TAP version 13 638s # random seed: R02S3a25bd641b74f2b7b12a639d5383c79f 638s 1..7 638s # Start of file-thumbnail tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/runtime 638s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 638s ok 1 /file-thumbnail/fail 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/runtime 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 638s ok 2 /file-thumbnail/size-priority 638s # Start of valid tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/runtime 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 638s ok 3 /file-thumbnail/valid/normal 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/runtime 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 638s ok 4 /file-thumbnail/valid/large 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/runtime 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 638s ok 5 /file-thumbnail/valid/x-large 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/runtime 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 638s ok 6 /file-thumbnail/valid/xx-large 638s # End of valid tests 638s # Start of unknown tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/runtime 638s # Created test thumbnail at /tmp/test_file-thumbnail_VV4VK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 638s ok 7 /file-thumbnail/unknown/super-large 638s # End of unknown tests 638s # End of file-thumbnail tests 638s ok - glib/file-thumbnail.test 638s # Running test: glib/cache.test 638s TAP version 13 638s # random seed: R02Sef0c53ca33091341b2dea1a84c6a47a6 638s 1..1 638s # Start of cache tests 638s ok 1 /cache/basic 638s # End of cache tests 638s ok - glib/cache.test 638s # Running test: glib/refstring.test 638s TAP version 13 638s # random seed: R02Sca9391c8f676f084bebb3d9d6b2488f5 638s 1..5 638s # Start of refstring tests 638s # s = 'hello, world' (0x2aa0d6095d0) 638s ok 1 /refstring/base 638s ok 2 /refstring/length 638s ok 3 /refstring/length-auto 638s ok 4 /refstring/length-nuls 638s # s = 'hello, world' (0x2aa0d6095d0) 638s # p = s = 'hello, world' (0x2aa0d6095d0) 638s # releasing p[0x2aa0d6095d0] ('hello, world') 638s # p = 'goodbye, world' (0x2aa0d6096a0) 638s # releasing p[0x2aa0d6096a0] ('goodbye, world') 638s # releasing s[0x2aa0d6095d0] ('hello, world') 638s ok 5 /refstring/intern 638s # End of refstring tests 638s ok - glib/refstring.test 638s # Running test: glib/gsubprocess.test 638s TAP version 13 638s # random seed: R02Sa36f44939ed58f1118681fc80515fe1f 638s 1..83 638s # Start of gsubprocess tests 638s ok 1 /gsubprocess/noop 638s ok 2 /gsubprocess/noop-all-to-null 638s ok 3 /gsubprocess/noop-no-wait 638s ok 4 /gsubprocess/noop-stdin-inherit 638s ok 5 /gsubprocess/search-path 638s ok 6 /gsubprocess/search-path-from-envp 641s # Executing: glib/gsubprocess.test 641s ok 7 /gsubprocess/signal 641s # slow test /gsubprocess/signal executed in 3.16 secs 641s ok 8 /gsubprocess/exit1 641s ok 9 /gsubprocess/echo1 641s ok 10 /gsubprocess/echo-merged 641s ok 11 /gsubprocess/cat-utf8 642s ok 12 /gsubprocess/cat-eof 642s # slow test /gsubprocess/cat-eof executed in 1.00 secs 645s ok 13 /gsubprocess/multi1 645s # slow test /gsubprocess/multi1 executed in 3.02 secs 645s ok 14 /gsubprocess/communicate 646s # Executing: glib/gsubprocess.test 648s ok 15 /gsubprocess/terminate 648s # slow test /gsubprocess/terminate executed in 2.96 secs 648s ok 16 /gsubprocess/env 648s ok 17 /gsubprocess/cwd 648s ok 18 /gsubprocess/launcher-close 648s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 648s ok 19 /gsubprocess/stdout-file 648s ok 20 /gsubprocess/stdout-fd 648s ok 21 /gsubprocess/child-setup 648s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 648s ok 22 /gsubprocess/launcher-environment 648s # Start of exit1 tests 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 648s ok 23 /gsubprocess/exit1/cancel 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 648s ok 24 /gsubprocess/exit1/cancel_in_cb 648s # End of exit1 tests 648s # Start of communicate tests 648s ok 25 /gsubprocess/communicate/cancelled 648s ok 26 /gsubprocess/communicate/async 648s ok 27 /gsubprocess/communicate/utf8 648s # hello world 648s ok 28 /gsubprocess/communicate/no-pipes 648s ok 29 /gsubprocess/communicate/separate-stderr 648s ok 30 /gsubprocess/communicate/stdout-only 648s # hello world 648s ok 31 /gsubprocess/communicate/stderr-only 648s ok 32 /gsubprocess/communicate/stdout-silence 648s ok 33 /gsubprocess/communicate/nothing 648s # Start of async tests 648s ok 34 /gsubprocess/communicate/async/cancelled 648s # hello world 648s ok 35 /gsubprocess/communicate/async/no-pipes 648s ok 36 /gsubprocess/communicate/async/separate-stderr 648s ok 37 /gsubprocess/communicate/async/stdout-only 648s # hello world 648s ok 38 /gsubprocess/communicate/async/stderr-only 648s ok 39 /gsubprocess/communicate/async/stdout-silence 648s # Start of cancelled tests 648s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 648s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 648s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 648s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 648s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 648s # End of cancelled tests 648s # End of async tests 648s # Start of utf8 tests 648s ok 45 /gsubprocess/communicate/utf8/cancelled 648s ok 46 /gsubprocess/communicate/utf8/async 648s # hello world 648s ok 47 /gsubprocess/communicate/utf8/no-pipes 648s ok 48 /gsubprocess/communicate/utf8/separate-stderr 648s ok 49 /gsubprocess/communicate/utf8/stdout-only 648s # hello world 648s ok 50 /gsubprocess/communicate/utf8/stderr-only 648s ok 51 /gsubprocess/communicate/utf8/stdout-silence 648s ok 52 /gsubprocess/communicate/utf8/invalid 648s # Start of async tests 648s ok 53 /gsubprocess/communicate/utf8/async/cancelled 648s # hello world 648s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 648s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 648s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 648s # hello world 648s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 648s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 648s ok 59 /gsubprocess/communicate/utf8/async/invalid 648s # Start of cancelled tests 648s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 648s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 648s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 648s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 648s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 648s # End of cancelled tests 648s # End of async tests 648s # Start of cancelled tests 648s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 648s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 648s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 648s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 648s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 648s # End of cancelled tests 648s # End of utf8 tests 648s # Start of cancelled tests 648s ok 70 /gsubprocess/communicate/cancelled/no-pipes 648s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 648s ok 72 /gsubprocess/communicate/cancelled/stdout-only 648s ok 73 /gsubprocess/communicate/cancelled/stderr-only 648s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 648s # End of cancelled tests 648s # End of communicate tests 648s # Start of env tests 648s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 648s ok 75 /gsubprocess/env/inherit 648s # End of env tests 648s # Start of pass-fd tests 648s ok 76 /gsubprocess/pass-fd/basic 648s ok 77 /gsubprocess/pass-fd/empty-child-setup 648s ok 78 /gsubprocess/pass-fd/inherit-fds 648s # End of pass-fd tests 648s # Start of fd-conflation tests 648s ok 79 /gsubprocess/fd-conflation/basic 648s ok 80 /gsubprocess/fd-conflation/empty-child-setup 648s ok 81 /gsubprocess/fd-conflation/inherit-fds 648s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 648s # End of fd-conflation tests 648s # Start of exit-status tests 648s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 648s ok 83 /gsubprocess/exit-status/trapped 648s # End of exit-status tests 648s # End of gsubprocess tests 648s ok - glib/gsubprocess.test 648s # Running test: glib/unix.test 648s TAP version 13 648s # random seed: R02S376f7153e8e1216eaf42adb3d8bcca94 648s 1..17 648s # Start of glib-unix tests 648s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 648s ok 1 /glib-unix/closefrom 648s ok 2 /glib-unix/pipe 648s # /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 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 648s ok 3 /glib-unix/pipe-stdio-overwrite 648s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 648s ok 4 /glib-unix/pipe-struct 648s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 648s ok 5 /glib-unix/pipe-struct-auto 648s ok 6 /glib-unix/error 648s ok 7 /glib-unix/nonblocking 649s ok 8 /glib-unix/sighup 649s # slow test /glib-unix/sighup executed in 0.50 secs 649s ok 9 /glib-unix/sigterm 649s # slow test /glib-unix/sigterm executed in 0.50 secs 650s ok 10 /glib-unix/sighup_again 650s # slow test /glib-unix/sighup_again executed in 0.50 secs 650s ok 11 /glib-unix/sighup_add_remove 650s ok 12 /glib-unix/sighup_nested 651s # Executing: glib/unix.test 652s ok 13 /glib-unix/callback_after_signal 652s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 652s ok 14 /glib-unix/child-wait 652s # Start of closefrom tests 652s # Start of subprocess tests 652s # End of subprocess tests 652s # End of closefrom tests 652s # Start of pipe tests 652s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 652s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 652s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 652s ok 15 /glib-unix/pipe/fd-cloexec 652s # End of pipe tests 652s # Start of get-passwd-entry tests 652s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 652s ok 16 /glib-unix/get-passwd-entry/root 652s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 652s ok 17 /glib-unix/get-passwd-entry/nonexistent 652s # End of get-passwd-entry tests 652s # End of glib-unix tests 652s ok - glib/unix.test 652s # Running test: glib/strfuncs.test 652s TAP version 13 652s # random seed: R02Sa1bfc08f4a6d227978ed81906cb93b61 652s 1..50 652s # Start of strfuncs tests 652s ok 1 /strfuncs/ascii-strcasecmp 652s ok 2 /strfuncs/ascii_strdown 652s ok 3 /strfuncs/ascii_strdup 652s ok 4 /strfuncs/ascii_strtod 652s ok 5 /strfuncs/bounds-check 652s ok 6 /strfuncs/has-prefix 652s ok 7 /strfuncs/has-prefix-macro 652s ok 8 /strfuncs/has-suffix 652s ok 9 /strfuncs/has-suffix-macro 652s ok 10 /strfuncs/memdup 652s ok 11 /strfuncs/memdup2 652s ok 12 /strfuncs/set_str 652s ok 13 /strfuncs/stpcpy 652s ok 14 /strfuncs/str_match_string 652s ok 15 /strfuncs/str_tokenize_and_fold 652s ok 16 /strfuncs/strcanon 652s ok 17 /strfuncs/strchomp 652s ok 18 /strfuncs/strchug 652s ok 19 /strfuncs/strcompress-strescape 652s ok 20 /strfuncs/strconcat 652s ok 21 /strfuncs/strdelimit 652s ok 22 /strfuncs/strdup 652s ok 23 /strfuncs/strdup-printf 652s ok 24 /strfuncs/strdupv 652s ok 25 /strfuncs/strerror 652s ok 26 /strfuncs/strip-context 652s ok 27 /strfuncs/strjoin 652s ok 28 /strfuncs/strjoinv 652s ok 29 /strfuncs/strlcat 652s ok 30 /strfuncs/strlcpy 652s ok 31 /strfuncs/strncasecmp 652s ok 32 /strfuncs/strndup 652s ok 33 /strfuncs/strnfill 652s ok 34 /strfuncs/strreverse 652s ok 35 /strfuncs/strsignal 652s ok 36 /strfuncs/strsplit 652s ok 37 /strfuncs/strsplit-set 652s ok 38 /strfuncs/strstr 652s ok 39 /strfuncs/strtod 652s ok 40 /strfuncs/strtoull-strtoll 652s ok 41 /strfuncs/strup 652s ok 42 /strfuncs/strv-contains 652s ok 43 /strfuncs/strv-equal 652s ok 44 /strfuncs/strv-length 652s ok 45 /strfuncs/test-is-to-digit 652s ok 46 /strfuncs/transliteration 652s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 652s ok 47 /strfuncs/str-equal 652s # Start of ascii-string-to-num tests 652s ok 48 /strfuncs/ascii-string-to-num/pathological 652s ok 49 /strfuncs/ascii-string-to-num/usual 652s # End of ascii-string-to-num tests 652s # Start of strdup tests 652s ok 50 /strfuncs/strdup/inline 652s # End of strdup tests 652s # End of strfuncs tests 652s ok - glib/strfuncs.test 652s # Running test: glib/gdbus-address-get-session.test 652s TAP version 13 652s # random seed: R02Sb2eaae101a4a34d527a1b9465947d666 652s 1..2 652s # Start of gdbus tests 652s ok 1 /gdbus/x11-autolaunch 652s ok 2 /gdbus/xdg-runtime 652s # End of gdbus tests 652s ok - glib/gdbus-address-get-session.test 652s # Running test: glib/pollable.test 652s TAP version 13 652s # random seed: R02S4a1b4516264c6726c286f9a9b22cbcef 652s 1..6 652s # Start of pollable tests 652s ok 1 /pollable/converter 652s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 652s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa072fc7a0 and GSocketClientAsyncConnectData 0x2aa072efad0 652s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 652s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 652s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa072fd820 for GSocketClientAsyncConnectData 0x2aa072efad0 652s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 652s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 652s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 652s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 652s ok 2 /pollable/socket 652s # Start of unix tests 652s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 652s ok 3 /pollable/unix/pipe 652s # /pollable/unix/pty summary: Test that PTYs are considered pollable 652s ok 4 /pollable/unix/pty 652s # /pollable/unix/file summary: Test that regular files are not considered pollable 652s ok 5 /pollable/unix/file 652s # /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 652s ok 6 /pollable/unix/nulldev 652s # End of unix tests 652s # End of pollable tests 652s ok - glib/pollable.test 652s # Running test: glib/gdbus-test-codegen.test 652s TAP version 13 652s # random seed: R02S67de68f856312b3e24395863db36bb6c 652s 1..8 652s # Start of gdbus tests 652s # Start of codegen tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/annotations/.dirs/runtime 652s ok 1 /gdbus/codegen/annotations 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/interface_stability/.dirs/runtime 652s ok 2 /gdbus/codegen/interface_stability 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/object-manager/.dirs/runtime 652s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 652s ok 3 /gdbus/codegen/object-manager 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/property-naming/.dirs/runtime 652s ok 4 /gdbus/codegen/property-naming 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/autocleanups/.dirs/runtime 652s ok 5 /gdbus/codegen/autocleanups 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/deprecations/.dirs/runtime 652s ok 6 /gdbus/codegen/deprecations 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 652s ok 7 /gdbus/codegen/standalone-interface-info 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LY9UK2/gdbus/codegen/unix-fd-list/.dirs/runtime 652s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 652s ok 8 /gdbus/codegen/unix-fd-list 652s # End of codegen tests 652s # End of gdbus tests 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s ok - glib/gdbus-test-codegen.test 652s # Running test: glib/mimeapps.test 652s TAP version 13 652s # random seed: R02Se809886c8efa62102fba8efa78290f4f 652s 1..7 652s # Start of appinfo tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/runtime 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/system-data1/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data/applications/myapp.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data/applications/myapp2.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data/applications/myapp3.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data/applications/myapp4.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data/applications/myapp5.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 652s # removing '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 652s ok 1 /appinfo/all 652s # Start of mime tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/runtime 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/system-data1/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 652s # removing '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/config 652s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CB31K2/appinfo/all/.dirs/config to /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/config 652s ok 2 /appinfo/mime/api 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/runtime 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/system-data1/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 652s # removing '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/config 652s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CB31K2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/config 652s ok 3 /appinfo/mime/default 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/runtime 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/system-data1/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 652s # removing '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/config 652s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CB31K2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/config 652s ok 4 /appinfo/mime/file 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/runtime 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 652s # removing '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 652s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CB31K2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/config 652s ok 5 /appinfo/mime/scheme-handler 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/runtime 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 652s # removing '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/config 652s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CB31K2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/config 652s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/config 652s ok 6 /appinfo/mime/default-last-used 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/runtime 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 652s # removing '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 652s # creating '/tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 652s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CB31K2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_CB31K2/appinfo/mime/ignore-nonexisting/.dirs/config 652s ok 7 /appinfo/mime/ignore-nonexisting 652s # End of mime tests 652s # End of appinfo tests 652s ok - glib/mimeapps.test 652s # Running test: glib/refcount.test 652s TAP version 13 652s # random seed: R02Sc4f76df436121885b3a071ca76e68de8 652s 1..4 652s # Start of refcount tests 652s ok 1 /refcount/grefcount 652s ok 2 /refcount/gatomicrefcount 652s # Start of grefcount tests 652s ok 3 /refcount/grefcount/saturation 652s # End of grefcount tests 652s # Start of gatomicrefcount tests 652s ok 4 /refcount/gatomicrefcount/saturation 652s # End of gatomicrefcount tests 652s # End of refcount tests 652s ok - glib/refcount.test 652s # Running test: glib/io-channel-basic.test 652s TAP version 13 652s # random seed: R02S83c4c741ac3317d9abbbc8a3e7583246 652s 1..1 652s # Start of gio tests 652s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 652s # # random seed: R02Sda67002e8c5399ac9ec71119fa8678cf 652s # # GLib-DEBUG: io-channel-basic: child writing 8+2396 bytes to 6 652s # GLib-DEBUG: io-channel-basic: ...from 5: IN 652s # GLib-DEBUG: io-channel-basic: ...from 5: 2396 bytes 652s # GLib-DEBUG: io-channel-basic: ...from 5: OK 652s # # GLib-DEBUG: io-channel-basic: child writing 8+2248 bytes to 6 652s # GLib-DEBUG: io-channel-basic: ...from 5: IN 652s # GLib-DEBUG: io-channel-basic: ...from 5: 2248 bytes 652s # GLib-DEBUG: io-channel-basic: ...from 5: OK 653s # # GLib-DEBUG: io-channel-basic: child writing 8+4963 bytes to 6 653s # GLib-DEBUG: io-channel-basic: ...from 5: IN 653s # GLib-DEBUG: io-channel-basic: ...from 5: 4963 bytes 653s # GLib-DEBUG: io-channel-basic: ...from 5: OK 653s # # GLib-DEBUG: io-channel-basic: child writing 8+4490 bytes to 6 653s # GLib-DEBUG: io-channel-basic: ...from 5: IN 653s # GLib-DEBUG: io-channel-basic: ...from 5: 4490 bytes 653s # GLib-DEBUG: io-channel-basic: ...from 5: OK 653s # # GLib-DEBUG: io-channel-basic: child writing 8+4663 bytes to 6 653s # GLib-DEBUG: io-channel-basic: ...from 5: IN 653s # GLib-DEBUG: io-channel-basic: ...from 5: 4663 bytes 653s # GLib-DEBUG: io-channel-basic: ...from 5: OK 653s # # GLib-DEBUG: io-channel-basic: child writing 8+985 bytes to 6 653s # GLib-DEBUG: io-channel-basic: ...from 5: IN 653s # GLib-DEBUG: io-channel-basic: ...from 5: 985 bytes 653s # GLib-DEBUG: io-channel-basic: ...from 5: OK 654s # # GLib-DEBUG: io-channel-basic: child writing 8+561 bytes to 6 654s # GLib-DEBUG: io-channel-basic: ...from 5: IN 654s # GLib-DEBUG: io-channel-basic: ...from 5: 561 bytes 654s # GLib-DEBUG: io-channel-basic: ...from 5: OK 654s # # GLib-DEBUG: io-channel-basic: child writing 8+2780 bytes to 6 654s # GLib-DEBUG: io-channel-basic: ...from 5: IN 654s # GLib-DEBUG: io-channel-basic: ...from 5: 2780 bytes 654s # GLib-DEBUG: io-channel-basic: ...from 5: OK 654s # # GLib-DEBUG: io-channel-basic: child writing 8+1525 bytes to 6 654s # GLib-DEBUG: io-channel-basic: ...from 5: IN 654s # GLib-DEBUG: io-channel-basic: ...from 5: 1525 bytes 654s # GLib-DEBUG: io-channel-basic: ...from 5: OK 655s # # GLib-DEBUG: io-channel-basic: child writing 8+2320 bytes to 6 655s # GLib-DEBUG: io-channel-basic: ...from 5: IN 655s # GLib-DEBUG: io-channel-basic: ...from 5: 2320 bytes 655s # GLib-DEBUG: io-channel-basic: ...from 5: OK 655s # # GLib-DEBUG: io-channel-basic: child writing 8+1431 bytes to 6 655s # GLib-DEBUG: io-channel-basic: ...from 5: IN 655s # GLib-DEBUG: io-channel-basic: ...from 5: 1431 bytes 655s # GLib-DEBUG: io-channel-basic: ...from 5: OK 655s # # GLib-DEBUG: io-channel-basic: child writing 8+817 bytes to 6 655s # GLib-DEBUG: io-channel-basic: ...from 5: IN 655s # GLib-DEBUG: io-channel-basic: ...from 5: 817 bytes 655s # GLib-DEBUG: io-channel-basic: ...from 5: OK 655s # # GLib-DEBUG: io-channel-basic: child writing 8+2027 bytes to 6 655s # GLib-DEBUG: io-channel-basic: ...from 5: IN 655s # GLib-DEBUG: io-channel-basic: ...from 5: 2027 bytes 655s # GLib-DEBUG: io-channel-basic: ...from 5: OK 656s # # GLib-DEBUG: io-channel-basic: child writing 8+4762 bytes to 6 656s # GLib-DEBUG: io-channel-basic: ...from 5: IN 656s # GLib-DEBUG: io-channel-basic: ...from 5: 4762 bytes 656s # GLib-DEBUG: io-channel-basic: ...from 5: OK 656s # # GLib-DEBUG: io-channel-basic: child writing 8+2684 bytes to 6 656s # GLib-DEBUG: io-channel-basic: ...from 5: IN 656s # GLib-DEBUG: io-channel-basic: ...from 5: 2684 bytes 656s # GLib-DEBUG: io-channel-basic: ...from 5: OK 656s # Executing: glib/io-channel-basic.test 656s # # GLib-DEBUG: io-channel-basic: child writing 8+259 bytes to 6 656s # GLib-DEBUG: io-channel-basic: ...from 5: IN 656s # GLib-DEBUG: io-channel-basic: ...from 5: 259 bytes 656s # GLib-DEBUG: io-channel-basic: ...from 5: OK 656s # # GLib-DEBUG: io-channel-basic: child writing 8+3495 bytes to 6 656s # GLib-DEBUG: io-channel-basic: ...from 5: IN 656s # GLib-DEBUG: io-channel-basic: ...from 5: 3495 bytes 656s # GLib-DEBUG: io-channel-basic: ...from 5: OK 657s # # GLib-DEBUG: io-channel-basic: child writing 8+3018 bytes to 6 657s # GLib-DEBUG: io-channel-basic: ...from 5: IN 657s # GLib-DEBUG: io-channel-basic: ...from 5: 3018 bytes 657s # GLib-DEBUG: io-channel-basic: ...from 5: OK 657s # # GLib-DEBUG: io-channel-basic: child writing 8+786 bytes to 6 657s # GLib-DEBUG: io-channel-basic: ...from 5: IN 657s # GLib-DEBUG: io-channel-basic: ...from 5: 786 bytes 657s # GLib-DEBUG: io-channel-basic: ...from 5: OK 657s # # GLib-DEBUG: io-channel-basic: child writing 8+4837 bytes to 6 657s # GLib-DEBUG: io-channel-basic: ...from 5: IN 657s # GLib-DEBUG: io-channel-basic: ...from 5: 4837 bytes 657s # GLib-DEBUG: io-channel-basic: ...from 5: OK 657s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 657s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 657s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 657s # # random seed: R02Sc4ee9c0e464ff0b925912e0fe9f8c3fc 657s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 657s # # random seed: R02S250348d37c7277b8d11a4243e6075702 657s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 657s # # random seed: R02Sbc52c19b93def69dd9523bd4f6a4e8df 657s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 657s # # random seed: R02S7e7f99ecdd0fc9d55b9ce1d8c536217b 657s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 657s # # random seed: R02Scd2c7a74a6014e9f2fda396655946927 657s # # GLib-DEBUG: io-channel-basic: child writing 8+2359 bytes to 11 657s # GLib-DEBUG: io-channel-basic: ...from 10: IN 657s # GLib-DEBUG: io-channel-basic: ...from 10: 2359 bytes 657s # GLib-DEBUG: io-channel-basic: ...from 10: OK 657s # # GLib-DEBUG: io-channel-basic: child writing 8+3729 bytes to 17 657s # GLib-DEBUG: io-channel-basic: ...from 16: IN 657s # GLib-DEBUG: io-channel-basic: ...from 16: 3729 bytes 657s # GLib-DEBUG: io-channel-basic: ...from 16: OK 657s # # GLib-DEBUG: io-channel-basic: child writing 8+727 bytes to 13 657s # GLib-DEBUG: io-channel-basic: ...from 12: IN 657s # GLib-DEBUG: io-channel-basic: ...from 12: 727 bytes 657s # GLib-DEBUG: io-channel-basic: ...from 12: OK 657s # # GLib-DEBUG: io-channel-basic: child writing 8+1031 bytes to 9 657s # GLib-DEBUG: io-channel-basic: ...from 8: IN 657s # GLib-DEBUG: io-channel-basic: ...from 8: 1031 bytes 657s # GLib-DEBUG: io-channel-basic: ...from 8: OK 657s # # GLib-DEBUG: io-channel-basic: child writing 8+2724 bytes to 15 657s # GLib-DEBUG: io-channel-basic: ...from 14: IN 657s # GLib-DEBUG: io-channel-basic: ...from 14: 2724 bytes 657s # GLib-DEBUG: io-channel-basic: ...from 14: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+2536 bytes to 11 658s # GLib-DEBUG: io-channel-basic: ...from 10: IN 658s # GLib-DEBUG: io-channel-basic: ...from 10: 2536 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 10: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+2848 bytes to 17 658s # GLib-DEBUG: io-channel-basic: ...from 16: IN 658s # GLib-DEBUG: io-channel-basic: ...from 16: 2848 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 16: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+1323 bytes to 13 658s # GLib-DEBUG: io-channel-basic: ...from 12: IN 658s # GLib-DEBUG: io-channel-basic: ...from 12: 1323 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 12: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+1928 bytes to 15 658s # GLib-DEBUG: io-channel-basic: ...from 14: IN 658s # GLib-DEBUG: io-channel-basic: ...from 14: 1928 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 14: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+2768 bytes to 9 658s # GLib-DEBUG: io-channel-basic: ...from 8: IN 658s # GLib-DEBUG: io-channel-basic: ...from 8: 2768 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 8: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+1828 bytes to 11 658s # GLib-DEBUG: io-channel-basic: ...from 10: IN 658s # GLib-DEBUG: io-channel-basic: ...from 10: 1828 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 10: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+1781 bytes to 17 658s # GLib-DEBUG: io-channel-basic: ...from 16: IN 658s # GLib-DEBUG: io-channel-basic: ...from 16: 1781 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 16: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+1798 bytes to 13 658s # GLib-DEBUG: io-channel-basic: ...from 12: IN 658s # GLib-DEBUG: io-channel-basic: ...from 12: 1798 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 12: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+2025 bytes to 15 658s # GLib-DEBUG: io-channel-basic: ...from 14: IN 658s # GLib-DEBUG: io-channel-basic: ...from 14: 2025 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 14: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+3723 bytes to 9 658s # GLib-DEBUG: io-channel-basic: ...from 8: IN 658s # GLib-DEBUG: io-channel-basic: ...from 8: 3723 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 8: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+2927 bytes to 11 658s # GLib-DEBUG: io-channel-basic: ...from 10: IN 658s # GLib-DEBUG: io-channel-basic: ...from 10: 2927 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 10: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+2720 bytes to 17 658s # GLib-DEBUG: io-channel-basic: ...from 16: IN 658s # GLib-DEBUG: io-channel-basic: ...from 16: 2720 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 16: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+3352 bytes to 13 658s # GLib-DEBUG: io-channel-basic: ...from 12: IN 658s # GLib-DEBUG: io-channel-basic: ...from 12: 3352 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 12: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+4370 bytes to 9 658s # GLib-DEBUG: io-channel-basic: ...from 8: IN 658s # GLib-DEBUG: io-channel-basic: ...from 8: 4370 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 8: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+3888 bytes to 15 658s # GLib-DEBUG: io-channel-basic: ...from 14: IN 658s # GLib-DEBUG: io-channel-basic: ...from 14: 3888 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 14: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+2957 bytes to 11 658s # GLib-DEBUG: io-channel-basic: ...from 10: IN 658s # GLib-DEBUG: io-channel-basic: ...from 10: 2957 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 10: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+3324 bytes to 17 658s # GLib-DEBUG: io-channel-basic: ...from 16: IN 658s # GLib-DEBUG: io-channel-basic: ...from 16: 3324 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 16: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+325 bytes to 9 658s # GLib-DEBUG: io-channel-basic: ...from 8: IN 658s # GLib-DEBUG: io-channel-basic: ...from 8: 325 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 8: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+266 bytes to 15 658s # GLib-DEBUG: io-channel-basic: ...from 14: IN 658s # GLib-DEBUG: io-channel-basic: ...from 14: 266 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 14: OK 658s # # GLib-DEBUG: io-channel-basic: child writing 8+1743 bytes to 13 658s # GLib-DEBUG: io-channel-basic: ...from 12: IN 658s # GLib-DEBUG: io-channel-basic: ...from 12: 1743 bytes 658s # GLib-DEBUG: io-channel-basic: ...from 12: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+4729 bytes to 13 659s # GLib-DEBUG: io-channel-basic: ...from 12: IN 659s # GLib-DEBUG: io-channel-basic: ...from 12: 4729 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 12: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+1592 bytes to 15 659s # GLib-DEBUG: io-channel-basic: ...from 14: IN 659s # GLib-DEBUG: io-channel-basic: ...from 14: 1592 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 14: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+693 bytes to 11 659s # GLib-DEBUG: io-channel-basic: ...from 10: IN 659s # GLib-DEBUG: io-channel-basic: ...from 10: 693 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 10: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+1549 bytes to 17 659s # GLib-DEBUG: io-channel-basic: ...from 16: IN 659s # GLib-DEBUG: io-channel-basic: ...from 16: 1549 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 16: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+1737 bytes to 9 659s # GLib-DEBUG: io-channel-basic: ...from 8: IN 659s # GLib-DEBUG: io-channel-basic: ...from 8: 1737 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 8: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+3883 bytes to 15 659s # GLib-DEBUG: io-channel-basic: ...from 14: IN 659s # GLib-DEBUG: io-channel-basic: ...from 14: 3883 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 14: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+1559 bytes to 17 659s # GLib-DEBUG: io-channel-basic: ...from 16: IN 659s # GLib-DEBUG: io-channel-basic: ...from 16: 1559 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 16: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+3091 bytes to 11 659s # GLib-DEBUG: io-channel-basic: ...from 10: IN 659s # GLib-DEBUG: io-channel-basic: ...from 10: 3091 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 10: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+809 bytes to 13 659s # GLib-DEBUG: io-channel-basic: ...from 12: IN 659s # GLib-DEBUG: io-channel-basic: ...from 12: 809 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 12: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+55 bytes to 9 659s # GLib-DEBUG: io-channel-basic: ...from 8: IN 659s # GLib-DEBUG: io-channel-basic: ...from 8: 55 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 8: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+2111 bytes to 17 659s # GLib-DEBUG: io-channel-basic: ...from 16: IN 659s # GLib-DEBUG: io-channel-basic: ...from 16: 2111 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 16: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+3033 bytes to 15 659s # GLib-DEBUG: io-channel-basic: ...from 14: IN 659s # GLib-DEBUG: io-channel-basic: ...from 14: 3033 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 14: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+2139 bytes to 11 659s # GLib-DEBUG: io-channel-basic: ...from 10: IN 659s # GLib-DEBUG: io-channel-basic: ...from 10: 2139 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 10: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+1282 bytes to 13 659s # GLib-DEBUG: io-channel-basic: ...from 12: IN 659s # GLib-DEBUG: io-channel-basic: ...from 12: 1282 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 12: OK 659s # # GLib-DEBUG: io-channel-basic: child writing 8+1949 bytes to 9 659s # GLib-DEBUG: io-channel-basic: ...from 8: IN 659s # GLib-DEBUG: io-channel-basic: ...from 8: 1949 bytes 659s # GLib-DEBUG: io-channel-basic: ...from 8: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+2731 bytes to 17 660s # GLib-DEBUG: io-channel-basic: ...from 16: IN 660s # GLib-DEBUG: io-channel-basic: ...from 16: 2731 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 16: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+2569 bytes to 13 660s # GLib-DEBUG: io-channel-basic: ...from 12: IN 660s # GLib-DEBUG: io-channel-basic: ...from 12: 2569 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 12: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+4874 bytes to 15 660s # GLib-DEBUG: io-channel-basic: ...from 14: IN 660s # GLib-DEBUG: io-channel-basic: ...from 14: 4874 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 14: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+161 bytes to 9 660s # GLib-DEBUG: io-channel-basic: ...from 8: IN 660s # GLib-DEBUG: io-channel-basic: ...from 8: 161 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 8: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+4893 bytes to 11 660s # GLib-DEBUG: io-channel-basic: ...from 10: IN 660s # GLib-DEBUG: io-channel-basic: ...from 10: 4893 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 10: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+512 bytes to 17 660s # # GLib-DEBUG: io-channel-basic: child writing 8+1843 bytes to 9 660s # GLib-DEBUG: io-channel-basic: ...from 8: IN 660s # GLib-DEBUG: io-channel-basic: ...from 8: 1843 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 8: OK 660s # GLib-DEBUG: io-channel-basic: ...from 16: IN 660s # GLib-DEBUG: io-channel-basic: ...from 16: 512 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 16: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+2301 bytes to 15 660s # GLib-DEBUG: io-channel-basic: ...from 14: IN 660s # GLib-DEBUG: io-channel-basic: ...from 14: 2301 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 14: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+2992 bytes to 13 660s # GLib-DEBUG: io-channel-basic: ...from 12: IN 660s # GLib-DEBUG: io-channel-basic: ...from 12: 2992 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 12: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+1279 bytes to 11 660s # GLib-DEBUG: io-channel-basic: ...from 10: IN 660s # GLib-DEBUG: io-channel-basic: ...from 10: 1279 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 10: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+801 bytes to 9 660s # # GLib-DEBUG: io-channel-basic: child writing 8+959 bytes to 13 660s # GLib-DEBUG: io-channel-basic: ...from 12: IN 660s # GLib-DEBUG: io-channel-basic: ...from 12: 959 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 12: OK 660s # GLib-DEBUG: io-channel-basic: ...from 8: IN 660s # GLib-DEBUG: io-channel-basic: ...from 8: 801 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 8: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+4110 bytes to 15 660s # GLib-DEBUG: io-channel-basic: ...from 14: IN 660s # GLib-DEBUG: io-channel-basic: ...from 14: 4110 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 14: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+4445 bytes to 17 660s # GLib-DEBUG: io-channel-basic: ...from 16: IN 660s # GLib-DEBUG: io-channel-basic: ...from 16: 4445 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 16: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+3041 bytes to 11 660s # GLib-DEBUG: io-channel-basic: ...from 10: IN 660s # GLib-DEBUG: io-channel-basic: ...from 10: 3041 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 10: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+2835 bytes to 13 660s # GLib-DEBUG: io-channel-basic: ...from 12: IN 660s # GLib-DEBUG: io-channel-basic: ...from 12: 2835 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 12: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+1225 bytes to 17 660s # GLib-DEBUG: io-channel-basic: ...from 16: IN 660s # GLib-DEBUG: io-channel-basic: ...from 16: 1225 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 16: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+2021 bytes to 9 660s # GLib-DEBUG: io-channel-basic: ...from 8: IN 660s # GLib-DEBUG: io-channel-basic: ...from 8: 2021 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 8: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+4606 bytes to 15 660s # GLib-DEBUG: io-channel-basic: ...from 14: IN 660s # GLib-DEBUG: io-channel-basic: ...from 14: 4606 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 14: OK 660s # # GLib-DEBUG: io-channel-basic: child writing 8+2565 bytes to 11 660s # GLib-DEBUG: io-channel-basic: ...from 10: IN 660s # GLib-DEBUG: io-channel-basic: ...from 10: 2565 bytes 660s # GLib-DEBUG: io-channel-basic: ...from 10: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+3921 bytes to 13 661s # GLib-DEBUG: io-channel-basic: ...from 12: IN 661s # GLib-DEBUG: io-channel-basic: ...from 12: 3921 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 12: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+454 bytes to 15 661s # GLib-DEBUG: io-channel-basic: ...from 14: IN 661s # GLib-DEBUG: io-channel-basic: ...from 14: 454 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 14: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+1941 bytes to 17 661s # GLib-DEBUG: io-channel-basic: ...from 16: IN 661s # GLib-DEBUG: io-channel-basic: ...from 16: 1941 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 16: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+217 bytes to 11 661s # GLib-DEBUG: io-channel-basic: ...from 10: IN 661s # GLib-DEBUG: io-channel-basic: ...from 10: 217 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 10: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+2062 bytes to 9 661s # GLib-DEBUG: io-channel-basic: ...from 8: IN 661s # GLib-DEBUG: io-channel-basic: ...from 8: 2062 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 8: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+557 bytes to 13 661s # GLib-DEBUG: io-channel-basic: ...from 12: IN 661s # GLib-DEBUG: io-channel-basic: ...from 12: 557 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 12: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+3087 bytes to 11 661s # GLib-DEBUG: io-channel-basic: ...from 10: IN 661s # GLib-DEBUG: io-channel-basic: ...from 10: 3087 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 10: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+2830 bytes to 15 661s # # GLib-DEBUG: io-channel-basic: child writing 8+788 bytes to 17 661s # # GLib-DEBUG: io-channel-basic: child writing 8+4932 bytes to 9 661s # GLib-DEBUG: io-channel-basic: ...from 16: IN 661s # GLib-DEBUG: io-channel-basic: ...from 16: 788 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 16: OK 661s # GLib-DEBUG: io-channel-basic: ...from 8: IN 661s # GLib-DEBUG: io-channel-basic: ...from 8: 4932 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 8: OK 661s # GLib-DEBUG: io-channel-basic: ...from 14: IN 661s # GLib-DEBUG: io-channel-basic: ...from 14: 2830 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 14: OK 661s # Executing: glib/io-channel-basic.test 661s # # GLib-DEBUG: io-channel-basic: child writing 8+4362 bytes to 13 661s # GLib-DEBUG: io-channel-basic: ...from 12: IN 661s # GLib-DEBUG: io-channel-basic: ...from 12: 4362 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 12: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+3170 bytes to 15 661s # GLib-DEBUG: io-channel-basic: ...from 14: IN 661s # GLib-DEBUG: io-channel-basic: ...from 14: 3170 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 14: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+2112 bytes to 17 661s # GLib-DEBUG: io-channel-basic: ...from 16: IN 661s # GLib-DEBUG: io-channel-basic: ...from 16: 2112 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 16: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+4656 bytes to 11 661s # GLib-DEBUG: io-channel-basic: ...from 10: IN 661s # GLib-DEBUG: io-channel-basic: ...from 10: 4656 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 10: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+3104 bytes to 9 661s # GLib-DEBUG: io-channel-basic: ...from 8: IN 661s # GLib-DEBUG: io-channel-basic: ...from 8: 3104 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 8: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+2238 bytes to 15 661s # GLib-DEBUG: io-channel-basic: ...from 14: IN 661s # GLib-DEBUG: io-channel-basic: ...from 14: 2238 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 14: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+2937 bytes to 13 661s # GLib-DEBUG: io-channel-basic: ...from 12: IN 661s # GLib-DEBUG: io-channel-basic: ...from 12: 2937 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 12: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+1262 bytes to 17 661s # GLib-DEBUG: io-channel-basic: ...from 16: IN 661s # GLib-DEBUG: io-channel-basic: ...from 16: 1262 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 16: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+4827 bytes to 11 661s # GLib-DEBUG: io-channel-basic: ...from 10: IN 661s # GLib-DEBUG: io-channel-basic: ...from 10: 4827 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 10: OK 661s # # GLib-DEBUG: io-channel-basic: child writing 8+1133 bytes to 9 661s # GLib-DEBUG: io-channel-basic: ...from 8: IN 661s # GLib-DEBUG: io-channel-basic: ...from 8: 1133 bytes 661s # GLib-DEBUG: io-channel-basic: ...from 8: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+3334 bytes to 17 662s # GLib-DEBUG: io-channel-basic: ...from 16: IN 662s # GLib-DEBUG: io-channel-basic: ...from 16: 3334 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 16: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+4069 bytes to 15 662s # GLib-DEBUG: io-channel-basic: ...from 14: IN 662s # GLib-DEBUG: io-channel-basic: ...from 14: 4069 bytes 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2023 bytes to 11 662s # GLib-DEBUG: io-channel-basic: ...from 14: OK 662s # GLib-DEBUG: io-channel-basic: ...from 10: IN 662s # GLib-DEBUG: io-channel-basic: ...from 10: 2023 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 10: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+4889 bytes to 13 662s # GLib-DEBUG: io-channel-basic: ...from 12: IN 662s # GLib-DEBUG: io-channel-basic: ...from 12: 4889 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 12: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2523 bytes to 9 662s # GLib-DEBUG: io-channel-basic: ...from 8: IN 662s # GLib-DEBUG: io-channel-basic: ...from 8: 2523 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 8: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+1809 bytes to 17 662s # GLib-DEBUG: io-channel-basic: ...from 16: IN 662s # GLib-DEBUG: io-channel-basic: ...from 16: 1809 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 16: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+4558 bytes to 11 662s # GLib-DEBUG: io-channel-basic: ...from 10: IN 662s # GLib-DEBUG: io-channel-basic: ...from 10: 4558 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 10: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+139 bytes to 15 662s # GLib-DEBUG: io-channel-basic: ...from 14: IN 662s # GLib-DEBUG: io-channel-basic: ...from 14: 139 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 14: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+255 bytes to 9 662s # GLib-DEBUG: io-channel-basic: ...from 8: IN 662s # GLib-DEBUG: io-channel-basic: ...from 8: 255 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 8: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2302 bytes to 13 662s # GLib-DEBUG: io-channel-basic: ...from 12: IN 662s # GLib-DEBUG: io-channel-basic: ...from 12: 2302 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 12: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2543 bytes to 17 662s # GLib-DEBUG: io-channel-basic: ...from 16: IN 662s # GLib-DEBUG: io-channel-basic: ...from 16: 2543 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 16: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2940 bytes to 11 662s # GLib-DEBUG: io-channel-basic: ...from 10: IN 662s # GLib-DEBUG: io-channel-basic: ...from 10: 2940 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 10: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2875 bytes to 15 662s # GLib-DEBUG: io-channel-basic: ...from 14: IN 662s # GLib-DEBUG: io-channel-basic: ...from 14: 2875 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 14: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2983 bytes to 9 662s # GLib-DEBUG: io-channel-basic: ...from 8: IN 662s # GLib-DEBUG: io-channel-basic: ...from 8: 2983 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 8: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2866 bytes to 13 662s # GLib-DEBUG: io-channel-basic: ...from 12: IN 662s # GLib-DEBUG: io-channel-basic: ...from 12: 2866 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 12: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+4202 bytes to 17 662s # GLib-DEBUG: io-channel-basic: ...from 16: IN 662s # GLib-DEBUG: io-channel-basic: ...from 16: 4202 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 16: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2953 bytes to 15 662s # GLib-DEBUG: io-channel-basic: ...from 14: IN 662s # GLib-DEBUG: io-channel-basic: ...from 14: 2953 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 14: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+4396 bytes to 11 662s # GLib-DEBUG: io-channel-basic: ...from 10: IN 662s # GLib-DEBUG: io-channel-basic: ...from 10: 4396 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 10: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+2674 bytes to 9 662s # GLib-DEBUG: io-channel-basic: ...from 8: IN 662s # GLib-DEBUG: io-channel-basic: ...from 8: 2674 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 8: OK 662s # # GLib-DEBUG: io-channel-basic: child writing 8+4815 bytes to 13 662s # GLib-DEBUG: io-channel-basic: ...from 12: IN 662s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 662s # GLib-DEBUG: io-channel-basic: ...from 12: 4815 bytes 662s # GLib-DEBUG: io-channel-basic: ...from 12: OK 662s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 663s # # GLib-DEBUG: io-channel-basic: child writing 8+1653 bytes to 17 663s # GLib-DEBUG: io-channel-basic: ...from 16: IN 663s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 663s # GLib-DEBUG: io-channel-basic: ...from 16: 1653 bytes 663s # GLib-DEBUG: io-channel-basic: ...from 16: OK 663s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 663s # # GLib-DEBUG: io-channel-basic: child writing 8+2372 bytes to 15 663s # GLib-DEBUG: io-channel-basic: ...from 14: IN 663s # GLib-DEBUG: io-channel-basic: ...from 14: 2372 bytes 663s # GLib-DEBUG: io-channel-basic: ...from 14: OK 663s # # GLib-DEBUG: io-channel-basic: child writing 8+4952 bytes to 9 663s # GLib-DEBUG: io-channel-basic: ...from 8: IN 663s # GLib-DEBUG: io-channel-basic: ...from 8: 4952 bytes 663s # GLib-DEBUG: io-channel-basic: ...from 8: OK 663s # # GLib-DEBUG: io-channel-basic: child writing 8+3917 bytes to 11 663s # GLib-DEBUG: io-channel-basic: ...from 10: IN 663s # GLib-DEBUG: io-channel-basic: ...from 10: 3917 bytes 663s # GLib-DEBUG: io-channel-basic: ...from 10: OK 663s # # GLib-DEBUG: io-channel-basic: child writing 8+3069 bytes to 15 663s # GLib-DEBUG: io-channel-basic: ...from 14: IN 663s # GLib-DEBUG: io-channel-basic: ...from 14: 3069 bytes 663s # GLib-DEBUG: io-channel-basic: ...from 14: OK 663s # # GLib-DEBUG: io-channel-basic: child writing 8+523 bytes to 9 663s # GLib-DEBUG: io-channel-basic: ...from 8: IN 663s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 663s # GLib-DEBUG: io-channel-basic: ...from 8: 523 bytes 663s # GLib-DEBUG: io-channel-basic: ...from 8: OK 663s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 663s # # GLib-DEBUG: io-channel-basic: child writing 8+4783 bytes to 11 663s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 663s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 663s # GLib-DEBUG: io-channel-basic: ...from 10: 4783 bytes 663s # GLib-DEBUG: io-channel-basic: ...from 10: OK 663s # # GLib-DEBUG: io-channel-basic: child writing 8+4974 bytes to 15 663s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 663s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 663s # GLib-DEBUG: io-channel-basic: ...from 14: 4974 bytes 663s # GLib-DEBUG: io-channel-basic: ...from 14: OK 663s ok 1 /gio/io-basics 663s # slow test /gio/io-basics executed in 11.28 secs 663s # End of gio tests 663s ok - glib/io-channel-basic.test 663s # Running test: glib/rcbox.test 663s TAP version 13 663s # random seed: R02S1bee27eff65ef2c63d4d8f7ac1b7b771 663s 1..8 663s # Start of rcbox tests 663s ok 1 /rcbox/new 663s # global_point = 0x2aa226ef840 663s ok 2 /rcbox/release-full 663s # global_point_a = 0x2aa226ef840 663s # global_point_b = 0x2aa226ef800 663s ok 3 /rcbox/dup 663s ok 4 /rcbox/alignment 663s # End of rcbox tests 663s # Start of atomic-rcbox tests 663s ok 5 /atomic-rcbox/new 663s # global_point = 0x2aa226efa10 663s ok 6 /atomic-rcbox/release-full 663s # global_point_a = 0x2aa226efa10 663s # global_point_b = 0x2aa226ef9d0 663s ok 7 /atomic-rcbox/dup 663s ok 8 /atomic-rcbox/alignment 663s # End of atomic-rcbox tests 663s ok - glib/rcbox.test 663s # Running test: glib/utils.test 663s TAP version 13 663s # random seed: R02See15a00c88bc13435aba4d6e1234421d 663s 1..40 663s # Start of utils tests 663s ok 1 /utils/language-names 663s ok 2 /utils/locale-variants 663s ok 3 /utils/version 663s ok 4 /utils/appname 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 663s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 663s ok 5 /utils/prgname-thread-safety 663s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 663s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 663s ok 6 /utils/tmpdir 663s ok 7 /utils/basic_bits 663s ok 8 /utils/bits 663s ok 9 /utils/swap 663s ok 10 /utils/find-program 663s ok 11 /utils/find-program-for-path 663s ok 12 /utils/debug 663s ok 13 /utils/codeset 663s ok 14 /utils/codeset2 663s ok 15 /utils/console-charset 663s ok 16 /utils/gettext 663s ok 17 /utils/username 663s ok 18 /utils/realname 663s ok 19 /utils/hostname 663s ok 20 /utils/xdgdirs 663s ok 21 /utils/specialdir 663s # NAME: Ubuntu 663s ok 22 /utils/os-info 663s ok 23 /utils/clear-pointer 663s ok 24 /utils/clear-pointer-cast 663s ok 25 /utils/take-pointer 663s ok 26 /utils/clear-source 663s ok 27 /utils/misc-mem 663s # /utils/aligned-mem summary: Aligned memory allocator 663s # Alignment must not be zero 663s # Alignment must be a power of two 663s # Alignment must be a multiple of sizeof(void*) 663s ok 28 /utils/aligned-mem 663s # /utils/free-sized summary: Check that g_free_sized() works 663s ok 29 /utils/free-sized 663s ok 30 /utils/nullify 663s ok 31 /utils/atexit 663s ok 32 /utils/check-setuid 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 663s ok 33 /utils/int-limits 663s ok 34 /utils/clear-list 663s ok 35 /utils/clear-slist 663s # Start of specialdir tests 663s ok 36 /utils/specialdir/desktop 663s # End of specialdir tests 663s # Start of clear-pointer tests 663s ok 37 /utils/clear-pointer/side-effects 663s # End of clear-pointer tests 663s # Start of aligned-mem tests 663s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 663s ok 38 /utils/aligned-mem/alignment 663s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 663s ok 39 /utils/aligned-mem/zeroed 663s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 663s ok 40 /utils/aligned-mem/free-sized 663s # Start of subprocess tests 663s # End of subprocess tests 663s # End of aligned-mem tests 663s # End of utils tests 663s ok - glib/utils.test 663s # Running test: glib/scannerapi.test 663s TAP version 13 663s # random seed: R02Se0fbe356068962a5cc7ae985dc0d2de1 663s 1..4 663s # Start of scanner tests 663s ok 1 /scanner/warn 663s ok 2 /scanner/error 663s ok 3 /scanner/symbols 663s ok 4 /scanner/tokens 663s # End of scanner tests 663s ok - glib/scannerapi.test 663s # Running test: glib/memory-settings-backend.test 663s TAP version 13 663s # random seed: R02Sefc7db5a1f720aafeed9b212d9ebf6bb 663s 1..1 663s # Start of memory-settings-backend tests 663s ok 1 /memory-settings-backend/extension-point-registered 663s # End of memory-settings-backend tests 663s ok - glib/memory-settings-backend.test 663s # Running test: glib/param.test 663s TAP version 13 663s # random seed: R02Sf0c4ae97a3b0c57136af1a442e1c45c1 663s 1..32 663s # Start of param tests 663s ok 1 /param/value 663s ok 2 /param/strings 663s ok 3 /param/qdata 663s ok 4 /param/validate 663s ok 5 /param/convert 663s ok 6 /param/implement # SKIP Skipping slow /param/implement test 663s ok 7 /param/default 663s ok 8 /param/is-valid-name 663s # Start of invalid-name tests 663s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 664s ok 9 /param/invalid-name/colon 664s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 664s ok 10 /param/invalid-name/first-char 664s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 664s ok 11 /param/invalid-name/empty 664s # End of invalid-name tests 664s # Start of implement tests 664s # Start of subprocess tests 664s # End of subprocess tests 664s # End of implement tests 664s # End of param tests 664s # Start of value tests 664s ok 12 /value/transform 664s # End of value tests 664s # Start of paramspec tests 664s ok 13 /paramspec/char 664s ok 14 /paramspec/uchar 664s ok 15 /paramspec/int 664s ok 16 /paramspec/uint 664s ok 17 /paramspec/long 664s ok 18 /paramspec/ulong 664s ok 19 /paramspec/int64 664s ok 20 /paramspec/uint64 664s ok 21 /paramspec/float 664s ok 22 /paramspec/double 664s ok 23 /paramspec/unichar 664s ok 24 /paramspec/param 664s ok 25 /paramspec/null-param 664s ok 26 /paramspec/string 664s ok 27 /paramspec/override 664s ok 28 /paramspec/gtype 664s ok 29 /paramspec/variant 664s ok 30 /paramspec/custom 664s ok 31 /paramspec/pool 664s # Start of variant tests 664s ok 32 /paramspec/variant/cmp 664s # End of variant tests 664s # End of paramspec tests 664s ok - glib/param.test 664s # Running test: glib/gdbus-serialization.test 664s TAP version 13 664s # random seed: R02S399a1c5e1644409527349ff8e8dc5d62 664s 1..18 664s # Start of gdbus tests 664s # Start of message-serialize tests 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/basic/.dirs/runtime 664s ok 1 /gdbus/message-serialize/basic 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/complex/.dirs/runtime 664s ok 2 /gdbus/message-serialize/complex 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/invalid/.dirs/runtime 664s ok 3 /gdbus/message-serialize/invalid 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/.dirs/runtime 664s ok 4 /gdbus/message-serialize/header-checks 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/double-array/.dirs/runtime 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 664s ok 5 /gdbus/message-serialize/double-array 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/empty-structure/.dirs/runtime 664s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 664s ok 6 /gdbus/message-serialize/empty-structure 664s # Start of header-checks tests 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 664s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 664s ok 7 /gdbus/message-serialize/header-checks/valid 664s # End of header-checks tests 664s # End of message-serialize tests 664s # Start of message-parse tests 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 664s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/non-signature-header/.dirs/runtime 664s ok 9 /gdbus/message-parse/non-signature-header 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 664s ok 10 /gdbus/message-parse/empty-signature-header 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 664s ok 11 /gdbus/message-parse/multiple-signature-header 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 664s ok 12 /gdbus/message-parse/over-long-signature-header 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 664s ok 13 /gdbus/message-parse/deep-header-nesting 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 664s ok 14 /gdbus/message-parse/deep-body-nesting 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/truncated/.dirs/runtime 664s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 664s ok 15 /gdbus/message-parse/truncated 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/empty-structure/.dirs/runtime 664s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 664s ok 16 /gdbus/message-parse/empty-structure 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/missing-header/.dirs/runtime 664s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 664s ok 17 /gdbus/message-parse/missing-header 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UGNVK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 664s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 664s ok 18 /gdbus/message-parse/invalid-header-type 664s # End of message-parse tests 664s # End of gdbus tests 664s ok - glib/gdbus-serialization.test 664s # Running test: glib/socket-service.test 664s TAP version 13 664s # random seed: R02S07c163e145f62a48784268cae9ce0a9f 664s 1..4 664s # Start of socket-service tests 664s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 664s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa22578330 and GSocketClientAsyncConnectData 0x2aa22570620 664s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 664s ok 1 /socket-service/start-stop 664s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa22579e90 and GSocketClientAsyncConnectData 0x2aa22579c30 664s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 664s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 664s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2257a3a0 for GSocketClientAsyncConnectData 0x2aa22570620 664s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 664s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 664s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 664s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 664s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 664s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2257b220 for GSocketClientAsyncConnectData 0x2aa22579c30 664s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 664s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 664s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 664s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 664s ok 2 /socket-service/read_write_async 664s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa22579f70 and GSocketClientAsyncConnectData 0x2aa22578900 664s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 664s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 664s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2257c160 for GSocketClientAsyncConnectData 0x2aa22578900 664s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 664s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 664s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 664s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 664s ok 3 /socket-service/read_writev_async 664s # Start of threaded tests 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 664s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2257f6f0 and GSocketClientAsyncConnectData 0x2aa22570620 664s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 664s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 664s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2257f870 for GSocketClientAsyncConnectData 0x2aa22570620 664s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 664s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 664s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 664s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 664s ok 4 /socket-service/threaded/712570 664s # End of threaded tests 664s # End of socket-service tests 664s ok - glib/socket-service.test 664s # Running test: glib/gdbus-test-codegen-old.test 664s TAP version 13 664s # random seed: R02S02ffd18d372e620463f0c63430baf222 664s 1..8 664s # Start of gdbus tests 664s # Start of codegen tests 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/annotations/.dirs/runtime 664s ok 1 /gdbus/codegen/annotations 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/interface_stability/.dirs/runtime 664s ok 2 /gdbus/codegen/interface_stability 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/object-manager/.dirs/runtime 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s ok 3 /gdbus/codegen/object-manager 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/property-naming/.dirs/runtime 664s ok 4 /gdbus/codegen/property-naming 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/autocleanups/.dirs/runtime 664s ok 5 /gdbus/codegen/autocleanups 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/deprecations/.dirs/runtime 664s ok 6 /gdbus/codegen/deprecations 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 664s ok 7 /gdbus/codegen/standalone-interface-info 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_PJ2VK2/gdbus/codegen/unix-fd-list/.dirs/runtime 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 664s ok 8 /gdbus/codegen/unix-fd-list 664s # End of codegen tests 664s # End of gdbus tests 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok - glib/gdbus-test-codegen-old.test 664s # Running test: glib/dynamictests.test 664s TAP version 13 664s # random seed: R02Sa2b52f10cb8fe1bc39a600800279103c 664s 1..2 664s # Start of GObject tests 664s ok 1 /GObject/threaded-dynamic-ref-unref-init 664s ok 2 /GObject/dynamic-interface-properties 664s # End of GObject tests 664s ok - glib/dynamictests.test 664s # Running test: glib/keyfile.test 664s TAP version 13 664s # random seed: R02S22c97643af55ef58832da846ce88d85f 664s 1..36 664s # Start of keyfile tests 664s ok 1 /keyfile/line-ends 664s ok 2 /keyfile/whitespace 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 664s ok 3 /keyfile/comments 664s ok 4 /keyfile/listing 664s ok 5 /keyfile/string 664s ok 6 /keyfile/boolean 664s ok 7 /keyfile/number 664s ok 8 /keyfile/locale-string 664s ok 9 /keyfile/lists 664s ok 10 /keyfile/lists-set-get 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 664s ok 11 /keyfile/group-remove 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 664s ok 12 /keyfile/key-remove 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 664s ok 13 /keyfile/groups 664s ok 14 /keyfile/duplicate-keys 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 664s ok 15 /keyfile/duplicate-groups 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 664s ok 16 /keyfile/duplicate-groups2 664s ok 17 /keyfile/group-names 664s ok 18 /keyfile/key-names 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 664s ok 19 /keyfile/reload 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 664s ok 20 /keyfile/int64 664s ok 21 /keyfile/load 664s ok 22 /keyfile/save 664s ok 23 /keyfile/load-fail 664s ok 24 /keyfile/non-utf8 664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 664s ok 25 /keyfile/page-boundary 664s ok 26 /keyfile/ref 664s ok 27 /keyfile/replace-value 664s ok 28 /keyfile/list-separator 664s ok 29 /keyfile/empty-string 664s ok 30 /keyfile/limbo 664s # Testing invalid encoding ?non-UTF-8 664s # Testing invalid encoding ?UTF? 664s # Testing invalid encoding ?UTF-9? 664s ok 31 /keyfile/utf8 664s ok 32 /keyfile/roundtrip 664s ok 33 /keyfile/bytes 664s ok 34 /keyfile/get-locale 664s ok 35 /keyfile/free-when-not-last-ref 664s # Start of locale-string tests 664s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 664s ok 36 /keyfile/locale-string/multiple-loads 664s # End of locale-string tests 664s # End of keyfile tests 664s ok - glib/keyfile.test 664s # Running test: glib/g-file-info.test 664s TAP version 13 664s # random seed: R02S4aa165c722f73cc566e9b681ef49509d 664s 1..6 664s # Start of g-file-info tests 664s ok 1 /g-file-info/test_g_file_info 664s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 664s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 664s ok 2 /g-file-info/xattrs 664s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 664s ok 3 /g-file-info/set-modified-date-time-precision 664s # Start of test_g_file_info tests 664s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 664s ok 4 /g-file-info/test_g_file_info/modification-time 664s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 664s ok 5 /g-file-info/test_g_file_info/access-time 664s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 664s ok 6 /g-file-info/test_g_file_info/creation-time 664s # End of test_g_file_info tests 664s # End of g-file-info tests 664s ok - glib/g-file-info.test 664s # Running test: glib/rwlock.test 664s TAP version 13 664s # random seed: R02S3c4527d90d94cf05d4a499a423bacbf7 664s 1..8 664s # Start of thread tests 664s ok 1 /thread/rwlock1 664s ok 2 /thread/rwlock2 664s ok 3 /thread/rwlock3 664s ok 4 /thread/rwlock4 664s ok 5 /thread/rwlock5 664s ok 6 /thread/rwlock6 666s # Executing: glib/rwlock.test 671s # Executing: glib/rwlock.test 672s ok 7 /thread/rwlock7 672s # slow test /thread/rwlock7 executed in 8.05 secs 672s ok 8 /thread/rwlock8 672s # End of thread tests 672s ok - glib/rwlock.test 672s # Running test: glib/dir.test 672s TAP version 13 672s # random seed: R02S76fba74cffaf7e2e4c4f8dd16e5ee5b7 672s 1..3 672s # Start of dir tests 672s ok 1 /dir/read 672s ok 2 /dir/nonexisting 672s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 672s ok 3 /dir/refcounting 672s # End of dir tests 672s ok - glib/dir.test 672s # Running test: glib/cxx-20.test 672s TAP version 13 672s # random seed: R02S18d3f0dffa00eee654a48415a7e6f7de 672s 1..2 672s # Start of gtask tests 672s # 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. 672s ok 1 /gtask/name 672s # Start of name tests 672s # 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. 672s ok 2 /gtask/name/macro-wrapper 672s # End of name tests 672s # End of gtask tests 672s ok - glib/cxx-20.test 672s # Running test: glib/thread-pool.test 672s TAP version 13 672s # random seed: R02S602345141a1d4b1d2a7199776c99bbe5 672s 1..5 672s # Start of thread_pool tests 672s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 672s ok 1 /thread_pool/shared 672s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 672s ok 2 /thread_pool/exclusive 672s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 672s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 672s ok 3 /thread_pool/create_shared_after_exclusive 672s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 672s ok 4 /thread_pool/create_full 672s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 672s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 672s ok 5 /thread_pool/create_exclusive_after_shared 672s # End of thread_pool tests 672s ok - glib/thread-pool.test 672s # Running test: glib/charset.test 672s TAP version 13 672s # random seed: R02S4d1519f8e6b11032a234ea5eeed5900f 672s 1..2 672s # Start of charset tests 672s # Test 0 672s # Test 1 672s # Test 2 672s # Test 3 672s ok 1 /charset/language_names_with_category 672s ok 2 /charset/language_names_with_category_async 672s # End of charset tests 672s ok - glib/charset.test 672s # Running test: glib/socket-listener.test 672s TAP version 13 672s # random seed: R02Sb8ed4abf99e4a7ff318f28eb835823eb 672s 1..1 672s # Start of socket-listener tests 672s ok 1 /socket-listener/event-signal 672s # End of socket-listener tests 672s ok - glib/socket-listener.test 672s # Running test: glib/rand.test 672s TAP version 13 672s # random seed: R02Saa6151dea2be56713c7155a801d4e4d4 672s 1..2 672s # Start of rand tests 672s ok 1 /rand/test-rand 672s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 672s ok 2 /rand/double-range 672s # End of rand tests 672s ok - glib/rand.test 672s # Running test: glib/fileutils.test 672s TAP version 13 672s # random seed: R02S3dddc28b88692fd777f3b8a1a20cdd69 672s 1..27 672s # Start of fileutils tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/paths/.dirs/runtime 672s ok 1 /fileutils/paths 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/build-path/.dirs/runtime 672s ok 2 /fileutils/build-path 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/build-pathv/.dirs/runtime 672s ok 3 /fileutils/build-pathv 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/build-filename/.dirs/runtime 672s ok 4 /fileutils/build-filename 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/build-filenamev/.dirs/runtime 672s ok 5 /fileutils/build-filenamev 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents/.dirs/runtime 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s ok 6 /fileutils/mkdir-with-parents 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s ok 7 /fileutils/mkdir-with-parents-permission 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/format-size-for-display/.dirs/runtime 672s ok 8 /fileutils/format-size-for-display 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/errors/.dirs/runtime 672s ok 9 /fileutils/errors 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/basename/.dirs/runtime 672s ok 10 /fileutils/basename 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/get-basename/.dirs/runtime 672s ok 11 /fileutils/get-basename 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/dirname/.dirs/runtime 672s ok 12 /fileutils/dirname 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/dir-make-tmp/.dirs/runtime 672s ok 13 /fileutils/dir-make-tmp 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/file-open-tmp/.dirs/runtime 672s ok 14 /fileutils/file-open-tmp 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/file-test/.dirs/runtime 672s ok 15 /fileutils/file-test 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/mkstemp/.dirs/runtime 672s ok 16 /fileutils/mkstemp 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/mkdtemp/.dirs/runtime 672s ok 17 /fileutils/mkdtemp 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents/.dirs/runtime 672s ok 18 /fileutils/get-contents 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/get-contents-large-file/.dirs/runtime 672s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents/.dirs/runtime 672s ok 20 /fileutils/set-contents 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/.dirs/runtime 672s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 672s # Flags 0 and test 0 672s # Flags 0 and test 1 672s # Flags 0 and test 2 672s # Flags 0 and test 3 672s # Flags 0 and test 4 672s # Flags 0 and test 5 672s # Flags 1 and test 0 672s # Flags 1 and test 1 672s # Flags 1 and test 2 672s # Flags 1 and test 3 672s # Flags 1 and test 4 672s # Flags 1 and test 5 672s # Flags 2 and test 0 672s # Flags 2 and test 1 672s # Flags 2 and test 2 672s # Flags 2 and test 3 672s # Flags 2 and test 4 672s # Flags 2 and test 5 672s # Flags 3 and test 0 672s # Flags 3 and test 1 672s # Flags 3 and test 2 672s # Flags 3 and test 3 672s # Flags 3 and test 4 672s # Flags 3 and test 5 672s # Flags 4 and test 0 672s # Flags 4 and test 1 672s # Flags 4 and test 2 672s # Flags 4 and test 3 672s # Flags 4 and test 4 672s # Flags 4 and test 5 672s # Flags 5 and test 0 672s # Flags 5 and test 1 672s # Flags 5 and test 2 672s # Flags 5 and test 3 672s # Flags 5 and test 4 672s # Flags 5 and test 5 672s # Flags 6 and test 0 672s # Flags 6 and test 1 672s # Flags 6 and test 2 672s # Flags 6 and test 3 672s # Flags 6 and test 4 672s # Flags 6 and test 5 672s ok 21 /fileutils/set-contents-full 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/read-link/.dirs/runtime 672s ok 22 /fileutils/read-link 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/stdio-wrappers/.dirs/runtime 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s ok 23 /fileutils/stdio-wrappers 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/fopen-modes/.dirs/runtime 672s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 672s # Testing fopen() mode 'w' 672s # Testing fopen() mode 'r' 672s # Testing fopen() mode 'a' 672s # Testing fopen() mode 'w+' 672s # Testing fopen() mode 'r+' 672s # Testing fopen() mode 'a+' 672s # Testing fopen() mode 'wb' 672s # Testing fopen() mode 'rb' 672s # Testing fopen() mode 'ab' 672s # Testing fopen() mode 'w+b' 672s # Testing fopen() mode 'r+b' 672s # Testing fopen() mode 'a+b' 672s # Testing fopen() mode 'wb+' 672s # Testing fopen() mode 'rb+' 672s # Testing fopen() mode 'ab+' 672s ok 24 /fileutils/fopen-modes 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/clear-fd/.dirs/runtime 672s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 672s # Will be closed by autocleanup: 3, -42 672s # Testing error handling 672s ok 25 /fileutils/clear-fd 672s # Start of set-contents-full tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 672s ok 26 /fileutils/set-contents-full/read-only-file 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XO5ZK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 672s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 672s # Flags 0 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s # Flags 1 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s # Flags 2 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s # Flags 3 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s # Flags 4 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s # Flags 5 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s # Flags 6 672s # We do not have CAP_DAC_OVERRIDE or equivalent 672s ok 27 /fileutils/set-contents-full/read-only-directory 672s # End of set-contents-full tests 672s # Start of clear-fd tests 672s # Start of subprocess tests 672s # End of subprocess tests 672s # End of clear-fd tests 672s # End of fileutils tests 672s ok - glib/fileutils.test 672s # Running test: glib/utils-c-99.test 672s TAP version 13 672s # random seed: R02S6b1b941fb21c47291709ccd02d905bce 672s 1..40 672s # Start of utils tests 672s ok 1 /utils/language-names 672s ok 2 /utils/locale-variants 672s ok 3 /utils/version 672s ok 4 /utils/appname 672s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 672s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 672s ok 5 /utils/prgname-thread-safety 672s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 672s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 672s ok 6 /utils/tmpdir 672s ok 7 /utils/basic_bits 672s ok 8 /utils/bits 672s ok 9 /utils/swap 672s ok 10 /utils/find-program 672s ok 11 /utils/find-program-for-path 672s ok 12 /utils/debug 672s ok 13 /utils/codeset 672s ok 14 /utils/codeset2 672s ok 15 /utils/console-charset 672s ok 16 /utils/gettext 672s ok 17 /utils/username 672s ok 18 /utils/realname 672s ok 19 /utils/hostname 672s ok 20 /utils/xdgdirs 672s ok 21 /utils/specialdir 672s # NAME: Ubuntu 672s ok 22 /utils/os-info 672s ok 23 /utils/clear-pointer 672s ok 24 /utils/clear-pointer-cast 672s ok 25 /utils/take-pointer 672s ok 26 /utils/clear-source 672s ok 27 /utils/misc-mem 672s # /utils/aligned-mem summary: Aligned memory allocator 672s # Alignment must not be zero 672s # Alignment must be a power of two 672s # Alignment must be a multiple of sizeof(void*) 672s ok 28 /utils/aligned-mem 672s # /utils/free-sized summary: Check that g_free_sized() works 672s ok 29 /utils/free-sized 672s ok 30 /utils/nullify 672s ok 31 /utils/atexit 672s ok 32 /utils/check-setuid 672s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 672s ok 33 /utils/int-limits 672s ok 34 /utils/clear-list 672s ok 35 /utils/clear-slist 672s # Start of specialdir tests 672s ok 36 /utils/specialdir/desktop 672s # End of specialdir tests 672s # Start of clear-pointer tests 672s ok 37 /utils/clear-pointer/side-effects 672s # End of clear-pointer tests 672s # Start of aligned-mem tests 672s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 672s ok 38 /utils/aligned-mem/alignment 672s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 672s ok 39 /utils/aligned-mem/zeroed 672s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 672s ok 40 /utils/aligned-mem/free-sized 672s # Start of subprocess tests 672s # End of subprocess tests 672s # End of aligned-mem tests 672s # End of utils tests 672s ok - glib/utils-c-99.test 672s # Running test: glib/cond.test 672s TAP version 13 672s # random seed: R02S780956a9b7082eae4e2e981db98fb659 672s 1..4 672s # Start of thread tests 672s ok 1 /thread/cond1 672s ok 2 /thread/cond2 672s # Start of cond tests 673s ok 3 /thread/cond/wait-until 673s # slow test /thread/cond/wait-until executed in 1.02 secs 673s # Start of wait-until tests 673s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 673s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 674s ok 4 /thread/cond/wait-until/contended-and-interrupted 674s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 674s # End of wait-until tests 674s # End of cond tests 674s # End of thread tests 674s ok - glib/cond.test 674s # Running test: glib/thread-pool-slow.test 674s TAP version 13 674s # random seed: R02Sf59640131bfa4e2c1649bc28dafabcdc 674s 1..7 674s # Start of threadpool tests 674s ok 1 /threadpool/functions 675s ok 2 /threadpool/stop-unused 675s # slow test /threadpool/stop-unused executed in 0.51 secs 675s ok 3 /threadpool/pools 675s # [unsorted] ===> pushed new thread with id:22, number of threads:1, unprocessed:0 675s # [unsorted] ===> pushed new thread with id:31, number of threads:2, unprocessed:1 675s # [unsorted] ===> pushed new thread with id:27, number of threads:3, unprocessed:2 675s # [unsorted] ===> pushed new thread with id:72, number of threads:4, unprocessed:3 675s # [unsorted] ===> pushed new thread with id:63, number of threads:5, unprocessed:4 675s # [unsorted] ===> pushed new thread with id:75, number of threads:6, unprocessed:5 675s # [unsorted] ===> pushed new thread with id:70, number of threads:7, unprocessed:6 675s # [unsorted] ===> pushed new thread with id:57, number of threads:8, unprocessed:7 675s # [unsorted] ===> pushed new thread with id:82, number of threads:9, unprocessed:8 675s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:9 675s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:10 675s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:11 675s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:12 675s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:13 675s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:14 675s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:15 675s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:16 675s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:17 675s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:18 675s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:19 675s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:20 675s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:21 675s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:22 675s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:23 675s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:24 675s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:25 675s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:26 675s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:27 675s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:28 675s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:29 675s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:30 675s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:31 675s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:32 675s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:33 675s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:34 675s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:35 675s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:36 675s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:37 675s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:38 675s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:39 675s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:40 675s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:41 675s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:42 675s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:43 675s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:44 675s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:45 675s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:46 675s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:47 675s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:48 675s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:49 675s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:50 675s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:51 675s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:52 675s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:53 675s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:54 675s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:55 675s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:56 675s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:57 675s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:58 675s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:59 675s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:60 675s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:61 675s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:62 675s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:63 675s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:64 675s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:65 675s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:66 675s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:67 675s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:68 675s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:69 675s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:70 675s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:71 675s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:72 675s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:73 675s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:74 675s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:75 675s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:76 675s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:77 675s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:78 675s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:79 675s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:80 675s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:81 675s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:82 675s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:83 675s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:84 675s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:85 675s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:86 675s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:87 675s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:88 675s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:89 675s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:90 675s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:91 675s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:92 675s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:93 675s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:94 675s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:95 675s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:96 675s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:97 675s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:98 675s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:99 675s ok 4 /threadpool/no-sort 675s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:1 675s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:2 675s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:3 675s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:4 675s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:5 675s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:6 675s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:7 675s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:8 675s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:9 675s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:10 675s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:11 675s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:12 675s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:13 675s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:14 675s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:15 675s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:16 675s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:17 675s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:18 675s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:19 675s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:20 675s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:21 675s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:22 675s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:23 675s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:24 675s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:25 675s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:26 675s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:27 675s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:28 675s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:29 675s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:30 675s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:31 675s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:32 675s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:33 675s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:34 675s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:35 675s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:36 675s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:37 675s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:38 675s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:39 675s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:40 675s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:41 675s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:42 675s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:43 675s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:44 675s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:45 675s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:46 675s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:47 675s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:48 675s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:49 675s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:50 675s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:51 675s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:52 675s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:53 675s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:54 675s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:55 675s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:56 675s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:57 675s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:58 675s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:59 675s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:60 675s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:61 675s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:62 675s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:63 675s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:64 675s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:65 675s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:66 675s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:67 675s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:68 675s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:69 675s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:70 675s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:71 675s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:72 675s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:73 675s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:74 675s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:75 675s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:76 675s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:77 675s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:78 675s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:79 675s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:80 675s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:81 675s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:82 675s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:83 675s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:84 675s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:85 675s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:86 675s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:87 675s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:88 675s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:89 675s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:90 675s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:91 675s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:92 675s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:93 675s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:94 675s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:95 675s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:96 675s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:97 675s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:98 675s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:99 675s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:100 675s # Starting thread pool processing 675s ok 5 /threadpool/sort 675s ok 6 /threadpool/stop-unused-multiple 675s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 675s # Pool idle thread count: 0, unprocessed jobs: 40 676s # Pool idle thread count: 0, unprocessed jobs: 0 676s # Pool idle thread count: 0, unprocessed jobs: 0 676s # Executing: glib/thread-pool-slow.test 676s # Pool idle thread count: 10, unprocessed jobs: 0 676s # Pool idle thread count: 10, unprocessed jobs: 0 677s # Pool idle thread count: 10, unprocessed jobs: 0 677s # Pool idle thread count: 10, unprocessed jobs: 0 677s # Pool idle thread count: 10, unprocessed jobs: 0 677s # Pool idle thread count: 10, unprocessed jobs: 0 678s # Pool idle thread count: 10, unprocessed jobs: 0 678s # Pool idle thread count: 10, unprocessed jobs: 0 678s # Pool idle thread count: 10, unprocessed jobs: 0 678s # Pool idle thread count: 10, unprocessed jobs: 0 679s # Pool idle thread count: 10, unprocessed jobs: 0 679s # Pool idle thread count: 10, unprocessed jobs: 0 679s # Pool idle thread count: 10, unprocessed jobs: 0 679s # Pool idle thread count: 10, unprocessed jobs: 0 680s # Pool idle thread count: 10, unprocessed jobs: 0 680s # Pool idle thread count: 10, unprocessed jobs: 0 680s # Pool idle thread count: 10, unprocessed jobs: 0 680s # Pool idle thread count: 10, unprocessed jobs: 0 681s # Pool idle thread count: 10, unprocessed jobs: 0 681s # Pool idle thread count: 10, unprocessed jobs: 0 681s # Executing: glib/thread-pool-slow.test 681s # Pool idle thread count: 10, unprocessed jobs: 0 681s # Pool idle thread count: 10, unprocessed jobs: 0 682s # Pool idle thread count: 10, unprocessed jobs: 0 682s # Pool idle thread count: 10, unprocessed jobs: 0 682s # Pool idle thread count: 10, unprocessed jobs: 0 682s # Pool idle thread count: 10, unprocessed jobs: 0 683s # Pool idle thread count: 10, unprocessed jobs: 0 683s # Pool idle thread count: 10, unprocessed jobs: 0 683s # Pool idle thread count: 10, unprocessed jobs: 0 683s # Pool idle thread count: 10, unprocessed jobs: 0 684s # Pool idle thread count: 10, unprocessed jobs: 0 684s # Pool idle thread count: 10, unprocessed jobs: 0 684s # Pool idle thread count: 8, unprocessed jobs: 0 684s # Pool idle thread count: 8, unprocessed jobs: 0 684s # Pool idle thread count: 8, unprocessed jobs: 0 684s # Pool idle thread count: 8, unprocessed jobs: 0 685s # Pool idle thread count: 10, unprocessed jobs: 0 685s # Pool idle thread count: 10, unprocessed jobs: 0 685s # Pool idle thread count: 10, unprocessed jobs: 0 685s # Pool idle thread count: 10, unprocessed jobs: 0 686s # Pool idle thread count: 10, unprocessed jobs: 0 686s # Pool idle thread count: 10, unprocessed jobs: 0 686s # Executing: glib/thread-pool-slow.test 686s # Pool idle thread count: 2, unprocessed jobs: 0 686s # Pool idle thread count: 2, unprocessed jobs: 0 687s # Pool idle thread count: 2, unprocessed jobs: 0 687s # Pool idle thread count: 2, unprocessed jobs: 0 687s # Pool idle thread count: 2, unprocessed jobs: 0 687s # Pool idle thread count: 2, unprocessed jobs: 0 688s # Pool idle thread count: 2, unprocessed jobs: 0 688s # Pool idle thread count: 2, unprocessed jobs: 0 688s # Pool idle thread count: 2, unprocessed jobs: 0 688s # Pool idle thread count: 2, unprocessed jobs: 0 689s # Pool idle thread count: 2, unprocessed jobs: 0 689s # Pool idle thread count: 2, unprocessed jobs: 0 689s # Pool idle thread count: 2, unprocessed jobs: 0 689s # Pool idle thread count: 2, unprocessed jobs: 0 690s # Pool idle thread count: 2, unprocessed jobs: 0 690s # Pool idle thread count: 2, unprocessed jobs: 0 690s # Pool idle thread count: 2, unprocessed jobs: 0 690s # Pool idle thread count: 2, unprocessed jobs: 0 691s # Pool idle thread count: 2, unprocessed jobs: 0 691s # Pool idle thread count: 2, unprocessed jobs: 0 691s # Executing: glib/thread-pool-slow.test 691s # Pool idle thread count: 2, unprocessed jobs: 0 691s # Pool idle thread count: 2, unprocessed jobs: 0 692s # Pool idle thread count: 2, unprocessed jobs: 0 692s # Pool idle thread count: 2, unprocessed jobs: 0 692s # Pool idle thread count: 2, unprocessed jobs: 0 692s # Pool idle thread count: 2, unprocessed jobs: 0 693s # Pool idle thread count: 2, unprocessed jobs: 0 693s # Pool idle thread count: 2, unprocessed jobs: 0 693s # Pool idle thread count: 2, unprocessed jobs: 0 693s # Pool idle thread count: 2, unprocessed jobs: 0 694s # Pool idle thread count: 2, unprocessed jobs: 0 694s # Pool idle thread count: 2, unprocessed jobs: 0 694s # Pool idle thread count: 2, unprocessed jobs: 0 694s # Pool idle thread count: 2, unprocessed jobs: 0 695s ok 7 /threadpool/idle-time 695s # slow test /threadpool/idle-time executed in 19.54 secs 695s # End of threadpool tests 695s ok - glib/thread-pool-slow.test 695s # Running test: glib/gdbus-connection-slow.test 695s TAP version 13 695s # random seed: R02S08b86aa58c8c51babecfcd2b59318c73 695s 1..2 695s # Start of gdbus tests 695s # Start of connection tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/flush/.dirs/runtime 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s ok 1 /gdbus/connection/flush 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_LF6ZK2/gdbus/connection/large_message/.dirs/runtime 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 2 /gdbus/connection/large_message 696s # End of connection tests 696s # End of gdbus tests 696s ok - glib/gdbus-connection-slow.test 696s # Running test: glib/mainloop.test 696s TAP version 13 696s # random seed: R02Sfbb8a7084d782398d760086de143d95e 696s 1..45 696s # Start of maincontext tests 696s ok 1 /maincontext/basic 696s # Add same-priority sources: 17 696s # Find each source: 1 696s # Remove in random order: 13 696s ok 2 /maincontext/nsources_same_priority 696s # Add different-priority sources: 13 696s # Find each source: 1 696s # Remove in random order: 18 696s ok 3 /maincontext/nsources_different_priority 696s # Add sources from threads: 24 696s # Remove sources from threads: 12 696s ok 4 /maincontext/nsources_threadpool 696s ok 5 /maincontext/source_finalization 696s # /maincontext/idle-once summary: Test g_idle_add_once() works 696s ok 6 /maincontext/idle-once 696s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 696s ok 7 /maincontext/timeout-once 696s # Start of source_finalization_from_source tests 696s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 8 /maincontext/source_finalization_from_source/0 696s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 9 /maincontext/source_finalization_from_source/1 696s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 10 /maincontext/source_finalization_from_source/2 696s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 11 /maincontext/source_finalization_from_source/3 696s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 12 /maincontext/source_finalization_from_source/4 696s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 13 /maincontext/source_finalization_from_source/5 696s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 14 /maincontext/source_finalization_from_source/6 696s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 15 /maincontext/source_finalization_from_source/7 696s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 16 /maincontext/source_finalization_from_source/8 696s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 696s ok 17 /maincontext/source_finalization_from_source/9 696s # End of source_finalization_from_source tests 696s # Start of source_finalization_from_dispatch tests 696s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 696s ok 18 /maincontext/source_finalization_from_dispatch/0 696s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 696s ok 19 /maincontext/source_finalization_from_dispatch/1 696s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 696s ok 20 /maincontext/source_finalization_from_dispatch/2 696s # End of source_finalization_from_dispatch tests 696s # End of maincontext tests 696s # Start of mainloop tests 696s ok 21 /mainloop/basic 696s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 696s ok 23 /mainloop/priorities 696s # Executing: glib/mainloop.test 696s ok 24 /mainloop/invoke 696s # slow test /mainloop/invoke executed in 0.50 secs 698s ok 25 /mainloop/child_sources 698s # slow test /mainloop/child_sources executed in 1.23 secs 700s ok 26 /mainloop/recursive_child_sources 700s # slow test /mainloop/recursive_child_sources executed in 2.27 secs 700s ok 27 /mainloop/recursive_loop_child_sources 700s ok 28 /mainloop/swapping_child_sources 700s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 700s ok 29 /mainloop/blocked_child_sources 701s ok 30 /mainloop/source_time 701s # slow test /mainloop/source_time executed in 1.00 secs 701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 701s ok 31 /mainloop/overflow 701s # Executing: glib/mainloop.test 701s ok 32 /mainloop/ready-time 701s # slow test /mainloop/ready-time executed in 0.50 secs 701s ok 33 /mainloop/wakeup 701s ok 34 /mainloop/remove-invalid 701s ok 35 /mainloop/unref-while-pending 702s ok 36 /mainloop/unix-fd 702s # slow test /mainloop/unix-fd executed in 0.76 secs 702s ok 37 /mainloop/unix-fd-source 702s ok 38 /mainloop/source-unix-fd-api 702s ok 39 /mainloop/wait 702s ok 40 /mainloop/unix-file-poll 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 702s ok 41 /mainloop/unix-fd-priority 702s ok 42 /mainloop/nfds 702s ok 43 /mainloop/steal-fd 702s # Start of ownerless-polling tests 702s ok 44 /mainloop/ownerless-polling/attach-first 702s ok 45 /mainloop/ownerless-polling/pop-first 702s # End of ownerless-polling tests 702s # End of mainloop tests 702s ok - glib/mainloop.test 702s # Running test: glib/portal-support-flatpak-none.test 702s TAP version 13 702s # random seed: R02S5d8c65bd12c98fbe5795ad30183bc300 702s 1..1 702s # Start of portal-support tests 702s # Start of flatpak tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/runtime 702s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_SUBTK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 702s ok 1 /portal-support/flatpak/none 702s # End of flatpak tests 702s # End of portal-support tests 702s ok - glib/portal-support-flatpak-none.test 702s # Running test: glib/asyncqueue.test 702s TAP version 13 702s # random seed: R02Sf2380a57e7835ebb45be651d56dda989 702s 1..7 702s # Start of asyncqueue tests 702s ok 1 /asyncqueue/basics 702s ok 2 /asyncqueue/sort 702s ok 3 /asyncqueue/destroy 703s ok 4 /asyncqueue/threads 703s ok 5 /asyncqueue/timed 703s ok 6 /asyncqueue/remove 703s ok 7 /asyncqueue/push_front 703s # End of asyncqueue tests 703s ok - glib/asyncqueue.test 703s # Running test: glib/override.test 703s TAP version 13 703s # random seed: R02Sd8a2a63ca1c49443ec283684f8420e45 703s 1..1 703s # Start of gobject tests 703s # *** emitting foo on a TestA instance 703s # Expecting: TestA::foo,TestI::foo 703s # Got: TestA::foo,TestI::foo 703s # *** emitting bar on a TestA instance 703s # Expecting: TestA::bar 703s # Got: TestA::bar 703s # *** emitting baz on a TestA instance 703s # Expecting: TestA::baz 703s # Got: TestA::baz 703s # *** emitting foo on a TestB instance 703s # Expecting: TestB::foo,TestA::foo,TestI::foo 703s # Got: TestB::foo,TestA::foo,TestI::foo 703s # *** emitting bar on a TestB instance 703s # Expecting: TestB::bar,TestA::bar 703s # Got: TestB::bar,TestA::bar 703s # *** emitting baz on a TestB instance 703s # Expecting: TestB::baz,TestA::baz 703s # Got: TestB::baz,TestA::baz 703s # *** emitting foo on a TestC instance 703s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 703s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 703s # *** emitting bar on a TestC instance 703s # Expecting: TestC::bar,TestB::bar,TestA::bar 703s # Got: TestC::bar,TestB::bar,TestA::bar 703s # *** emitting baz on a TestC instance 703s # Expecting: TestC::baz,TestB::baz,TestA::baz 703s # Got: TestC::baz,TestB::baz,TestA::baz 703s ok 1 /gobject/override 703s # End of gobject tests 703s ok - glib/override.test 703s # Running test: glib/relation.test 703s TAP version 13 703s # random seed: R02Sada8f44c42d6ff07700d4183d92f9707 703s 1..1 703s # Start of glib tests 703s ok 1 /glib/relation 703s # End of glib tests 703s ok - glib/relation.test 703s # Running test: glib/642026.test 703s TAP version 13 703s # random seed: R02Sd547c03f3a70bd67ec2bee0b419aef93 703s 1..1 703s # Start of glib tests 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 703s ok 1 /glib/642026 703s # End of glib tests 703s ok - glib/642026.test 703s # Running test: glib/simple-async-result.test 703s TAP version 13 703s # random seed: R02Sa085eee35d395256eecad92bc384db98 703s 1..2 703s # Start of gio tests 703s # Start of simple-async-result tests 703s ok 1 /gio/simple-async-result/test 703s # GLib-GIO-DEBUG: GTask 0x2aa3026a6e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 703s ok 2 /gio/simple-async-result/valid 703s # End of simple-async-result tests 703s # End of gio tests 703s ok - glib/simple-async-result.test 703s # Running test: glib/buffered-output-stream.test 703s TAP version 13 703s # random seed: R02S4e9ea9445c59b00f168d5cda3cc245b5 703s 1..5 703s # Start of buffered-output-stream tests 703s ok 1 /buffered-output-stream/write 703s ok 2 /buffered-output-stream/grow 703s ok 3 /buffered-output-stream/seek 703s ok 4 /buffered-output-stream/truncate 703s # End of buffered-output-stream tests 703s # Start of filter-output-stream tests 703s ok 5 /filter-output-stream/close 703s # End of filter-output-stream tests 703s ok - glib/buffered-output-stream.test 703s # Running test: glib/base64.test 703s TAP version 13 703s # random seed: R02Sfd0f7c052ba4ee18ba024d6b454aee9d 703s 1..28 703s # Start of base64 tests 703s ok 1 /base64/encode 703s ok 2 /base64/decode 703s ok 3 /base64/decode-inplace 703s ok 4 /base64/encode-decode 703s # Start of full tests 703s ok 5 /base64/full/1 703s ok 6 /base64/full/2 703s ok 7 /base64/full/3 703s ok 8 /base64/full/4 703s # End of full tests 703s # Start of encode tests 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 703s ok 9 /base64/encode/empty 703s # Start of incremental tests 703s # Start of small-block tests 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 703s ok 10 /base64/encode/incremental/small-block/1 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 703s ok 11 /base64/encode/incremental/small-block/2 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 703s ok 12 /base64/encode/incremental/small-block/3 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 703s ok 13 /base64/encode/incremental/small-block/4 703s # End of small-block tests 703s # End of incremental tests 703s # End of encode tests 703s # Start of incremental tests 703s # Start of nobreak tests 703s ok 14 /base64/incremental/nobreak/1 703s ok 15 /base64/incremental/nobreak/2 703s ok 16 /base64/incremental/nobreak/3 703s ok 17 /base64/incremental/nobreak/4-a 703s ok 18 /base64/incremental/nobreak/4-b 703s ok 19 /base64/incremental/nobreak/4-c 703s # End of nobreak tests 703s # Start of break tests 703s ok 20 /base64/incremental/break/1 703s ok 21 /base64/incremental/break/2 703s ok 22 /base64/incremental/break/3 703s # End of break tests 703s # Start of smallblock tests 703s ok 23 /base64/incremental/smallblock/1 703s ok 24 /base64/incremental/smallblock/2 703s ok 25 /base64/incremental/smallblock/3 703s ok 26 /base64/incremental/smallblock/4 703s # End of smallblock tests 703s # End of incremental tests 703s # Start of decode tests 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 703s ok 27 /base64/decode/empty 703s # End of decode tests 703s # Start of encode-decode tests 703s # Vector 0: 703s # Vector 1: f 703s # Vector 2: fo 703s # Vector 3: foo 703s # Vector 4: foob 703s # Vector 5: fooba 703s # Vector 6: foobar 703s ok 28 /base64/encode-decode/rfc4648 703s # End of encode-decode tests 703s # End of base64 tests 703s ok - glib/base64.test 703s # Running test: glib/hash.test 703s TAP version 13 703s # random seed: R02S1be4217b3fe4865de2adcde0a5f894bc 703s 1..34 703s # Start of hash tests 703s ok 1 /hash/misc 703s ok 2 /hash/one 703s ok 3 /hash/honeyman 703s ok 4 /hash/direct 703s ok 5 /hash/direct2 703s ok 6 /hash/int 703s ok 7 /hash/int64 703s ok 8 /hash/double 703s ok 9 /hash/string 703s ok 10 /hash/set 703s ok 11 /hash/set-ref 703s ok 12 /hash/ref 703s ok 13 /hash/remove-all 703s ok 14 /hash/recursive-remove-all 703s ok 15 /hash/find 703s ok 16 /hash/foreach 703s ok 17 /hash/foreach-steal 703s ok 18 /hash/steal-extended 703s ok 19 /hash/steal-all-keys 703s ok 20 /hash/steal-all-values 703s ok 21 /hash/lookup-extended 703s ok 22 /hash/new-similar 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 703s ok 23 /hash/lookup-null-key 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 703s ok 24 /hash/destroy-modify 703s ok 25 /hash/consistency 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 703s ok 26 /hash/iter-replace 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 703s ok 27 /hash/set-insert-corruption 703s ok 28 /hash/set-to-strv 703s ok 29 /hash/get-keys-as-ptr-array 703s ok 30 /hash/get-values-as-ptr-array 703s ok 31 /hash/primes 703s # Start of int64 tests 703s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 703s ok 32 /hash/int64/collisions 703s # End of int64 tests 703s # Start of double tests 703s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 703s ok 33 /hash/double/collisions 703s # End of double tests 703s # Start of recursive-remove-all tests 703s # End of recursive-remove-all tests 703s # Start of steal-extended tests 703s ok 34 /hash/steal-extended/optional 703s # End of steal-extended tests 703s # End of hash tests 703s ok - glib/hash.test 703s # Running test: glib/private.test 703s TAP version 13 703s # random seed: R02Sc272b6de1a1a1aefe9b1337b48a78126 703s 1..8 703s # Start of thread tests 703s ok 1 /thread/private1 704s ok 2 /thread/private2 704s # slow test /thread/private2 executed in 1.13 secs 704s ok 3 /thread/private3 704s ok 4 /thread/staticprivate1 704s ok 5 /thread/staticprivate2 704s ok 6 /thread/staticprivate3 705s ok 7 /thread/staticprivate4 705s # slow test /thread/staticprivate4 executed in 1.16 secs 705s ok 8 /thread/staticprivate5 705s # End of thread tests 705s ok - glib/private.test 705s # Running test: glib/giomodule.test 705s TAP version 13 705s # random seed: R02Sbdd0fc1779ee253c1f94037b514e3ebd 705s 1..3 705s # Start of giomodule tests 705s ok 1 /giomodule/extension-point 705s ok 2 /giomodule/module-scan-all 705s ok 3 /giomodule/module-scan-all-with-scope 705s # End of giomodule tests 705s ok - glib/giomodule.test 705s # Running test: glib/power-profile-monitor-dbus.test 706s TAP version 13 706s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 706s 1..1 706s ok - glib/power-profile-monitor-dbus.test 706s # Running test: glib/genmarshal.py.test 706s TAP version 13 706s ok 1 __main__.TestGenmarshal.test_empty_list 706s # tmpdir: /tmp/tmpnr0d14ab 706s # genmarshal: /usr/bin/glib-genmarshal 706s # /tmp/tmpnr0d14ab/tmplzblr5gx.list: 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnr0d14ab/tmplzblr5gx.list', '--header', '--quiet'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # 706s # #include 706s # 706s # G_BEGIN_DECLS 706s # 706s # 706s # G_END_DECLS 706s # 706s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnr0d14ab/tmplzblr5gx.list', '--body', '--quiet'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #include 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s ok 2 __main__.TestGenmarshal.test_help 706s # tmpdir: /tmp/tmp17k5kuqn 706s # genmarshal: /usr/bin/glib-genmarshal 706s # Running: ['/usr/bin/glib-genmarshal', '--help'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 706s # [--internal] [--valist-marshallers] [-v] 706s # [--g-fatal-warnings] [--include-header [HEADER]] 706s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 706s # [--prototypes] [--header] [--body] 706s # [--stdinc | --nostdinc] [--quiet | --verbose] 706s # [FILE ...] 706s # 706s # Generate signal marshallers for GObject 706s # 706s # positional arguments: 706s # FILE Files with lists of marshallers to generate, or "-" 706s # for standard input 706s # 706s # options: 706s # -h, --help show this help message and exit 706s # --prefix STRING Specify marshaller prefix 706s # --output FILE Write output into the specified file 706s # --skip-source Skip source location comments 706s # --internal Mark generated functions as internal 706s # --valist-marshallers Generate va_list marshallers 706s # -v, --version Print version information, and exit 706s # --g-fatal-warnings Make warnings fatal 706s # --include-header [HEADER] 706s # Include the specified header in the body 706s # --pragma-once Use "pragma once" as the inclusion guard 706s # -D CPP_DEFINES Pre-processor define 706s # -U CPP_UNDEFINES Pre-processor undefine 706s # --prototypes Generate the marshallers prototype in the C code 706s # --header Generate C headers 706s # --body Generate C code 706s # --stdinc Include standard marshallers 706s # --nostdinc Use standard marshallers 706s # --quiet Only print warnings and errors 706s # --verbose Be verbose, and include debugging information 706s ok 3 __main__.TestGenmarshal.test_no_args 706s # tmpdir: /tmp/tmps9hgfnwq 706s # genmarshal: /usr/bin/glib-genmarshal 706s # Running: ['/usr/bin/glib-genmarshal'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # Output: 706s # Executing: glib/genmarshal.py.test 706s ok 4 __main__.TestGenmarshal.test_void_boolean 706s # tmpdir: /tmp/tmptuoysjzm 706s # genmarshal: /usr/bin/glib-genmarshal 706s # /tmp/tmptuoysjzm/tmp5m20fsy4.list: VOID:BOOLEAN 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptuoysjzm/tmp5m20fsy4.list', '--header', '--quiet'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # 706s # #include 706s # 706s # G_BEGIN_DECLS 706s # 706s # /* VOID:BOOLEAN (/tmp/tmptuoysjzm/tmp5m20fsy4.list:1) */ 706s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 706s # 706s # 706s # G_END_DECLS 706s # 706s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptuoysjzm/tmp5m20fsy4.list', '--body', '--quiet'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #include 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 706s # tmpdir: /tmp/tmp2yi7tuw1 706s # genmarshal: /usr/bin/glib-genmarshal 706s # /tmp/tmp2yi7tuw1/tmpcavpi74u.list: VOID:BOOLEAN,INT64 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2yi7tuw1/tmpcavpi74u.list', '--header', '--quiet'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # 706s # #include 706s # 706s # G_BEGIN_DECLS 706s # 706s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2yi7tuw1/tmpcavpi74u.list:1) */ 706s # extern 706s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 706s # GValue *return_value, 706s # guint n_param_values, 706s # const GValue *param_values, 706s # gpointer invocation_hint, 706s # gpointer marshal_data); 706s # 706s # 706s # G_END_DECLS 706s # 706s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2yi7tuw1/tmpcavpi74u.list', '--body', '--quiet'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #include 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2yi7tuw1/tmpcavpi74u.list:1) */ 706s # void 706s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 706s # GValue *return_value G_GNUC_UNUSED, 706s # guint n_param_values, 706s # const GValue *param_values, 706s # gpointer invocation_hint G_GNUC_UNUSED, 706s # gpointer marshal_data) 706s # { 706s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 706s # gboolean arg1, 706s # gint64 arg2, 706s # gpointer data2); 706s # GCClosure *cc = (GCClosure *) closure; 706s # gpointer data1, data2; 706s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 706s # 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 706s # 706s # callback (data1, 706s # g_marshal_value_peek_boolean (param_values + 1), 706s # g_marshal_value_peek_int64 (param_values + 2), 706s # data2); 706s # } 706s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 706s # tmpdir: /tmp/tmpza6y8zwe 706s # genmarshal: /usr/bin/glib-genmarshal 706s # /tmp/tmpza6y8zwe/tmpcpze_07x.list: VOID:PARAM 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpza6y8zwe/tmpcpze_07x.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # 706s # G_BEGIN_DECLS 706s # 706s # /* VOID:PARAM (/tmp/tmpza6y8zwe/tmpcpze_07x.list:1) */ 706s # extern 706s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 706s # GValue *return_value, 706s # guint n_param_values, 706s # const GValue *param_values, 706s # gpointer invocation_hint, 706s # gpointer marshal_data); 706s # extern 706s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 706s # GValue *return_value, 706s # gpointer instance, 706s # va_list args, 706s # gpointer marshal_data, 706s # int n_params, 706s # GType *param_types); 706s # 706s # 706s # G_END_DECLS 706s # 706s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpza6y8zwe/tmpcpze_07x.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # /* VOID:PARAM (/tmp/tmpza6y8zwe/tmpcpze_07x.list:1) */ 706s # void 706s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 706s # GValue *return_value G_GNUC_UNUSED, 706s # guint n_param_values, 706s # const GValue *param_values, 706s # gpointer invocation_hint G_GNUC_UNUSED, 706s # gpointer marshal_data) 706s # { 706s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 706s # gpointer arg1, 706s # gpointer data2); 706s # GCClosure *cc = (GCClosure *) closure; 706s # gpointer data1, data2; 706s # GMarshalFunc_VOID__PARAM callback; 706s # 706s # g_return_if_fail (n_param_values == 2); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 706s # 706s # callback (data1, 706s # g_marshal_value_peek_param (param_values + 1), 706s # data2); 706s # } 706s # 706s # void 706s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 706s # GValue *return_value G_GNUC_UNUSED, 706s # gpointer instance, 706s # va_list args, 706s # gpointer marshal_data, 706s # int n_params, 706s # GType *param_types) 706s # { 706s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 706s # gpointer arg1, 706s # gpointer data2); 706s # GCClosure *cc = (GCClosure *) closure; 706s # gpointer data1, data2; 706s # GMarshalFunc_VOID__PARAM callback; 706s # gpointer arg0; 706s # va_list args_copy; 706s # 706s # va_copy (args_copy, args); 706s # arg0 = (gpointer) va_arg (args_copy, gpointer); 706s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 706s # arg0 = g_param_spec_ref (arg0); 706s # va_end (args_copy); 706s # 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = instance; 706s # } 706s # else 706s # { 706s # data1 = instance; 706s # data2 = closure->data; 706s # } 706s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 706s # 706s # callback (data1, 706s # arg0, 706s # data2); 706s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 706s # g_param_spec_unref (arg0); 706s # } 706s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 706s # tmpdir: /tmp/tmpw5cubkd3 706s # genmarshal: /usr/bin/glib-genmarshal 706s # /tmp/tmpw5cubkd3/tmpun8z0fx5.list: VOID:STRING 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw5cubkd3/tmpun8z0fx5.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # 706s # G_BEGIN_DECLS 706s # 706s # /* VOID:STRING (/tmp/tmpw5cubkd3/tmpun8z0fx5.list:1) */ 706s # extern 706s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 706s # GValue *return_value, 706s # guint n_param_values, 706s # const GValue *param_values, 706s # gpointer invocation_hint, 706s # gpointer marshal_data); 706s # extern 706s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 706s # GValue *return_value, 706s # gpointer instance, 706s # va_list args, 706s # gpointer marshal_data, 706s # int n_params, 706s # GType *param_types); 706s # 706s # 706s # G_END_DECLS 706s # 706s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw5cubkd3/tmpun8z0fx5.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # /* VOID:STRING (/tmp/tmpw5cubkd3/tmpun8z0fx5.list:1) */ 706s # void 706s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 706s # GValue *return_value G_GNUC_UNUSED, 706s # guint n_param_values, 706s # const GValue *param_values, 706s # gpointer invocation_hint G_GNUC_UNUSED, 706s # gpointer marshal_data) 706s # { 706s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 706s # gpointer arg1, 706s # gpointer data2); 706s # GCClosure *cc = (GCClosure *) closure; 706s # gpointer data1, data2; 706s # GMarshalFunc_VOID__STRING callback; 706s # 706s # g_return_if_fail (n_param_values == 2); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 706s # 706s # callback (data1, 706s # g_marshal_value_peek_string (param_values + 1), 706s # data2); 706s # } 706s # 706s # void 706s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 706s # GValue *return_value G_GNUC_UNUSED, 706s # gpointer instance, 706s # va_list args, 706s # gpointer marshal_data, 706s # int n_params, 706s # GType *param_types) 706s # { 706s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 706s # gpointer arg1, 706s # gpointer data2); 706s # GCClosure *cc = (GCClosure *) closure; 706s # gpointer data1, data2; 706s # GMarshalFunc_VOID__STRING callback; 706s # gpointer arg0; 706s # va_list args_copy; 706s # 706s # va_copy (args_copy, args); 706s # arg0 = (gpointer) va_arg (args_copy, gpointer); 706s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 706s # arg0 = g_strdup (arg0); 706s # va_end (args_copy); 706s # 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = instance; 706s # } 706s # else 706s # { 706s # data1 = instance; 706s # data2 = closure->data; 706s # } 706s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 706s # 706s # callback (data1, 706s # arg0, 706s # data2); 706s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 706s # g_free (arg0); 706s # } 706s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 706s # tmpdir: /tmp/tmpjil_hwpw 706s # genmarshal: /usr/bin/glib-genmarshal 706s # /tmp/tmpjil_hwpw/tmp5zlb9yvj.list: VOID:VARIANT 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjil_hwpw/tmp5zlb9yvj.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 706s # 706s # G_BEGIN_DECLS 706s # 706s # /* VOID:VARIANT (/tmp/tmpjil_hwpw/tmp5zlb9yvj.list:1) */ 706s # extern 706s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 706s # GValue *return_value, 706s # guint n_param_values, 706s # const GValue *param_values, 706s # gpointer invocation_hint, 706s # gpointer marshal_data); 706s # extern 706s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 706s # GValue *return_value, 706s # gpointer instance, 706s # va_list args, 706s # gpointer marshal_data, 706s # int n_params, 706s # GType *param_types); 706s # 706s # 706s # G_END_DECLS 706s # 706s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 706s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjil_hwpw/tmp5zlb9yvj.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 706s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-NUZIWBKfRt,guid=84a2584db04122a01db8e3da65fa0945', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bRsZmz/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.2l4uU1qHnW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9eix6h/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bRsZmz/wrapper.sh --artifacts=/tmp/autopkgtest.bRsZmz/installed-tests-artifacts --chdir=/tmp/autopkgtest.bRsZmz/build.BmY/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.bRsZmz/installed-tests-stderr --stdout=/tmp/autopkgtest.bRsZmz/installed-tests-stdout --tmp=/tmp/autopkgtest.bRsZmz/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests -- /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bRsZmz/build.BmY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bRsZmz/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 706s # 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. */ 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # /* VOID:VARIANT (/tmp/tmpjil_hwpw/tmp5zlb9yvj.list:1) */ 706s # void 706s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 706s # GValue *return_value G_GNUC_UNUSED, 706s # guint n_param_values, 706s # const GValue *param_values, 706s # gpointer invocation_hint G_GNUC_UNUSED, 706s # gpointer marshal_data) 706s # { 706s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 706s # gpointer arg1, 706s # gpointer data2); 706s # GCClosure *cc = (GCClosure *) closure; 706s # gpointer data1, data2; 706s # GMarshalFunc_VOID__VARIANT callback; 706s # 706s # g_return_if_fail (n_param_values == 2); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 706s # 706s # callback (data1, 706s # g_marshal_value_peek_variant (param_values + 1), 706s # data2); 706s # } 706s # 706s # void 706s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 706s # GValue *return_value G_GNUC_UNUSED, 706s # gpointer instance, 706s # va_list args, 706s # gpointer marshal_data, 706s # int n_params, 706s # GType *param_types) 706s # { 706s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 706s # gpointer arg1, 706s # gpointer data2); 706s # GCClosure *cc = (GCClosure *) closure; 706s # gpointer data1, data2; 706s # GMarshalFunc_VOID__VARIANT callback; 706s # gpointer arg0; 706s # va_list args_copy; 706s # 706s # va_copy (args_copy, args); 706s # arg0 = (gpointer) va_arg (args_copy, gpointer); 706s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 706s # arg0 = g_variant_ref_sink (arg0); 706s # va_end (args_copy); 706s # 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = instance; 706s # } 706s # else 706s # { 706s # data1 = instance; 706s # data2 = closure->data; 706s # } 706s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 706s # 706s # callback (data1, 706s # arg0, 706s # data2); 706s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 706s # g_variant_unref (arg0); 706s # } 706s 1..8 706s ok - glib/genmarshal.py.test 706s # Running test: glib/gdbus-addresses.test 706s TAP version 13 706s # random seed: R02Se42f40b480e3f035edbd75052e1d5b01 706s 1..9 706s # Start of gdbus tests 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6VROK2/gdbus/empty-address/.dirs/runtime 706s ok 1 /gdbus/empty-address 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6VROK2/gdbus/unsupported-address/.dirs/runtime 706s ok 2 /gdbus/unsupported-address 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6VROK2/gdbus/address-parsing/.dirs/runtime 706s ok 3 /gdbus/address-parsing 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6VROK2/gdbus/unix-address/.dirs/runtime 706s ok 4 /gdbus/unix-address 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6VROK2/gdbus/nonce-tcp-address/.dirs/runtime 706s ok 5 /gdbus/nonce-tcp-address 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6VROK2/gdbus/tcp-address/.dirs/runtime 706s ok 6 /gdbus/tcp-address 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6VROK2/gdbus/autolaunch-address/.dirs/runtime 707s ok 7 /gdbus/autolaunch-address 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6VROK2/gdbus/mixed-address/.dirs/runtime 707s ok 8 /gdbus/mixed-address 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6VROK2/gdbus/escape-address/.dirs/runtime 707s ok 9 /gdbus/escape-address 707s # End of gdbus tests 707s ok - glib/gdbus-addresses.test 707s # Running test: glib/cmph-bdz.test 707s TAP version 13 707s # random seed: R02S029ff7dc1abb30de5b8ea21cfc0ef9ea 707s 1..2 707s # Start of cmph-bdz tests 707s ok 1 /cmph-bdz/search 707s ok 2 /cmph-bdz/search-packed 707s # End of cmph-bdz tests 707s ok - glib/cmph-bdz.test 707s # Running test: glib/static-link.test 707s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 707s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 707s and make sure you have glib build dependencies installed, including 707s meson. 707s ok # SKIP - glib/static-link.test 707s # Running test: glib/portal-support-none.test 707s TAP version 13 707s # random seed: R02S049cf7303f41529c12c3d5420322936b 707s 1..1 707s # Start of portal-support tests 707s ok 1 /portal-support/none 707s # End of portal-support tests 707s ok - glib/portal-support-none.test 707s # Running test: glib/error.test 707s TAP version 13 707s # random seed: R02S2cf8b2452969a2842cfc90c1199e17cc 707s 1..3 707s # Start of error tests 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_5LPPK2/error/from-errno/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_5LPPK2/error/from-errno/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_5LPPK2/error/from-errno/.dirs/system-config1:/tmp/test_error_5LPPK2/error/from-errno/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_5LPPK2/error/from-errno/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_5LPPK2/error/from-errno/.dirs/system-data1:/tmp/test_error_5LPPK2/error/from-errno/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_5LPPK2/error/from-errno/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_5LPPK2/error/from-errno/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_5LPPK2/error/from-errno/.dirs/runtime 707s ok 1 /error/from-errno 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_5LPPK2/error/from-file-error/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_5LPPK2/error/from-file-error/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_5LPPK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_5LPPK2/error/from-file-error/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_5LPPK2/error/from-file-error/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_5LPPK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_5LPPK2/error/from-file-error/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_5LPPK2/error/from-file-error/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_5LPPK2/error/from-file-error/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_5LPPK2/error/from-file-error/.dirs/runtime 707s ok 2 /error/from-file-error 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_5LPPK2/error/from-win32-error/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_5LPPK2/error/from-win32-error/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_5LPPK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_5LPPK2/error/from-win32-error/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_5LPPK2/error/from-win32-error/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_5LPPK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_5LPPK2/error/from-win32-error/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_5LPPK2/error/from-win32-error/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_5LPPK2/error/from-win32-error/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_5LPPK2/error/from-win32-error/.dirs/runtime 707s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 707s # End of error tests 707s ok - glib/error.test 707s # Running test: glib/cxx-11.test 707s TAP version 13 707s # random seed: R02S81d11dbc1710a53dbfd19adc93054905 707s 1..2 707s # Start of gtask tests 707s # 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. 707s ok 1 /gtask/name 707s # Start of name tests 707s # 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. 707s ok 2 /gtask/name/macro-wrapper 707s # End of name tests 707s # End of gtask tests 707s ok - glib/cxx-11.test 707s # Running test: glib/atomic-c-99.test 707s TAP version 13 707s # random seed: R02S682257fdc460832b4f1d924a82aa60c0 707s 1..2 707s # Start of atomic tests 707s ok 1 /atomic/types 707s ok 2 /atomic/threaded 707s # End of atomic tests 707s ok - glib/atomic-c-99.test 707s # Running test: glib/readwrite.test 707s TAP version 13 707s # random seed: R02S4ae1c0d430e0ee3d33d59d336c7d7e6c 707s 1..3 707s # Start of readwrite tests 707s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 707s ok 1 /readwrite/test_g_file_open_readwrite 707s ok 2 /readwrite/test_g_file_create_readwrite 707s ok 3 /readwrite/test_g_file_replace_readwrite 707s # End of readwrite tests 707s ok - glib/readwrite.test 707s # Running test: glib/list.test 707s TAP version 13 707s # random seed: R02S8b90886caad465f0bd2889c3b292f1b1 707s 1..20 707s # Start of list tests 707s ok 1 /list/sort 707s ok 2 /list/sort-with-data 707s ok 3 /list/insert-before-link 707s ok 4 /list/insert-sorted 707s ok 5 /list/insert-sorted-with-data 707s ok 6 /list/reverse 707s ok 7 /list/nth 707s ok 8 /list/concat 707s ok 9 /list/remove 707s ok 10 /list/remove-all 707s ok 11 /list/first-last 707s ok 12 /list/insert 707s ok 13 /list/free-full 707s ok 14 /list/copy 707s ok 15 /list/copy-deep 707s ok 16 /list/delete-link 707s ok 17 /list/prepend 707s ok 18 /list/position 707s ok 19 /list/double-free 707s # Start of sort tests 707s ok 20 /list/sort/stable 707s # End of sort tests 707s # End of list tests 707s ok - glib/list.test 707s # Running test: glib/unix-streams.test 707s TAP version 13 707s # random seed: R02S159c5103be12574306a33617ecce85d7 707s 1..9 707s # Start of unix-streams tests 707s ok 1 /unix-streams/basic 707s ok 2 /unix-streams/pipe-io-test 707s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 708s ok 3 /unix-streams/nonblocking-io-test 708s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 708s ok 4 /unix-streams/read_write 708s ok 5 /unix-streams/read_writev 708s ok 6 /unix-streams/write-wouldblock 708s ok 7 /unix-streams/writev-wouldblock 708s ok 8 /unix-streams/write-async-wouldblock 708s ok 9 /unix-streams/writev-async-wouldblock 708s # End of unix-streams tests 708s ok - glib/unix-streams.test 708s # Running test: glib/spawn-test.test 708s TAP version 13 708s # random seed: R02Sd7d77951df63f99bd86e8d35d5cd1661 708s 1..2 708s # Start of spawn tests 708s ok 1 /spawn/basics 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 708s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 708s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 708s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 708s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 708s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 708s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 708s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 708s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 708s # Fetching GSpawn result output with stdin open, stdout open, stderr open 708s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 708s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 708s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 708s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 708s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 708s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 708s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 708s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 708s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 708s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 708s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 708s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 708s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 708s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 708s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 708s # Fetching GSpawn result with stdin open, stdout open, stderr open 708s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 708s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 708s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 708s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 708s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 708s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 708s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 708s ok 2 /spawn/stdio-overwrite 708s # End of spawn tests 708s ok - glib/spawn-test.test 708s # Running test: glib/portal-support-env-var.test 708s TAP version 13 708s # random seed: R02S20d0582e6481ecd213462448dbb526eb 708s 1..1 708s # Start of portal-support tests 708s ok 1 /portal-support/env-var 708s # End of portal-support tests 708s ok - glib/portal-support-env-var.test 708s # Running test: glib/gnotification.test 708s TAP version 13 708s # random seed: R02S119ac0745e31566f12e88e8013d417ba 708s 1..2 708s # Start of gnotification tests 708s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 708s ok 1 /gnotification/basic 708s ok 2 /gnotification/properties 708s # End of gnotification tests 708s ok - glib/gnotification.test 708s # Running test: glib/gdbus-connection-flush.test 708s TAP version 13 708s # random seed: R02Sb02638df376b0762b3098a02463a9711 708s 1..2 708s # Start of gdbus tests 708s # Start of connection tests 708s # Start of flush tests 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/busy/.dirs/runtime 708s ok 1 /gdbus/connection/flush/busy 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_7KJVK2/gdbus/connection/flush/idle/.dirs/runtime 708s ok 2 /gdbus/connection/flush/idle 708s # End of flush tests 708s # End of connection tests 708s # End of gdbus tests 708s ok - glib/gdbus-connection-flush.test 708s # Running test: glib/notify-init.test 708s TAP version 13 708s # random seed: R02S1442e83348d7b11e3552caa11de6c610 708s 1..1 708s # Start of properties tests 708s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 708s ok 1 /properties/notify-in-init 708s # End of properties tests 708s ok - glib/notify-init.test 708s # Running test: glib/test-printf.test 708s TAP version 13 708s # random seed: R02Safd7337e7ef56bf9b57da2da351a2dac 708s 1..22 708s # Start of snprintf tests 708s ok 1 /snprintf/retval-and-trunc 708s ok 2 /snprintf/%d 708s ok 3 /snprintf/%d-invalid 708s ok 4 /snprintf/%o 708s ok 5 /snprintf/%u 708s ok 6 /snprintf/%x 708s ok 7 /snprintf/%X 708s ok 8 /snprintf/%f 708s ok 9 /snprintf/%e 708s ok 10 /snprintf/%c 708s ok 11 /snprintf/%s 708s ok 12 /snprintf/%n 708s ok 13 /snprintf/test-percent 708s ok 14 /snprintf/test-positional-params 708s ok 15 /snprintf/test-64bit 708s # End of snprintf tests 708s # Start of printf tests 708s ok 16 /printf/test-percent 708s ok 17 /printf/test-positional-params 708s ok 18 /printf/test-64bit 708s # Start of test-64bit tests 708s # Start of subprocess tests 708s # End of subprocess tests 708s # End of test-64bit tests 708s # End of printf tests 708s # Start of sprintf tests 708s ok 19 /sprintf/test-positional-params 708s ok 20 /sprintf/upper-bound 708s # End of sprintf tests 708s # Start of vasprintf tests 708s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 708s ok 21 /vasprintf/invalid-format-placeholder 708s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 708s ok 22 /vasprintf/invalid-wide-string 708s # End of vasprintf tests 708s ok - glib/test-printf.test 708s # Running test: glib/properties-refcount2.test 708s TAP version 13 708s # random seed: R02S7261a6211790223e9f54534f8e5b956b 708s 1..1 708s # Start of gobject tests 708s # Start of refcount tests 708s # init 0x2aa039c3770 708s # 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # dispose 0x2aa039c3770! 709s # 709s ok 1 /gobject/refcount/properties-2 709s # slow test /gobject/refcount/properties-2 executed in 0.85 secs 709s # End of refcount tests 709s # End of gobject tests 709s ok - glib/properties-refcount2.test 709s # Running test: glib/timeout.test 709s TAP version 13 709s # random seed: R02S63a32b88b76acb6667b04e2a6ef724a2 709s 1..5 709s # Start of timeout tests 709s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 711s ok 1 /timeout/seconds 711s # slow test /timeout/seconds executed in 2.10 secs 711s # Executing: glib/timeout.test 713s ok 2 /timeout/seconds-once 713s # slow test /timeout/seconds-once executed in 2.10 secs 713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 715s ok 3 /timeout/weeks-overflow 715s # slow test /timeout/weeks-overflow executed in 2.10 secs 715s ok 4 /timeout/far-future-ready-time 716s # Executing: glib/timeout.test 721s # Executing: glib/timeout.test 725s ok 5 /timeout/rounding 725s # slow test /timeout/rounding executed in 10.14 secs 725s # End of timeout tests 725s ok - glib/timeout.test 725s # Running test: glib/autoptr-girepository.test 725s TAP version 13 725s # random seed: R02Sc5dec341d80bd14bc85b7bc52368fc9b 725s 1..24 725s # Start of autoptr tests 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/repository/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 1 /autoptr/repository 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/typelib/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 2 /autoptr/typelib 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/base-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 3 /autoptr/base-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/arg-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 4 /autoptr/arg-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/callable-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 5 /autoptr/callable-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/callback-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 6 /autoptr/callback-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/constant-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 7 /autoptr/constant-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/enum-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 8 /autoptr/enum-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/field-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 9 /autoptr/field-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/flags-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 10 /autoptr/flags-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/function-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 11 /autoptr/function-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/interface-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 12 /autoptr/interface-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/object-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 13 /autoptr/object-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/property-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 14 /autoptr/property-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/registered-type-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 15 /autoptr/registered-type-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/signal-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 16 /autoptr/signal-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/struct-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 17 /autoptr/struct-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/type-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 18 /autoptr/type-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/union-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 19 /autoptr/union-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/value-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 20 /autoptr/value-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/autoptr/vfunc-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 21 /autoptr/vfunc-info 725s # End of autoptr tests 725s # Start of auto tests 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/auto/arg-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 22 /auto/arg-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/auto/type-info/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 23 /auto/type-info 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_72LLK2/auto/function-invoker/.dirs/runtime 725s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 725s ok 24 /auto/function-invoker 725s # End of auto tests 725s ok - glib/autoptr-girepository.test 725s # Running test: glib/gdbus-sasl.test 725s TAP version 13 725s # random seed: R02Sa6a82c6a6b9d43240236c2a1c527f060 725s 1..1 725s # Start of gdbus tests 725s # Start of sasl tests 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_GXWLK2/gdbus/sasl/server/.dirs/runtime 725s # New handshake: EXTERNAL with incorrect initial response 725s # C:“AUTH EXTERNAL 30” 725s # Expect: /^REJECTED.*$/ 725s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 725s # New handshake: EXTERNAL without initial response, failing to authenticate 725s # C:“AUTH EXTERNAL” 725s # Expect: /^DATA$/ 725s # S:“DATA” 725s # C:“DATA 30” 725s # Expect: /^REJECTED.*$/ 725s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 725s # New handshake: EXTERNAL with initial response 725s # C:“AUTH EXTERNAL 31303030” 725s # Expect: /^OK [0-9a-f]+$/ 725s # S:“OK bfdc6484faedda655ffc1f7e65fa0a74” 725s # New handshake: EXTERNAL without initial response 725s # C:“AUTH EXTERNAL” 725s # Expect: /^DATA$/ 725s # S:“DATA” 725s # C:“DATA 31303030” 725s # Expect: /^OK [0-9a-f]+$/ 725s # S:“OK bfdc6484faedda655ffc1f7e65fa0a74” 725s # New handshake: EXTERNAL with empty authorization identity 725s # C:“AUTH EXTERNAL” 725s # Expect: /^DATA$/ 725s # S:“DATA” 725s # C:“DATA” 725s # Expect: /^OK [0-9a-f]+$/ 725s # S:“OK bfdc6484faedda655ffc1f7e65fa0a74” 725s # New handshake: EXTERNAL with empty authorization identity and whitespace 725s # C:“AUTH EXTERNAL” 725s # Expect: /^DATA$/ 725s # S:“DATA” 725s # C:“DATA ” 725s # Expect: /^OK [0-9a-f]+$/ 725s # S:“OK bfdc6484faedda655ffc1f7e65fa0a74” 725s ok 1 /gdbus/sasl/server 725s # End of sasl tests 725s # End of gdbus tests 725s ok - glib/gdbus-sasl.test 725s # Running test: glib/signals-refcount2.test 725s TAP version 13 725s # random seed: R02S7bb41fce1f645296c414de44be05b891 725s 1..1 725s # Start of gobject tests 725s # Start of refcount tests 725s # init 0x2aa37706420 725s # 725s # init 0x2aa377065c0 725s # 726s # Executing: glib/signals-refcount2.test 730s # dispose 0x2aa37706420! 730s # 730s # dispose 0x2aa377065c0! 730s # 730s ok 1 /gobject/refcount/signals 730s # slow test /gobject/refcount/signals executed in 5.00 secs 730s # End of refcount tests 730s # End of gobject tests 730s ok - glib/signals-refcount2.test 730s # Running test: glib/dataset.test 730s TAP version 13 730s # random seed: R02S54405e3eab319487605321f35ee7206d 730s 1..14 730s # Start of quark tests 730s ok 1 /quark/basic 730s ok 2 /quark/string 730s # End of quark tests 730s # Start of dataset tests 730s ok 3 /dataset/basic 730s ok 4 /dataset/id 730s ok 5 /dataset/full 730s ok 6 /dataset/foreach 730s ok 7 /dataset/destroy 730s # End of dataset tests 730s # Start of datalist tests 730s ok 8 /datalist/basic 730s ok 9 /datalist/id 730s ok 10 /datalist/recursive-clear 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 730s ok 11 /datalist/id-remove-multiple 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 730s ok 12 /datalist/id-remove-multiple-destroy-order 730s ok 13 /datalist/update-atomic 730s # Start of id-remove-multiple tests 730s ok 14 /datalist/id-remove-multiple/resize 730s # End of id-remove-multiple tests 730s # End of datalist tests 730s ok - glib/dataset.test 730s # Running test: glib/actions.test 730s TAP version 13 730s # random seed: R02S65c7382cc4070dfefe5dea5225590f01 730s 1..12 730s # Start of actions tests 730s ok 1 /actions/basic 730s ok 2 /actions/name 730s ok 3 /actions/simplegroup 730s ok 4 /actions/stateful 730s ok 5 /actions/default-activate 730s ok 6 /actions/entries 730s ok 7 /actions/parse-detailed 730s ok 8 /actions/property 730s ok 9 /actions/no-properties 730s # Start of dbus tests 730s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s ok 10 /actions/dbus/export 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 730s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 731s # Executing: glib/actions.test 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s ok 11 /actions/dbus/threaded 731s # slow test /actions/dbus/threaded executed in 0.99 secs 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s ok 12 /actions/dbus/bug679509 731s # End of dbus tests 731s # End of actions tests 731s ok - glib/actions.test 731s # Running test: glib/memory-monitor-portal.test 732s TAP version 13 732s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 732s 1..1 732s ok - glib/memory-monitor-portal.test 732s # Running test: glib/performance.test 732s Running test simple-construction 736s # Executing: glib/performance.test 740s Millions of constructed objects per second: 16.631 740s Running test simple-construction1 741s # Executing: glib/performance.test 743s Millions of constructed objects per second: 52.613 743s Running test complex-construction 746s # Executing: glib/performance.test 747s Millions of constructed objects per second: 6.133 747s Running test complex-construction1 751s # Executing: glib/performance.test 753s Millions of constructed objects per second: 10.973 753s Running test complex-construction2 756s # Executing: glib/performance.test 760s Millions of constructed objects per second: 12.204 760s Running test finalization 761s # Executing: glib/performance.test 761s Millions of finalized objects per second: 3.220 761s Running test type-check 761s Million type checks per second: inf 761s Running test emit-unhandled 762s Emissions per second: 6269579 762s Running test emit-unhandled-empty 764s Emissions per second: 41013828 764s Running test emit-unhandled-generic 765s Emissions per second: 10236918 765s Running test emit-unhandled-generic-empty 766s Emissions per second: 41034276 766s Running test emit-unhandled-args 766s # Executing: glib/performance.test 767s Emissions per second: 5113691 767s Running test emit-handled 768s Emissions per second: 4087619 768s Running test emit-handled-empty 770s Emissions per second: 4598052 770s Running test emit-handled-generic 771s # Executing: glib/performance.test 771s Emissions per second: 4503904 771s Running test emit-handled-generic-empty 773s Emissions per second: 8361032 773s Running test emit-handled-args 774s Emissions per second: 3600807 774s Running test notify-unhandled 775s Notify (unhandled) per second: 26465577 775s Running test notify-by-pspec-unhandled 776s # Executing: glib/performance.test 776s Notify (unhandled) per second: 86502363 776s Running test notify-handled 778s Notify per second: 2366525 778s Running test notify-by-pspec-handled 779s Notify per second: 2498532 779s Running test property-set 780s Property set per second: 11464099 780s Running test property-get 781s # Executing: glib/performance.test 782s Property get per second: 10506944 782s Running test refcount 784s Million refs+unref per second: 35.75 784s ok - glib/performance.test 784s # Running test: glib/gmenumodel.test 784s TAP version 13 784s # random seed: R02S19e415cd34a180dfa6c48b41df578b92 784s 1..14 784s # Start of gmenu tests 785s ok 1 /gmenu/equality 785s # slow test /gmenu/equality executed in 0.91 secs 786s ok 2 /gmenu/random 786s # slow test /gmenu/random executed in 0.90 secs 786s ok 3 /gmenu/attributes 786s ok 4 /gmenu/links 786s ok 5 /gmenu/mutable 786s ok 6 /gmenu/convenience 786s ok 7 /gmenu/menuitem 786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 786s ok 8 /gmenu/input-validation 786s # Start of dbus tests 786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 786s # Executing: glib/gmenumodel.test 787s ok 9 /gmenu/dbus/roundtrip 787s # slow test /gmenu/dbus/roundtrip executed in 1.09 secs 787s ok 10 /gmenu/dbus/subscriptions 789s ok 11 /gmenu/dbus/threaded 789s # slow test /gmenu/dbus/threaded executed in 1.62 secs 789s # Start of peer tests 790s ok 12 /gmenu/dbus/peer/roundtrip 790s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 790s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 790s # End of peer tests 790s # End of dbus tests 790s # Start of attributes tests 790s ok 14 /gmenu/attributes/iterate 790s # End of attributes tests 790s # End of gmenu tests 790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 790s ok - glib/gmenumodel.test 790s # Running test: glib/cxx-14.test 790s TAP version 13 790s # random seed: R02S573b76ea61384e93907b325417dd5bfd 790s 1..2 790s # Start of gtask tests 790s # 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. 790s ok 1 /gtask/name 790s # Start of name tests 790s # 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. 790s ok 2 /gtask/name/macro-wrapper 790s # End of name tests 790s # End of gtask tests 790s ok - glib/cxx-14.test 790s # Running test: glib/union-info.test 790s TAP version 13 790s # random seed: R02Saff94fef574375aa2486e43044c0330b 790s 1..2 790s # Start of union-info tests 790s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_VMV3K2/union-info/basic/.dirs/home 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_VMV3K2/union-info/basic/.dirs/cache 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_VMV3K2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_VMV3K2/union-info/basic/.dirs/system-config2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_VMV3K2/union-info/basic/.dirs/config 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_VMV3K2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_VMV3K2/union-info/basic/.dirs/system-data2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_VMV3K2/union-info/basic/.dirs/data 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_VMV3K2/union-info/basic/.dirs/state 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_VMV3K2/union-info/basic/.dirs/runtime 790s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 790s # /union-info/basic summary: Test basic properties of GIUnionInfo 790s ok 1 /union-info/basic 790s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_VMV3K2/union-info/methods/.dirs/home 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_VMV3K2/union-info/methods/.dirs/cache 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_VMV3K2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_VMV3K2/union-info/methods/.dirs/system-config2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_VMV3K2/union-info/methods/.dirs/config 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_VMV3K2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_VMV3K2/union-info/methods/.dirs/system-data2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_VMV3K2/union-info/methods/.dirs/data 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_VMV3K2/union-info/methods/.dirs/state 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_VMV3K2/union-info/methods/.dirs/runtime 790s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 790s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 790s ok 2 /union-info/methods 790s # End of union-info tests 790s ok - glib/union-info.test 790s # Running test: glib/memory-monitor-dbus.test 790s TAP version 13 790s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 790s 1..1 790s ok - glib/memory-monitor-dbus.test 790s # Running test: glib/task.test 790s TAP version 13 790s # random seed: R02S1b4a506a7e0d439f806f3e0b65fba3aa 790s 1..36 790s # Start of gtask tests 790s ok 1 /gtask/basic 790s ok 2 /gtask/error 790s ok 3 /gtask/error-literal 790s ok 4 /gtask/error-literal-from-variable 790s ok 5 /gtask/return-from-same-iteration 790s ok 6 /gtask/return-from-toplevel 790s ok 7 /gtask/return-from-anon-thread 790s ok 8 /gtask/return-from-wrong-thread 790s ok 9 /gtask/no-callback 790s ok 10 /gtask/report-error 790s ok 11 /gtask/priority 790s ok 12 /gtask/name 790s ok 13 /gtask/static-name 790s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 790s ok 14 /gtask/asynchronous-cancellation 790s ok 15 /gtask/check-cancellable 790s ok 16 /gtask/return-if-cancelled 790s ok 17 /gtask/run-in-thread 790s ok 18 /gtask/run-in-thread-sync 790s ok 19 /gtask/run-in-thread-priority 791s ok 20 /gtask/run-in-thread-nested 791s # Executing: glib/task.test 791s ok 21 /gtask/run-in-thread-overflow 791s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 791s # GLib-GIO-DEBUG: GTask 0x2aa2f920bb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 791s # GLib-GIO-DEBUG: GTask 0x2aa2f91ff50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 791s ok 22 /gtask/return-on-cancel 791s # GLib-GIO-DEBUG: GTask 0x2aa2f920cd0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 791s # GLib-GIO-DEBUG: GTask 0x2aa2f91faf0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 791s ok 23 /gtask/return-on-cancel-sync 791s ok 24 /gtask/return-on-cancel-atomic 791s ok 25 /gtask/return-pointer 791s ok 26 /gtask/return-value 791s ok 27 /gtask/return-prefixed-error 791s ok 28 /gtask/object-keepalive 791s ok 29 /gtask/legacy-error 791s ok 30 /gtask/finalize-without-return 791s # Start of name tests 791s ok 31 /gtask/name/macro-wrapper 791s # End of name tests 791s # Start of return tests 791s ok 32 /gtask/return/error-first 791s ok 33 /gtask/return/value-first 791s # Start of in-idle tests 791s ok 34 /gtask/return/in-idle/error-first 791s ok 35 /gtask/return/in-idle/value-first 791s # End of in-idle tests 791s # End of return tests 791s # Start of attach-source tests 791s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 791s ok 36 /gtask/attach-source/set-name 791s # End of attach-source tests 791s # End of gtask tests 791s ok - glib/task.test 791s # Running test: glib/sleepy-stream.test 791s TAP version 13 791s # random seed: R02Sfbc68dfbe1fdfae6403260d8fd6f4cb8 791s 1..2 791s # Start of filter-stream tests 791s ok 1 /filter-stream/input 791s ok 2 /filter-stream/async 791s # End of filter-stream tests 791s ok - glib/sleepy-stream.test 791s # Running test: glib/shell.test 791s TAP version 13 791s # random seed: R02S0bdc08266c1629e865b370c845b56f14 791s 1..51 791s # Start of shell tests 791s # Start of cmdline tests 791s test cmdline: foo bar 791s ok 1 /shell/cmdline/0 791s test cmdline: foo 'bar' 791s ok 2 /shell/cmdline/1 791s test cmdline: foo "bar" 791s ok 3 /shell/cmdline/2 791s test cmdline: foo '' 'bar' 791s ok 4 /shell/cmdline/3 791s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 791s ok 5 /shell/cmdline/4 791s test cmdline: foo blah foo bar baz 791s ok 6 /shell/cmdline/5 791s test cmdline: foo ' spaces more spaces lots of spaces in this ' 791s ok 7 /shell/cmdline/6 791s test cmdline: foo \ 791s bar 791s ok 8 /shell/cmdline/7 791s test cmdline: foo '' '' 791s ok 9 /shell/cmdline/8 791s test cmdline: foo \" la la la 791s ok 10 /shell/cmdline/9 791s test cmdline: foo \ foo woo woo\ 791s ok 11 /shell/cmdline/10 791s test cmdline: foo "yada yada \$\"" 791s ok 12 /shell/cmdline/11 791s test cmdline: foo "c:\\" 791s ok 13 /shell/cmdline/12 791s test cmdline: foo # bla bla bla 791s bar 791s ok 14 /shell/cmdline/13 791s test cmdline: foo a#b 791s ok 15 /shell/cmdline/14 791s test cmdline: #foo 791s ok 16 /shell/cmdline/15 791s test cmdline: foo bar \ 791s ok 17 /shell/cmdline/16 791s test cmdline: foo 'bar baz 791s ok 18 /shell/cmdline/17 791s test cmdline: foo '"bar" baz 791s ok 19 /shell/cmdline/18 791s test cmdline: 791s ok 20 /shell/cmdline/19 791s test cmdline: 791s ok 21 /shell/cmdline/20 791s test cmdline: # foo bar 791s ok 22 /shell/cmdline/21 791s test cmdline: foo '/bar/summer'\''09 tours.pdf' 791s ok 23 /shell/cmdline/22 791s # End of cmdline tests 791s # Start of quote tests 791s ok 24 /shell/quote/0 791s ok 25 /shell/quote/1 791s ok 26 /shell/quote/2 791s ok 27 /shell/quote/3 791s ok 28 /shell/quote/4 791s ok 29 /shell/quote/5 791s ok 30 /shell/quote/6 791s # End of quote tests 791s # Start of unquote tests 791s ok 31 /shell/unquote/0 791s ok 32 /shell/unquote/1 791s ok 33 /shell/unquote/2 791s ok 34 /shell/unquote/3 791s ok 35 /shell/unquote/4 791s ok 36 /shell/unquote/5 791s ok 37 /shell/unquote/6 791s ok 38 /shell/unquote/7 791s ok 39 /shell/unquote/8 791s ok 40 /shell/unquote/9 791s ok 41 /shell/unquote/10 791s ok 42 /shell/unquote/11 791s ok 43 /shell/unquote/12 791s ok 44 /shell/unquote/13 791s ok 45 /shell/unquote/14 791s ok 46 /shell/unquote/15 791s ok 47 /shell/unquote/16 791s ok 48 /shell/unquote/17 791s ok 49 /shell/unquote/18 791s ok 50 /shell/unquote/19 791s ok 51 /shell/unquote/20 791s # End of unquote tests 791s # End of shell tests 791s ok - glib/shell.test 791s # Running test: glib/utils-c-17.test 791s TAP version 13 791s # random seed: R02Sffed2842d7b668b4775d4ae5611ed1c8 791s 1..40 791s # Start of utils tests 791s ok 1 /utils/language-names 791s ok 2 /utils/locale-variants 791s ok 3 /utils/version 791s ok 4 /utils/appname 791s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 791s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 791s ok 5 /utils/prgname-thread-safety 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 791s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 791s ok 6 /utils/tmpdir 791s ok 7 /utils/basic_bits 791s ok 8 /utils/bits 791s ok 9 /utils/swap 791s ok 10 /utils/find-program 791s ok 11 /utils/find-program-for-path 791s ok 12 /utils/debug 791s ok 13 /utils/codeset 791s ok 14 /utils/codeset2 791s ok 15 /utils/console-charset 791s ok 16 /utils/gettext 791s ok 17 /utils/username 791s ok 18 /utils/realname 791s ok 19 /utils/hostname 791s ok 20 /utils/xdgdirs 791s ok 21 /utils/specialdir 791s # NAME: Ubuntu 791s ok 22 /utils/os-info 791s ok 23 /utils/clear-pointer 791s ok 24 /utils/clear-pointer-cast 791s ok 25 /utils/take-pointer 791s ok 26 /utils/clear-source 791s ok 27 /utils/misc-mem 791s # /utils/aligned-mem summary: Aligned memory allocator 791s # Alignment must not be zero 791s # Alignment must be a power of two 791s # Alignment must be a multiple of sizeof(void*) 791s ok 28 /utils/aligned-mem 791s # /utils/free-sized summary: Check that g_free_sized() works 791s ok 29 /utils/free-sized 791s ok 30 /utils/nullify 791s ok 31 /utils/atexit 791s ok 32 /utils/check-setuid 791s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 791s ok 33 /utils/int-limits 791s ok 34 /utils/clear-list 791s ok 35 /utils/clear-slist 791s # Start of specialdir tests 791s ok 36 /utils/specialdir/desktop 791s # End of specialdir tests 791s # Start of clear-pointer tests 791s ok 37 /utils/clear-pointer/side-effects 791s # End of clear-pointer tests 791s # Start of aligned-mem tests 791s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 791s ok 38 /utils/aligned-mem/alignment 791s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 791s ok 39 /utils/aligned-mem/zeroed 791s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 791s ok 40 /utils/aligned-mem/free-sized 791s # Start of subprocess tests 791s # End of subprocess tests 791s # End of aligned-mem tests 791s # End of utils tests 791s ok - glib/utils-c-17.test 791s # Running test: glib/tls-database.test 791s TAP version 13 791s # random seed: R02S9caee73a91b7473787e3952e152730a1 791s 1..1 791s # Start of tls-backend tests 791s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 791s ok 1 /tls-backend/set-default-database 791s # End of tls-backend tests 791s ok - glib/tls-database.test 791s # Running test: glib/dynamictype.test 791s TAP version 13 791s # random seed: R02Sf98b9b70013612413449e13546fe12b8 791s 1..2 791s # Start of gobject tests 791s ok 1 /gobject/dynamic-type 791s # Start of dynamic-type tests 791s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 791s ok 2 /gobject/dynamic-type/query 791s # End of dynamic-type tests 791s # End of gobject tests 791s ok - glib/dynamictype.test 791s # Running test: glib/async-close-output-stream.test 791s TAP version 13 791s # random seed: R02S04ed6ce488293f3c4ed152b2e8c47a64 791s 1..3 791s # Start of close-async tests 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 791s ok 1 /close-async/without-flush 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 791s ok 2 /close-async/with-flush 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 791s ok 3 /close-async/with-async-flush 791s # End of close-async tests 791s ok - glib/async-close-output-stream.test 791s # Running test: glib/spawn-multithreaded.test 791s TAP version 13 791s # random seed: R02S9fe16359970ec184a0db518dfe2e3cf6 791s 1..4 791s # Start of gthread tests 792s # Child 14597 (ttl 1) exited, status 0 793s # Child 14598 (ttl 2) exited, status 0 793s ok 1 /gthread/spawn-childs 793s # slow test /gthread/spawn-childs executed in 2.00 secs 793s # Created pid: 14602 (ttl 1) 793s # Created pid: 14603 (ttl 2) 794s # Child 14602 (ttl 1) exited, status 0 795s # Child 14603 (ttl 2) exited, status 0 795s ok 2 /gthread/spawn-childs-threads 795s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 795s ok 3 /gthread/spawn-sync 795s ok 4 /gthread/spawn-async 795s # End of gthread tests 795s ok - glib/spawn-multithreaded.test 795s # Running test: glib/rec-mutex.test 795s TAP version 13 795s # random seed: R02S1c6e7439206012dc583cb98c2d2e3ab3 795s 1..29 795s # Start of thread tests 795s ok 1 /thread/rec-mutex1 795s ok 2 /thread/rec-mutex2 795s ok 3 /thread/rec-mutex3 795s ok 4 /thread/rec-mutex4 795s # Start of rec-mutex tests 795s # Start of perf tests 795s # Start of uncontended tests 795s # max perf: 1.000000 mips 795s ok 5 /thread/rec-mutex/perf/uncontended/depth1 795s # max perf: inf mips 795s ok 6 /thread/rec-mutex/perf/uncontended/depth2 795s # max perf: 1.000000 mips 795s ok 7 /thread/rec-mutex/perf/uncontended/depth3 795s # max perf: inf mips 795s ok 8 /thread/rec-mutex/perf/uncontended/depth4 795s # max perf: inf mips 795s ok 9 /thread/rec-mutex/perf/uncontended/depth5 795s # End of uncontended tests 795s # Start of contended1 tests 795s # max perf: 2.000000 mips 795s ok 10 /thread/rec-mutex/perf/contended1/depth1 795s # max perf: inf mips 795s ok 11 /thread/rec-mutex/perf/contended1/depth2 795s # max perf: 2.000000 mips 795s ok 12 /thread/rec-mutex/perf/contended1/depth3 795s # max perf: inf mips 795s ok 13 /thread/rec-mutex/perf/contended1/depth4 795s # max perf: 2.000000 mips 795s ok 14 /thread/rec-mutex/perf/contended1/depth5 795s # End of contended1 tests 795s # Start of contended2 tests 795s # max perf: 3.000000 mips 795s ok 15 /thread/rec-mutex/perf/contended2/depth1 795s # max perf: 3.000000 mips 795s ok 16 /thread/rec-mutex/perf/contended2/depth2 795s # max perf: 3.000000 mips 795s ok 17 /thread/rec-mutex/perf/contended2/depth3 795s # max perf: 3.000000 mips 795s ok 18 /thread/rec-mutex/perf/contended2/depth4 795s # max perf: 3.000000 mips 795s ok 19 /thread/rec-mutex/perf/contended2/depth5 795s # End of contended2 tests 795s # Start of contended3 tests 795s # max perf: inf mips 795s ok 20 /thread/rec-mutex/perf/contended3/depth1 795s # max perf: 4.000000 mips 795s ok 21 /thread/rec-mutex/perf/contended3/depth2 795s # max perf: inf mips 795s ok 22 /thread/rec-mutex/perf/contended3/depth3 795s # max perf: inf mips 795s ok 23 /thread/rec-mutex/perf/contended3/depth4 795s # max perf: inf mips 795s ok 24 /thread/rec-mutex/perf/contended3/depth5 795s # End of contended3 tests 795s # Start of contended4 tests 795s # max perf: inf mips 795s ok 25 /thread/rec-mutex/perf/contended4/depth1 795s # max perf: inf mips 795s ok 26 /thread/rec-mutex/perf/contended4/depth2 795s # max perf: 5.000000 mips 795s ok 27 /thread/rec-mutex/perf/contended4/depth3 795s # max perf: 5.000000 mips 795s ok 28 /thread/rec-mutex/perf/contended4/depth4 795s # max perf: 5.000000 mips 795s ok 29 /thread/rec-mutex/perf/contended4/depth5 795s # End of contended4 tests 795s # End of perf tests 795s # End of rec-mutex tests 795s # End of thread tests 795s ok - glib/rec-mutex.test 795s # Running test: glib/atomic-c-17.test 795s TAP version 13 795s # random seed: R02S4915746fedb413afa068a04e7da0442e 795s 1..2 795s # Start of atomic tests 795s ok 1 /atomic/types 795s ok 2 /atomic/threaded 795s # End of atomic tests 795s ok - glib/atomic-c-17.test 795s # Running test: glib/ifaceproperties.test 795s TAP version 13 795s # random seed: R02Se211ffa9bb155215f3540c3f32b5e96f 795s 1..7 795s # Start of interface tests 795s # Start of properties tests 795s ok 1 /interface/properties/set 795s ok 2 /interface/properties/notify 795s ok 3 /interface/properties/find-overridden 795s ok 4 /interface/properties/list-overridden 795s ok 5 /interface/properties/find-interface 795s ok 6 /interface/properties/list-interface 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 795s ok 7 /interface/properties/not-overridden 795s # End of properties tests 795s # End of interface tests 795s ok - glib/ifaceproperties.test 795s # Running test: glib/checksum.test 795s TAP version 13 795s # random seed: R02S62ba2b5d32427efb58965fb7dff93f59 795s 1..1851 795s # Start of checksum tests 795s ok 1 /checksum/unsupported 795s # Start of MD5 tests 795s ok 2 /checksum/MD5/0 795s ok 3 /checksum/MD5/1 795s ok 4 /checksum/MD5/2 795s ok 5 /checksum/MD5/3 795s ok 6 /checksum/MD5/4 796s ok 7 /checksum/MD5/5 796s ok 8 /checksum/MD5/6 796s ok 9 /checksum/MD5/7 796s ok 10 /checksum/MD5/8 796s ok 11 /checksum/MD5/9 796s ok 12 /checksum/MD5/10 796s ok 13 /checksum/MD5/11 796s ok 14 /checksum/MD5/12 796s ok 15 /checksum/MD5/13 796s ok 16 /checksum/MD5/14 796s ok 17 /checksum/MD5/15 796s ok 18 /checksum/MD5/16 796s ok 19 /checksum/MD5/17 796s ok 20 /checksum/MD5/18 796s ok 21 /checksum/MD5/19 796s ok 22 /checksum/MD5/20 796s ok 23 /checksum/MD5/21 796s ok 24 /checksum/MD5/22 796s ok 25 /checksum/MD5/23 796s ok 26 /checksum/MD5/24 796s ok 27 /checksum/MD5/25 796s ok 28 /checksum/MD5/26 796s ok 29 /checksum/MD5/27 796s ok 30 /checksum/MD5/28 796s ok 31 /checksum/MD5/29 796s ok 32 /checksum/MD5/30 796s ok 33 /checksum/MD5/31 796s ok 34 /checksum/MD5/32 796s ok 35 /checksum/MD5/33 796s ok 36 /checksum/MD5/34 796s ok 37 /checksum/MD5/35 796s ok 38 /checksum/MD5/36 796s ok 39 /checksum/MD5/37 796s ok 40 /checksum/MD5/38 796s ok 41 /checksum/MD5/39 796s ok 42 /checksum/MD5/40 796s ok 43 /checksum/MD5/41 796s ok 44 /checksum/MD5/42 796s ok 45 /checksum/MD5/43 796s ok 46 /checksum/MD5/44 796s ok 47 /checksum/MD5/45 796s ok 48 /checksum/MD5/46 796s ok 49 /checksum/MD5/47 796s ok 50 /checksum/MD5/48 796s ok 51 /checksum/MD5/49 796s ok 52 /checksum/MD5/50 796s ok 53 /checksum/MD5/51 796s ok 54 /checksum/MD5/52 796s ok 55 /checksum/MD5/53 796s ok 56 /checksum/MD5/54 796s ok 57 /checksum/MD5/55 796s ok 58 /checksum/MD5/56 796s ok 59 /checksum/MD5/57 796s ok 60 /checksum/MD5/58 796s ok 61 /checksum/MD5/59 796s ok 62 /checksum/MD5/60 796s ok 63 /checksum/MD5/61 796s ok 64 /checksum/MD5/62 796s ok 65 /checksum/MD5/63 796s ok 66 /checksum/MD5/64 796s ok 67 /checksum/MD5/65 796s ok 68 /checksum/MD5/66 796s ok 69 /checksum/MD5/67 796s ok 70 /checksum/MD5/68 796s ok 71 /checksum/MD5/69 796s ok 72 /checksum/MD5/70 796s ok 73 /checksum/MD5/71 796s ok 74 /checksum/MD5/72 796s ok 75 /checksum/MD5/73 796s ok 76 /checksum/MD5/74 796s ok 77 /checksum/MD5/75 796s ok 78 /checksum/MD5/76 796s ok 79 /checksum/MD5/77 796s ok 80 /checksum/MD5/78 796s ok 81 /checksum/MD5/79 796s ok 82 /checksum/MD5/80 796s ok 83 /checksum/MD5/81 796s ok 84 /checksum/MD5/82 796s ok 85 /checksum/MD5/83 796s ok 86 /checksum/MD5/84 796s ok 87 /checksum/MD5/85 796s ok 88 /checksum/MD5/86 796s ok 89 /checksum/MD5/87 796s ok 90 /checksum/MD5/88 796s ok 91 /checksum/MD5/89 796s ok 92 /checksum/MD5/90 796s ok 93 /checksum/MD5/91 796s ok 94 /checksum/MD5/92 796s ok 95 /checksum/MD5/93 796s ok 96 /checksum/MD5/94 796s ok 97 /checksum/MD5/95 796s ok 98 /checksum/MD5/96 796s ok 99 /checksum/MD5/97 796s ok 100 /checksum/MD5/98 796s ok 101 /checksum/MD5/99 796s ok 102 /checksum/MD5/100 796s ok 103 /checksum/MD5/101 796s ok 104 /checksum/MD5/102 796s ok 105 /checksum/MD5/103 796s ok 106 /checksum/MD5/104 796s ok 107 /checksum/MD5/105 796s ok 108 /checksum/MD5/106 796s ok 109 /checksum/MD5/107 796s ok 110 /checksum/MD5/108 796s ok 111 /checksum/MD5/109 796s ok 112 /checksum/MD5/110 796s ok 113 /checksum/MD5/111 796s ok 114 /checksum/MD5/112 796s ok 115 /checksum/MD5/113 796s ok 116 /checksum/MD5/114 796s ok 117 /checksum/MD5/115 796s ok 118 /checksum/MD5/116 796s ok 119 /checksum/MD5/117 796s ok 120 /checksum/MD5/118 796s ok 121 /checksum/MD5/119 796s ok 122 /checksum/MD5/120 796s ok 123 /checksum/MD5/121 796s ok 124 /checksum/MD5/122 796s ok 125 /checksum/MD5/123 796s ok 126 /checksum/MD5/124 796s ok 127 /checksum/MD5/125 796s ok 128 /checksum/MD5/126 796s ok 129 /checksum/MD5/127 796s ok 130 /checksum/MD5/128 796s ok 131 /checksum/MD5/129 796s ok 132 /checksum/MD5/130 796s ok 133 /checksum/MD5/131 796s ok 134 /checksum/MD5/132 796s ok 135 /checksum/MD5/133 796s ok 136 /checksum/MD5/134 796s ok 137 /checksum/MD5/135 796s ok 138 /checksum/MD5/136 796s ok 139 /checksum/MD5/137 796s ok 140 /checksum/MD5/138 796s ok 141 /checksum/MD5/139 796s ok 142 /checksum/MD5/140 796s ok 143 /checksum/MD5/141 796s ok 144 /checksum/MD5/142 796s ok 145 /checksum/MD5/143 796s ok 146 /checksum/MD5/144 796s ok 147 /checksum/MD5/145 796s ok 148 /checksum/MD5/146 796s ok 149 /checksum/MD5/147 796s ok 150 /checksum/MD5/148 796s ok 151 /checksum/MD5/149 796s ok 152 /checksum/MD5/150 796s ok 153 /checksum/MD5/151 796s ok 154 /checksum/MD5/152 796s ok 155 /checksum/MD5/153 796s ok 156 /checksum/MD5/154 796s ok 157 /checksum/MD5/155 796s ok 158 /checksum/MD5/156 796s ok 159 /checksum/MD5/157 796s ok 160 /checksum/MD5/158 796s ok 161 /checksum/MD5/159 796s ok 162 /checksum/MD5/160 796s ok 163 /checksum/MD5/161 796s ok 164 /checksum/MD5/162 796s ok 165 /checksum/MD5/163 796s ok 166 /checksum/MD5/164 796s ok 167 /checksum/MD5/165 796s ok 168 /checksum/MD5/166 796s ok 169 /checksum/MD5/167 796s ok 170 /checksum/MD5/168 796s ok 171 /checksum/MD5/169 796s ok 172 /checksum/MD5/170 796s ok 173 /checksum/MD5/171 796s ok 174 /checksum/MD5/172 796s ok 175 /checksum/MD5/173 796s ok 176 /checksum/MD5/174 796s ok 177 /checksum/MD5/175 796s ok 178 /checksum/MD5/176 796s ok 179 /checksum/MD5/177 796s ok 180 /checksum/MD5/178 796s ok 181 /checksum/MD5/179 796s ok 182 /checksum/MD5/180 796s ok 183 /checksum/MD5/181 796s ok 184 /checksum/MD5/182 796s ok 185 /checksum/MD5/183 796s ok 186 /checksum/MD5/string 796s ok 187 /checksum/MD5/bytes 796s # Start of reset tests 796s ok 188 /checksum/MD5/reset/0 796s ok 189 /checksum/MD5/reset/1 796s ok 190 /checksum/MD5/reset/2 796s ok 191 /checksum/MD5/reset/3 796s ok 192 /checksum/MD5/reset/4 796s ok 193 /checksum/MD5/reset/5 796s ok 194 /checksum/MD5/reset/6 796s ok 195 /checksum/MD5/reset/7 796s ok 196 /checksum/MD5/reset/8 796s ok 197 /checksum/MD5/reset/9 796s ok 198 /checksum/MD5/reset/10 796s ok 199 /checksum/MD5/reset/11 796s ok 200 /checksum/MD5/reset/12 796s ok 201 /checksum/MD5/reset/13 796s ok 202 /checksum/MD5/reset/14 796s ok 203 /checksum/MD5/reset/15 796s ok 204 /checksum/MD5/reset/16 796s ok 205 /checksum/MD5/reset/17 796s ok 206 /checksum/MD5/reset/18 796s ok 207 /checksum/MD5/reset/19 796s ok 208 /checksum/MD5/reset/20 796s ok 209 /checksum/MD5/reset/21 796s ok 210 /checksum/MD5/reset/22 796s ok 211 /checksum/MD5/reset/23 796s ok 212 /checksum/MD5/reset/24 796s ok 213 /checksum/MD5/reset/25 796s ok 214 /checksum/MD5/reset/26 796s ok 215 /checksum/MD5/reset/27 796s ok 216 /checksum/MD5/reset/28 796s ok 217 /checksum/MD5/reset/29 796s ok 218 /checksum/MD5/reset/30 796s ok 219 /checksum/MD5/reset/31 796s ok 220 /checksum/MD5/reset/32 796s ok 221 /checksum/MD5/reset/33 796s ok 222 /checksum/MD5/reset/34 796s ok 223 /checksum/MD5/reset/35 796s ok 224 /checksum/MD5/reset/36 796s ok 225 /checksum/MD5/reset/37 796s ok 226 /checksum/MD5/reset/38 796s ok 227 /checksum/MD5/reset/39 796s ok 228 /checksum/MD5/reset/40 796s ok 229 /checksum/MD5/reset/41 796s ok 230 /checksum/MD5/reset/42 796s ok 231 /checksum/MD5/reset/43 796s ok 232 /checksum/MD5/reset/44 796s ok 233 /checksum/MD5/reset/45 796s ok 234 /checksum/MD5/reset/46 796s ok 235 /checksum/MD5/reset/47 796s ok 236 /checksum/MD5/reset/48 796s ok 237 /checksum/MD5/reset/49 796s ok 238 /checksum/MD5/reset/50 796s ok 239 /checksum/MD5/reset/51 796s ok 240 /checksum/MD5/reset/52 796s ok 241 /checksum/MD5/reset/53 796s ok 242 /checksum/MD5/reset/54 796s ok 243 /checksum/MD5/reset/55 796s ok 244 /checksum/MD5/reset/56 796s ok 245 /checksum/MD5/reset/57 796s ok 246 /checksum/MD5/reset/58 796s ok 247 /checksum/MD5/reset/59 796s ok 248 /checksum/MD5/reset/60 796s ok 249 /checksum/MD5/reset/61 796s ok 250 /checksum/MD5/reset/62 796s ok 251 /checksum/MD5/reset/63 796s ok 252 /checksum/MD5/reset/64 796s ok 253 /checksum/MD5/reset/65 796s ok 254 /checksum/MD5/reset/66 796s ok 255 /checksum/MD5/reset/67 796s ok 256 /checksum/MD5/reset/68 796s ok 257 /checksum/MD5/reset/69 796s ok 258 /checksum/MD5/reset/70 796s ok 259 /checksum/MD5/reset/71 796s ok 260 /checksum/MD5/reset/72 796s ok 261 /checksum/MD5/reset/73 796s ok 262 /checksum/MD5/reset/74 796s ok 263 /checksum/MD5/reset/75 796s ok 264 /checksum/MD5/reset/76 796s ok 265 /checksum/MD5/reset/77 796s ok 266 /checksum/MD5/reset/78 796s ok 267 /checksum/MD5/reset/79 796s ok 268 /checksum/MD5/reset/80 796s ok 269 /checksum/MD5/reset/81 796s ok 270 /checksum/MD5/reset/82 796s ok 271 /checksum/MD5/reset/83 796s ok 272 /checksum/MD5/reset/84 796s ok 273 /checksum/MD5/reset/85 796s ok 274 /checksum/MD5/reset/86 796s ok 275 /checksum/MD5/reset/87 796s ok 276 /checksum/MD5/reset/88 796s ok 277 /checksum/MD5/reset/89 796s ok 278 /checksum/MD5/reset/90 796s ok 279 /checksum/MD5/reset/91 796s ok 280 /checksum/MD5/reset/92 796s ok 281 /checksum/MD5/reset/93 796s ok 282 /checksum/MD5/reset/94 796s ok 283 /checksum/MD5/reset/95 796s ok 284 /checksum/MD5/reset/96 796s ok 285 /checksum/MD5/reset/97 796s ok 286 /checksum/MD5/reset/98 796s ok 287 /checksum/MD5/reset/99 796s ok 288 /checksum/MD5/reset/100 796s ok 289 /checksum/MD5/reset/101 796s ok 290 /checksum/MD5/reset/102 796s ok 291 /checksum/MD5/reset/103 796s ok 292 /checksum/MD5/reset/104 796s ok 293 /checksum/MD5/reset/105 796s ok 294 /checksum/MD5/reset/106 796s ok 295 /checksum/MD5/reset/107 796s ok 296 /checksum/MD5/reset/108 796s ok 297 /checksum/MD5/reset/109 796s ok 298 /checksum/MD5/reset/110 796s ok 299 /checksum/MD5/reset/111 796s ok 300 /checksum/MD5/reset/112 796s ok 301 /checksum/MD5/reset/113 796s ok 302 /checksum/MD5/reset/114 796s ok 303 /checksum/MD5/reset/115 796s ok 304 /checksum/MD5/reset/116 796s ok 305 /checksum/MD5/reset/117 796s ok 306 /checksum/MD5/reset/118 796s ok 307 /checksum/MD5/reset/119 796s ok 308 /checksum/MD5/reset/120 796s ok 309 /checksum/MD5/reset/121 796s ok 310 /checksum/MD5/reset/122 796s ok 311 /checksum/MD5/reset/123 796s ok 312 /checksum/MD5/reset/124 796s ok 313 /checksum/MD5/reset/125 796s ok 314 /checksum/MD5/reset/126 796s ok 315 /checksum/MD5/reset/127 796s ok 316 /checksum/MD5/reset/128 796s ok 317 /checksum/MD5/reset/129 796s ok 318 /checksum/MD5/reset/130 796s ok 319 /checksum/MD5/reset/131 796s ok 320 /checksum/MD5/reset/132 796s ok 321 /checksum/MD5/reset/133 796s ok 322 /checksum/MD5/reset/134 796s ok 323 /checksum/MD5/reset/135 796s ok 324 /checksum/MD5/reset/136 796s ok 325 /checksum/MD5/reset/137 796s ok 326 /checksum/MD5/reset/138 796s ok 327 /checksum/MD5/reset/139 796s ok 328 /checksum/MD5/reset/140 796s ok 329 /checksum/MD5/reset/141 796s ok 330 /checksum/MD5/reset/142 796s ok 331 /checksum/MD5/reset/143 796s ok 332 /checksum/MD5/reset/144 796s ok 333 /checksum/MD5/reset/145 796s ok 334 /checksum/MD5/reset/146 796s ok 335 /checksum/MD5/reset/147 796s ok 336 /checksum/MD5/reset/148 796s ok 337 /checksum/MD5/reset/149 796s ok 338 /checksum/MD5/reset/150 796s ok 339 /checksum/MD5/reset/151 796s ok 340 /checksum/MD5/reset/152 796s ok 341 /checksum/MD5/reset/153 796s ok 342 /checksum/MD5/reset/154 796s ok 343 /checksum/MD5/reset/155 796s ok 344 /checksum/MD5/reset/156 796s ok 345 /checksum/MD5/reset/157 796s ok 346 /checksum/MD5/reset/158 796s ok 347 /checksum/MD5/reset/159 796s ok 348 /checksum/MD5/reset/160 796s ok 349 /checksum/MD5/reset/161 796s ok 350 /checksum/MD5/reset/162 796s ok 351 /checksum/MD5/reset/163 796s ok 352 /checksum/MD5/reset/164 796s ok 353 /checksum/MD5/reset/165 796s ok 354 /checksum/MD5/reset/166 796s ok 355 /checksum/MD5/reset/167 796s ok 356 /checksum/MD5/reset/168 796s ok 357 /checksum/MD5/reset/169 796s ok 358 /checksum/MD5/reset/170 796s ok 359 /checksum/MD5/reset/171 796s ok 360 /checksum/MD5/reset/172 796s ok 361 /checksum/MD5/reset/173 796s ok 362 /checksum/MD5/reset/174 796s ok 363 /checksum/MD5/reset/175 796s ok 364 /checksum/MD5/reset/176 796s ok 365 /checksum/MD5/reset/177 796s ok 366 /checksum/MD5/reset/178 796s ok 367 /checksum/MD5/reset/179 796s ok 368 /checksum/MD5/reset/180 796s ok 369 /checksum/MD5/reset/181 796s ok 370 /checksum/MD5/reset/182 796s ok 371 /checksum/MD5/reset/183 796s # End of reset tests 796s # End of MD5 tests 796s # Start of SHA1 tests 796s ok 372 /checksum/SHA1/0 796s ok 373 /checksum/SHA1/1 796s ok 374 /checksum/SHA1/2 796s ok 375 /checksum/SHA1/3 796s ok 376 /checksum/SHA1/4 796s ok 377 /checksum/SHA1/5 796s ok 378 /checksum/SHA1/6 796s ok 379 /checksum/SHA1/7 796s ok 380 /checksum/SHA1/8 796s ok 381 /checksum/SHA1/9 796s ok 382 /checksum/SHA1/10 796s ok 383 /checksum/SHA1/11 796s ok 384 /checksum/SHA1/12 796s ok 385 /checksum/SHA1/13 796s ok 386 /checksum/SHA1/14 796s ok 387 /checksum/SHA1/15 796s ok 388 /checksum/SHA1/16 796s ok 389 /checksum/SHA1/17 796s ok 390 /checksum/SHA1/18 796s ok 391 /checksum/SHA1/19 796s ok 392 /checksum/SHA1/20 796s ok 393 /checksum/SHA1/21 796s ok 394 /checksum/SHA1/22 796s ok 395 /checksum/SHA1/23 796s ok 396 /checksum/SHA1/24 796s ok 397 /checksum/SHA1/25 796s ok 398 /checksum/SHA1/26 796s ok 399 /checksum/SHA1/27 796s ok 400 /checksum/SHA1/28 796s ok 401 /checksum/SHA1/29 796s ok 402 /checksum/SHA1/30 796s ok 403 /checksum/SHA1/31 796s ok 404 /checksum/SHA1/32 796s ok 405 /checksum/SHA1/33 796s ok 406 /checksum/SHA1/34 796s ok 407 /checksum/SHA1/35 796s ok 408 /checksum/SHA1/36 796s ok 409 /checksum/SHA1/37 796s ok 410 /checksum/SHA1/38 796s ok 411 /checksum/SHA1/39 796s ok 412 /checksum/SHA1/40 796s ok 413 /checksum/SHA1/41 796s ok 414 /checksum/SHA1/42 796s ok 415 /checksum/SHA1/43 796s ok 416 /checksum/SHA1/44 796s ok 417 /checksum/SHA1/45 796s ok 418 /checksum/SHA1/46 796s ok 419 /checksum/SHA1/47 796s ok 420 /checksum/SHA1/48 796s ok 421 /checksum/SHA1/49 796s ok 422 /checksum/SHA1/50 796s ok 423 /checksum/SHA1/51 796s ok 424 /checksum/SHA1/52 796s ok 425 /checksum/SHA1/53 796s ok 426 /checksum/SHA1/54 796s ok 427 /checksum/SHA1/55 796s ok 428 /checksum/SHA1/56 796s ok 429 /checksum/SHA1/57 796s ok 430 /checksum/SHA1/58 796s ok 431 /checksum/SHA1/59 796s ok 432 /checksum/SHA1/60 796s ok 433 /checksum/SHA1/61 796s ok 434 /checksum/SHA1/62 796s ok 435 /checksum/SHA1/63 796s ok 436 /checksum/SHA1/64 796s ok 437 /checksum/SHA1/65 796s ok 438 /checksum/SHA1/66 796s ok 439 /checksum/SHA1/67 796s ok 440 /checksum/SHA1/68 796s ok 441 /checksum/SHA1/69 796s ok 442 /checksum/SHA1/70 796s ok 443 /checksum/SHA1/71 796s ok 444 /checksum/SHA1/72 796s ok 445 /checksum/SHA1/73 796s ok 446 /checksum/SHA1/74 796s ok 447 /checksum/SHA1/75 796s ok 448 /checksum/SHA1/76 796s ok 449 /checksum/SHA1/77 796s ok 450 /checksum/SHA1/78 796s ok 451 /checksum/SHA1/79 796s ok 452 /checksum/SHA1/80 796s ok 453 /checksum/SHA1/81 796s ok 454 /checksum/SHA1/82 796s ok 455 /checksum/SHA1/83 796s ok 456 /checksum/SHA1/84 796s ok 457 /checksum/SHA1/85 796s ok 458 /checksum/SHA1/86 796s ok 459 /checksum/SHA1/87 796s ok 460 /checksum/SHA1/88 796s ok 461 /checksum/SHA1/89 796s ok 462 /checksum/SHA1/90 796s ok 463 /checksum/SHA1/91 796s ok 464 /checksum/SHA1/92 796s ok 465 /checksum/SHA1/93 796s ok 466 /checksum/SHA1/94 796s ok 467 /checksum/SHA1/95 796s ok 468 /checksum/SHA1/96 796s ok 469 /checksum/SHA1/97 796s ok 470 /checksum/SHA1/98 796s ok 471 /checksum/SHA1/99 796s ok 472 /checksum/SHA1/100 796s ok 473 /checksum/SHA1/101 796s ok 474 /checksum/SHA1/102 796s ok 475 /checksum/SHA1/103 796s ok 476 /checksum/SHA1/104 796s ok 477 /checksum/SHA1/105 796s ok 478 /checksum/SHA1/106 796s ok 479 /checksum/SHA1/107 796s ok 480 /checksum/SHA1/108 796s ok 481 /checksum/SHA1/109 796s ok 482 /checksum/SHA1/110 796s ok 483 /checksum/SHA1/111 796s ok 484 /checksum/SHA1/112 796s ok 485 /checksum/SHA1/113 796s ok 486 /checksum/SHA1/114 796s ok 487 /checksum/SHA1/115 796s ok 488 /checksum/SHA1/116 796s ok 489 /checksum/SHA1/117 796s ok 490 /checksum/SHA1/118 796s ok 491 /checksum/SHA1/119 796s ok 492 /checksum/SHA1/120 796s ok 493 /checksum/SHA1/121 796s ok 494 /checksum/SHA1/122 796s ok 495 /checksum/SHA1/123 796s ok 496 /checksum/SHA1/124 796s ok 497 /checksum/SHA1/125 796s ok 498 /checksum/SHA1/126 796s ok 499 /checksum/SHA1/127 796s ok 500 /checksum/SHA1/128 796s ok 501 /checksum/SHA1/129 796s ok 502 /checksum/SHA1/130 796s ok 503 /checksum/SHA1/131 796s ok 504 /checksum/SHA1/132 796s ok 505 /checksum/SHA1/133 796s ok 506 /checksum/SHA1/134 796s ok 507 /checksum/SHA1/135 796s ok 508 /checksum/SHA1/136 796s ok 509 /checksum/SHA1/137 796s ok 510 /checksum/SHA1/138 796s ok 511 /checksum/SHA1/139 796s ok 512 /checksum/SHA1/140 796s ok 513 /checksum/SHA1/141 796s ok 514 /checksum/SHA1/142 796s ok 515 /checksum/SHA1/143 796s ok 516 /checksum/SHA1/144 796s ok 517 /checksum/SHA1/145 796s ok 518 /checksum/SHA1/146 796s ok 519 /checksum/SHA1/147 796s ok 520 /checksum/SHA1/148 796s ok 521 /checksum/SHA1/149 796s ok 522 /checksum/SHA1/150 796s ok 523 /checksum/SHA1/151 796s ok 524 /checksum/SHA1/152 796s ok 525 /checksum/SHA1/153 796s ok 526 /checksum/SHA1/154 796s ok 527 /checksum/SHA1/155 796s ok 528 /checksum/SHA1/156 796s ok 529 /checksum/SHA1/157 796s ok 530 /checksum/SHA1/158 796s ok 531 /checksum/SHA1/159 796s ok 532 /checksum/SHA1/160 796s ok 533 /checksum/SHA1/161 796s ok 534 /checksum/SHA1/162 796s ok 535 /checksum/SHA1/163 796s ok 536 /checksum/SHA1/164 796s ok 537 /checksum/SHA1/165 796s ok 538 /checksum/SHA1/166 796s ok 539 /checksum/SHA1/167 796s ok 540 /checksum/SHA1/168 796s ok 541 /checksum/SHA1/169 796s ok 542 /checksum/SHA1/170 796s ok 543 /checksum/SHA1/171 796s ok 544 /checksum/SHA1/172 796s ok 545 /checksum/SHA1/173 796s ok 546 /checksum/SHA1/174 796s ok 547 /checksum/SHA1/175 796s ok 548 /checksum/SHA1/176 796s ok 549 /checksum/SHA1/177 796s ok 550 /checksum/SHA1/178 796s ok 551 /checksum/SHA1/179 796s ok 552 /checksum/SHA1/180 796s ok 553 /checksum/SHA1/181 796s ok 554 /checksum/SHA1/182 796s ok 555 /checksum/SHA1/183 796s ok 556 /checksum/SHA1/string 796s ok 557 /checksum/SHA1/bytes 796s # Start of reset tests 796s ok 558 /checksum/SHA1/reset/0 796s ok 559 /checksum/SHA1/reset/1 796s ok 560 /checksum/SHA1/reset/2 796s ok 561 /checksum/SHA1/reset/3 796s ok 562 /checksum/SHA1/reset/4 796s ok 563 /checksum/SHA1/reset/5 796s ok 564 /checksum/SHA1/reset/6 796s ok 565 /checksum/SHA1/reset/7 796s ok 566 /checksum/SHA1/reset/8 796s ok 567 /checksum/SHA1/reset/9 796s ok 568 /checksum/SHA1/reset/10 796s ok 569 /checksum/SHA1/reset/11 796s ok 570 /checksum/SHA1/reset/12 796s ok 571 /checksum/SHA1/reset/13 796s ok 572 /checksum/SHA1/reset/14 796s ok 573 /checksum/SHA1/reset/15 796s ok 574 /checksum/SHA1/reset/16 796s ok 575 /checksum/SHA1/reset/17 796s ok 576 /checksum/SHA1/reset/18 796s ok 577 /checksum/SHA1/reset/19 796s ok 578 /checksum/SHA1/reset/20 796s ok 579 /checksum/SHA1/reset/21 796s ok 580 /checksum/SHA1/reset/22 796s ok 581 /checksum/SHA1/reset/23 796s ok 582 /checksum/SHA1/reset/24 796s ok 583 /checksum/SHA1/reset/25 796s ok 584 /checksum/SHA1/reset/26 796s ok 585 /checksum/SHA1/reset/27 796s ok 586 /checksum/SHA1/reset/28 796s ok 587 /checksum/SHA1/reset/29 796s ok 588 /checksum/SHA1/reset/30 796s ok 589 /checksum/SHA1/reset/31 796s ok 590 /checksum/SHA1/reset/32 796s ok 591 /checksum/SHA1/reset/33 796s ok 592 /checksum/SHA1/reset/34 796s ok 593 /checksum/SHA1/reset/35 796s ok 594 /checksum/SHA1/reset/36 796s ok 595 /checksum/SHA1/reset/37 796s ok 596 /checksum/SHA1/reset/38 796s ok 597 /checksum/SHA1/reset/39 796s ok 598 /checksum/SHA1/reset/40 796s ok 599 /checksum/SHA1/reset/41 796s ok 600 /checksum/SHA1/reset/42 796s ok 601 /checksum/SHA1/reset/43 796s ok 602 /checksum/SHA1/reset/44 796s ok 603 /checksum/SHA1/reset/45 796s ok 604 /checksum/SHA1/reset/46 796s ok 605 /checksum/SHA1/reset/47 796s ok 606 /checksum/SHA1/reset/48 796s ok 607 /checksum/SHA1/reset/49 796s ok 608 /checksum/SHA1/reset/50 796s ok 609 /checksum/SHA1/reset/51 796s ok 610 /checksum/SHA1/reset/52 796s ok 611 /checksum/SHA1/reset/53 796s ok 612 /checksum/SHA1/reset/54 796s ok 613 /checksum/SHA1/reset/55 796s ok 614 /checksum/SHA1/reset/56 796s ok 615 /checksum/SHA1/reset/57 796s ok 616 /checksum/SHA1/reset/58 796s ok 617 /checksum/SHA1/reset/59 796s ok 618 /checksum/SHA1/reset/60 796s ok 619 /checksum/SHA1/reset/61 796s ok 620 /checksum/SHA1/reset/62 796s ok 621 /checksum/SHA1/reset/63 796s ok 622 /checksum/SHA1/reset/64 796s ok 623 /checksum/SHA1/reset/65 796s ok 624 /checksum/SHA1/reset/66 796s ok 625 /checksum/SHA1/reset/67 796s ok 626 /checksum/SHA1/reset/68 796s ok 627 /checksum/SHA1/reset/69 796s ok 628 /checksum/SHA1/reset/70 796s ok 629 /checksum/SHA1/reset/71 796s ok 630 /checksum/SHA1/reset/72 796s ok 631 /checksum/SHA1/reset/73 796s ok 632 /checksum/SHA1/reset/74 796s ok 633 /checksum/SHA1/reset/75 796s ok 634 /checksum/SHA1/reset/76 796s ok 635 /checksum/SHA1/reset/77 796s ok 636 /checksum/SHA1/reset/78 796s ok 637 /checksum/SHA1/reset/79 796s ok 638 /checksum/SHA1/reset/80 796s ok 639 /checksum/SHA1/reset/81 796s ok 640 /checksum/SHA1/reset/82 796s ok 641 /checksum/SHA1/reset/83 796s ok 642 /checksum/SHA1/reset/84 796s ok 643 /checksum/SHA1/reset/85 796s ok 644 /checksum/SHA1/reset/86 796s ok 645 /checksum/SHA1/reset/87 796s ok 646 /checksum/SHA1/reset/88 796s ok 647 /checksum/SHA1/reset/89 796s ok 648 /checksum/SHA1/reset/90 796s ok 649 /checksum/SHA1/reset/91 796s ok 650 /checksum/SHA1/reset/92 796s ok 651 /checksum/SHA1/reset/93 796s ok 652 /checksum/SHA1/reset/94 796s ok 653 /checksum/SHA1/reset/95 796s ok 654 /checksum/SHA1/reset/96 796s ok 655 /checksum/SHA1/reset/97 796s ok 656 /checksum/SHA1/reset/98 796s ok 657 /checksum/SHA1/reset/99 796s ok 658 /checksum/SHA1/reset/100 796s ok 659 /checksum/SHA1/reset/101 796s ok 660 /checksum/SHA1/reset/102 796s ok 661 /checksum/SHA1/reset/103 796s ok 662 /checksum/SHA1/reset/104 796s ok 663 /checksum/SHA1/reset/105 796s ok 664 /checksum/SHA1/reset/106 796s ok 665 /checksum/SHA1/reset/107 796s ok 666 /checksum/SHA1/reset/108 796s ok 667 /checksum/SHA1/reset/109 796s ok 668 /checksum/SHA1/reset/110 796s ok 669 /checksum/SHA1/reset/111 796s ok 670 /checksum/SHA1/reset/112 796s ok 671 /checksum/SHA1/reset/113 796s ok 672 /checksum/SHA1/reset/114 796s ok 673 /checksum/SHA1/reset/115 796s ok 674 /checksum/SHA1/reset/116 796s ok 675 /checksum/SHA1/reset/117 796s ok 676 /checksum/SHA1/reset/118 796s ok 677 /checksum/SHA1/reset/119 796s ok 678 /checksum/SHA1/reset/120 796s ok 679 /checksum/SHA1/reset/121 796s ok 680 /checksum/SHA1/reset/122 796s ok 681 /checksum/SHA1/reset/123 796s ok 682 /checksum/SHA1/reset/124 796s ok 683 /checksum/SHA1/reset/125 796s ok 684 /checksum/SHA1/reset/126 796s ok 685 /checksum/SHA1/reset/127 796s ok 686 /checksum/SHA1/reset/128 796s ok 687 /checksum/SHA1/reset/129 796s ok 688 /checksum/SHA1/reset/130 796s ok 689 /checksum/SHA1/reset/131 796s ok 690 /checksum/SHA1/reset/132 796s ok 691 /checksum/SHA1/reset/133 796s ok 692 /checksum/SHA1/reset/134 796s ok 693 /checksum/SHA1/reset/135 796s ok 694 /checksum/SHA1/reset/136 796s ok 695 /checksum/SHA1/reset/137 796s ok 696 /checksum/SHA1/reset/138 796s ok 697 /checksum/SHA1/reset/139 796s ok 698 /checksum/SHA1/reset/140 796s ok 699 /checksum/SHA1/reset/141 796s ok 700 /checksum/SHA1/reset/142 796s ok 701 /checksum/SHA1/reset/143 796s ok 702 /checksum/SHA1/reset/144 796s ok 703 /checksum/SHA1/reset/145 796s ok 704 /checksum/SHA1/reset/146 796s ok 705 /checksum/SHA1/reset/147 796s ok 706 /checksum/SHA1/reset/148 796s ok 707 /checksum/SHA1/reset/149 796s ok 708 /checksum/SHA1/reset/150 796s ok 709 /checksum/SHA1/reset/151 796s ok 710 /checksum/SHA1/reset/152 796s ok 711 /checksum/SHA1/reset/153 796s ok 712 /checksum/SHA1/reset/154 796s ok 713 /checksum/SHA1/reset/155 796s ok 714 /checksum/SHA1/reset/156 796s ok 715 /checksum/SHA1/reset/157 796s ok 716 /checksum/SHA1/reset/158 796s ok 717 /checksum/SHA1/reset/159 796s ok 718 /checksum/SHA1/reset/160 796s ok 719 /checksum/SHA1/reset/161 796s ok 720 /checksum/SHA1/reset/162 796s ok 721 /checksum/SHA1/reset/163 796s ok 722 /checksum/SHA1/reset/164 796s ok 723 /checksum/SHA1/reset/165 796s ok 724 /checksum/SHA1/reset/166 796s ok 725 /checksum/SHA1/reset/167 796s ok 726 /checksum/SHA1/reset/168 796s ok 727 /checksum/SHA1/reset/169 796s ok 728 /checksum/SHA1/reset/170 796s ok 729 /checksum/SHA1/reset/171 796s ok 730 /checksum/SHA1/reset/172 796s ok 731 /checksum/SHA1/reset/173 796s ok 732 /checksum/SHA1/reset/174 796s ok 733 /checksum/SHA1/reset/175 796s ok 734 /checksum/SHA1/reset/176 796s ok 735 /checksum/SHA1/reset/177 796s ok 736 /checksum/SHA1/reset/178 796s ok 737 /checksum/SHA1/reset/179 796s ok 738 /checksum/SHA1/reset/180 796s ok 739 /checksum/SHA1/reset/181 796s ok 740 /checksum/SHA1/reset/182 796s ok 741 /checksum/SHA1/reset/183 796s # End of reset tests 796s # End of SHA1 tests 796s # Start of SHA256 tests 796s ok 742 /checksum/SHA256/0 796s ok 743 /checksum/SHA256/1 796s ok 744 /checksum/SHA256/2 796s ok 745 /checksum/SHA256/3 796s ok 746 /checksum/SHA256/4 796s ok 747 /checksum/SHA256/5 796s ok 748 /checksum/SHA256/6 796s ok 749 /checksum/SHA256/7 796s ok 750 /checksum/SHA256/8 796s ok 751 /checksum/SHA256/9 796s ok 752 /checksum/SHA256/10 796s ok 753 /checksum/SHA256/11 796s ok 754 /checksum/SHA256/12 796s ok 755 /checksum/SHA256/13 796s ok 756 /checksum/SHA256/14 796s ok 757 /checksum/SHA256/15 796s ok 758 /checksum/SHA256/16 796s ok 759 /checksum/SHA256/17 796s ok 760 /checksum/SHA256/18 796s ok 761 /checksum/SHA256/19 796s ok 762 /checksum/SHA256/20 796s ok 763 /checksum/SHA256/21 796s ok 764 /checksum/SHA256/22 796s ok 765 /checksum/SHA256/23 796s ok 766 /checksum/SHA256/24 796s ok 767 /checksum/SHA256/25 796s ok 768 /checksum/SHA256/26 796s ok 769 /checksum/SHA256/27 796s ok 770 /checksum/SHA256/28 796s ok 771 /checksum/SHA256/29 796s ok 772 /checksum/SHA256/30 796s ok 773 /checksum/SHA256/31 796s ok 774 /checksum/SHA256/32 796s ok 775 /checksum/SHA256/33 796s ok 776 /checksum/SHA256/34 796s ok 777 /checksum/SHA256/35 796s ok 778 /checksum/SHA256/36 796s ok 779 /checksum/SHA256/37 796s ok 780 /checksum/SHA256/38 796s ok 781 /checksum/SHA256/39 796s ok 782 /checksum/SHA256/40 796s ok 783 /checksum/SHA256/41 796s ok 784 /checksum/SHA256/42 796s ok 785 /checksum/SHA256/43 796s ok 786 /checksum/SHA256/44 796s ok 787 /checksum/SHA256/45 796s ok 788 /checksum/SHA256/46 796s ok 789 /checksum/SHA256/47 796s ok 790 /checksum/SHA256/48 796s ok 791 /checksum/SHA256/49 796s ok 792 /checksum/SHA256/50 796s ok 793 /checksum/SHA256/51 796s ok 794 /checksum/SHA256/52 796s ok 795 /checksum/SHA256/53 796s ok 796 /checksum/SHA256/54 796s ok 797 /checksum/SHA256/55 796s ok 798 /checksum/SHA256/56 796s ok 799 /checksum/SHA256/57 796s ok 800 /checksum/SHA256/58 796s ok 801 /checksum/SHA256/59 796s ok 802 /checksum/SHA256/60 796s ok 803 /checksum/SHA256/61 796s ok 804 /checksum/SHA256/62 796s ok 805 /checksum/SHA256/63 796s ok 806 /checksum/SHA256/64 796s ok 807 /checksum/SHA256/65 796s ok 808 /checksum/SHA256/66 796s ok 809 /checksum/SHA256/67 796s ok 810 /checksum/SHA256/68 796s ok 811 /checksum/SHA256/69 796s ok 812 /checksum/SHA256/70 796s ok 813 /checksum/SHA256/71 796s ok 814 /checksum/SHA256/72 796s ok 815 /checksum/SHA256/73 796s ok 816 /checksum/SHA256/74 796s ok 817 /checksum/SHA256/75 796s ok 818 /checksum/SHA256/76 796s ok 819 /checksum/SHA256/77 796s ok 820 /checksum/SHA256/78 796s ok 821 /checksum/SHA256/79 796s ok 822 /checksum/SHA256/80 796s ok 823 /checksum/SHA256/81 796s ok 824 /checksum/SHA256/82 796s ok 825 /checksum/SHA256/83 796s ok 826 /checksum/SHA256/84 796s ok 827 /checksum/SHA256/85 796s ok 828 /checksum/SHA256/86 796s ok 829 /checksum/SHA256/87 796s ok 830 /checksum/SHA256/88 796s ok 831 /checksum/SHA256/89 796s ok 832 /checksum/SHA256/90 796s ok 833 /checksum/SHA256/91 796s ok 834 /checksum/SHA256/92 796s ok 835 /checksum/SHA256/93 796s ok 836 /checksum/SHA256/94 796s ok 837 /checksum/SHA256/95 796s ok 838 /checksum/SHA256/96 796s ok 839 /checksum/SHA256/97 796s ok 840 /checksum/SHA256/98 796s ok 841 /checksum/SHA256/99 796s ok 842 /checksum/SHA256/100 796s ok 843 /checksum/SHA256/101 796s ok 844 /checksum/SHA256/102 796s ok 845 /checksum/SHA256/103 796s ok 846 /checksum/SHA256/104 796s ok 847 /checksum/SHA256/105 796s ok 848 /checksum/SHA256/106 796s ok 849 /checksum/SHA256/107 796s ok 850 /checksum/SHA256/108 796s ok 851 /checksum/SHA256/109 796s ok 852 /checksum/SHA256/110 796s ok 853 /checksum/SHA256/111 796s ok 854 /checksum/SHA256/112 796s ok 855 /checksum/SHA256/113 796s ok 856 /checksum/SHA256/114 796s ok 857 /checksum/SHA256/115 796s ok 858 /checksum/SHA256/116 796s ok 859 /checksum/SHA256/117 796s ok 860 /checksum/SHA256/118 796s ok 861 /checksum/SHA256/119 796s ok 862 /checksum/SHA256/120 796s ok 863 /checksum/SHA256/121 796s ok 864 /checksum/SHA256/122 796s ok 865 /checksum/SHA256/123 796s ok 866 /checksum/SHA256/124 796s ok 867 /checksum/SHA256/125 796s ok 868 /checksum/SHA256/126 796s ok 869 /checksum/SHA256/127 796s ok 870 /checksum/SHA256/128 796s ok 871 /checksum/SHA256/129 796s ok 872 /checksum/SHA256/130 796s ok 873 /checksum/SHA256/131 796s ok 874 /checksum/SHA256/132 796s ok 875 /checksum/SHA256/133 796s ok 876 /checksum/SHA256/134 796s ok 877 /checksum/SHA256/135 796s ok 878 /checksum/SHA256/136 796s ok 879 /checksum/SHA256/137 796s ok 880 /checksum/SHA256/138 796s ok 881 /checksum/SHA256/139 796s ok 882 /checksum/SHA256/140 796s ok 883 /checksum/SHA256/141 796s ok 884 /checksum/SHA256/142 796s ok 885 /checksum/SHA256/143 796s ok 886 /checksum/SHA256/144 796s ok 887 /checksum/SHA256/145 796s ok 888 /checksum/SHA256/146 796s ok 889 /checksum/SHA256/147 796s ok 890 /checksum/SHA256/148 796s ok 891 /checksum/SHA256/149 796s ok 892 /checksum/SHA256/150 796s ok 893 /checksum/SHA256/151 796s ok 894 /checksum/SHA256/152 796s ok 895 /checksum/SHA256/153 796s ok 896 /checksum/SHA256/154 796s ok 897 /checksum/SHA256/155 796s ok 898 /checksum/SHA256/156 796s ok 899 /checksum/SHA256/157 796s ok 900 /checksum/SHA256/158 796s ok 901 /checksum/SHA256/159 796s ok 902 /checksum/SHA256/160 796s ok 903 /checksum/SHA256/161 796s ok 904 /checksum/SHA256/162 796s ok 905 /checksum/SHA256/163 796s ok 906 /checksum/SHA256/164 796s ok 907 /checksum/SHA256/165 796s ok 908 /checksum/SHA256/166 796s ok 909 /checksum/SHA256/167 796s ok 910 /checksum/SHA256/168 796s ok 911 /checksum/SHA256/169 796s ok 912 /checksum/SHA256/170 796s ok 913 /checksum/SHA256/171 796s ok 914 /checksum/SHA256/172 796s ok 915 /checksum/SHA256/173 796s ok 916 /checksum/SHA256/174 796s ok 917 /checksum/SHA256/175 796s ok 918 /checksum/SHA256/176 796s ok 919 /checksum/SHA256/177 796s ok 920 /checksum/SHA256/178 796s ok 921 /checksum/SHA256/179 796s ok 922 /checksum/SHA256/180 796s ok 923 /checksum/SHA256/181 796s ok 924 /checksum/SHA256/182 796s ok 925 /checksum/SHA256/183 796s ok 926 /checksum/SHA256/string 796s ok 927 /checksum/SHA256/bytes 796s # Start of reset tests 796s ok 928 /checksum/SHA256/reset/0 796s ok 929 /checksum/SHA256/reset/1 796s ok 930 /checksum/SHA256/reset/2 796s ok 931 /checksum/SHA256/reset/3 796s ok 932 /checksum/SHA256/reset/4 796s ok 933 /checksum/SHA256/reset/5 796s ok 934 /checksum/SHA256/reset/6 796s ok 935 /checksum/SHA256/reset/7 796s ok 936 /checksum/SHA256/reset/8 796s ok 937 /checksum/SHA256/reset/9 796s ok 938 /checksum/SHA256/reset/10 796s ok 939 /checksum/SHA256/reset/11 796s ok 940 /checksum/SHA256/reset/12 796s ok 941 /checksum/SHA256/reset/13 796s ok 942 /checksum/SHA256/reset/14 796s ok 943 /checksum/SHA256/reset/15 796s ok 944 /checksum/SHA256/reset/16 796s ok 945 /checksum/SHA256/reset/17 796s ok 946 /checksum/SHA256/reset/18 796s ok 947 /checksum/SHA256/reset/19 796s ok 948 /checksum/SHA256/reset/20 796s ok 949 /checksum/SHA256/reset/21 796s ok 950 /checksum/SHA256/reset/22 796s ok 951 /checksum/SHA256/reset/23 796s ok 952 /checksum/SHA256/reset/24 796s ok 953 /checksum/SHA256/reset/25 796s ok 954 /checksum/SHA256/reset/26 796s ok 955 /checksum/SHA256/reset/27 796s ok 956 /checksum/SHA256/reset/28 796s ok 957 /checksum/SHA256/reset/29 796s ok 958 /checksum/SHA256/reset/30 796s ok 959 /checksum/SHA256/reset/31 796s ok 960 /checksum/SHA256/reset/32 796s ok 961 /checksum/SHA256/reset/33 796s ok 962 /checksum/SHA256/reset/34 796s ok 963 /checksum/SHA256/reset/35 796s ok 964 /checksum/SHA256/reset/36 796s ok 965 /checksum/SHA256/reset/37 796s ok 966 /checksum/SHA256/reset/38 796s ok 967 /checksum/SHA256/reset/39 796s ok 968 /checksum/SHA256/reset/40 796s ok 969 /checksum/SHA256/reset/41 796s ok 970 /checksum/SHA256/reset/42 796s ok 971 /checksum/SHA256/reset/43 796s ok 972 /checksum/SHA256/reset/44 796s ok 973 /checksum/SHA256/reset/45 796s ok 974 /checksum/SHA256/reset/46 796s ok 975 /checksum/SHA256/reset/47 796s ok 976 /checksum/SHA256/reset/48 796s ok 977 /checksum/SHA256/reset/49 796s ok 978 /checksum/SHA256/reset/50 796s ok 979 /checksum/SHA256/reset/51 796s ok 980 /checksum/SHA256/reset/52 796s ok 981 /checksum/SHA256/reset/53 796s ok 982 /checksum/SHA256/reset/54 796s ok 983 /checksum/SHA256/reset/55 796s ok 984 /checksum/SHA256/reset/56 796s ok 985 /checksum/SHA256/reset/57 796s ok 986 /checksum/SHA256/reset/58 796s ok 987 /checksum/SHA256/reset/59 796s ok 988 /checksum/SHA256/reset/60 796s ok 989 /checksum/SHA256/reset/61 796s ok 990 /checksum/SHA256/reset/62 796s ok 991 /checksum/SHA256/reset/63 796s ok 992 /checksum/SHA256/reset/64 796s ok 993 /checksum/SHA256/reset/65 796s ok 994 /checksum/SHA256/reset/66 796s ok 995 /checksum/SHA256/reset/67 796s ok 996 /checksum/SHA256/reset/68 796s ok 997 /checksum/SHA256/reset/69 796s ok 998 /checksum/SHA256/reset/70 796s ok 999 /checksum/SHA256/reset/71 796s ok 1000 /checksum/SHA256/reset/72 796s ok 1001 /checksum/SHA256/reset/73 796s ok 1002 /checksum/SHA256/reset/74 796s ok 1003 /checksum/SHA256/reset/75 796s ok 1004 /checksum/SHA256/reset/76 796s ok 1005 /checksum/SHA256/reset/77 796s ok 1006 /checksum/SHA256/reset/78 796s ok 1007 /checksum/SHA256/reset/79 796s ok 1008 /checksum/SHA256/reset/80 796s ok 1009 /checksum/SHA256/reset/81 796s ok 1010 /checksum/SHA256/reset/82 796s ok 1011 /checksum/SHA256/reset/83 796s ok 1012 /checksum/SHA256/reset/84 796s ok 1013 /checksum/SHA256/reset/85 796s ok 1014 /checksum/SHA256/reset/86 796s ok 1015 /checksum/SHA256/reset/87 796s ok 1016 /checksum/SHA256/reset/88 796s ok 1017 /checksum/SHA256/reset/89 796s ok 1018 /checksum/SHA256/reset/90 796s ok 1019 /checksum/SHA256/reset/91 796s ok 1020 /checksum/SHA256/reset/92 796s ok 1021 /checksum/SHA256/reset/93 796s ok 1022 /checksum/SHA256/reset/94 796s ok 1023 /checksum/SHA256/reset/95 796s ok 1024 /checksum/SHA256/reset/96 796s ok 1025 /checksum/SHA256/reset/97 796s ok 1026 /checksum/SHA256/reset/98 796s ok 1027 /checksum/SHA256/reset/99 796s ok 1028 /checksum/SHA256/reset/100 796s ok 1029 /checksum/SHA256/reset/101 796s ok 1030 /checksum/SHA256/reset/102 796s ok 1031 /checksum/SHA256/reset/103 796s ok 1032 /checksum/SHA256/reset/104 796s ok 1033 /checksum/SHA256/reset/105 796s ok 1034 /checksum/SHA256/reset/106 796s ok 1035 /checksum/SHA256/reset/107 796s ok 1036 /checksum/SHA256/reset/108 796s ok 1037 /checksum/SHA256/reset/109 796s ok 1038 /checksum/SHA256/reset/110 796s ok 1039 /checksum/SHA256/reset/111 796s ok 1040 /checksum/SHA256/reset/112 796s ok 1041 /checksum/SHA256/reset/113 796s ok 1042 /checksum/SHA256/reset/114 796s ok 1043 /checksum/SHA256/reset/115 796s ok 1044 /checksum/SHA256/reset/116 796s ok 1045 /checksum/SHA256/reset/117 796s ok 1046 /checksum/SHA256/reset/118 796s ok 1047 /checksum/SHA256/reset/119 796s ok 1048 /checksum/SHA256/reset/120 796s ok 1049 /checksum/SHA256/reset/121 796s ok 1050 /checksum/SHA256/reset/122 796s ok 1051 /checksum/SHA256/reset/123 796s ok 1052 /checksum/SHA256/reset/124 796s ok 1053 /checksum/SHA256/reset/125 796s ok 1054 /checksum/SHA256/reset/126 796s ok 1055 /checksum/SHA256/reset/127 796s ok 1056 /checksum/SHA256/reset/128 796s ok 1057 /checksum/SHA256/reset/129 796s ok 1058 /checksum/SHA256/reset/130 796s ok 1059 /checksum/SHA256/reset/131 796s ok 1060 /checksum/SHA256/reset/132 796s ok 1061 /checksum/SHA256/reset/133 796s ok 1062 /checksum/SHA256/reset/134 796s ok 1063 /checksum/SHA256/reset/135 796s ok 1064 /checksum/SHA256/reset/136 796s ok 1065 /checksum/SHA256/reset/137 796s ok 1066 /checksum/SHA256/reset/138 796s ok 1067 /checksum/SHA256/reset/139 796s ok 1068 /checksum/SHA256/reset/140 796s ok 1069 /checksum/SHA256/reset/141 796s ok 1070 /checksum/SHA256/reset/142 796s ok 1071 /checksum/SHA256/reset/143 796s ok 1072 /checksum/SHA256/reset/144 796s ok 1073 /checksum/SHA256/reset/145 796s ok 1074 /checksum/SHA256/reset/146 796s ok 1075 /checksum/SHA256/reset/147 796s ok 1076 /checksum/SHA256/reset/148 796s ok 1077 /checksum/SHA256/reset/149 796s ok 1078 /checksum/SHA256/reset/150 796s ok 1079 /checksum/SHA256/reset/151 796s ok 1080 /checksum/SHA256/reset/152 796s ok 1081 /checksum/SHA256/reset/153 796s ok 1082 /checksum/SHA256/reset/154 796s ok 1083 /checksum/SHA256/reset/155 796s ok 1084 /checksum/SHA256/reset/156 796s ok 1085 /checksum/SHA256/reset/157 796s ok 1086 /checksum/SHA256/reset/158 796s ok 1087 /checksum/SHA256/reset/159 796s ok 1088 /checksum/SHA256/reset/160 796s ok 1089 /checksum/SHA256/reset/161 796s ok 1090 /checksum/SHA256/reset/162 796s ok 1091 /checksum/SHA256/reset/163 796s ok 1092 /checksum/SHA256/reset/164 796s ok 1093 /checksum/SHA256/reset/165 796s ok 1094 /checksum/SHA256/reset/166 796s ok 1095 /checksum/SHA256/reset/167 796s ok 1096 /checksum/SHA256/reset/168 796s ok 1097 /checksum/SHA256/reset/169 796s ok 1098 /checksum/SHA256/reset/170 796s ok 1099 /checksum/SHA256/reset/171 796s ok 1100 /checksum/SHA256/reset/172 796s ok 1101 /checksum/SHA256/reset/173 796s ok 1102 /checksum/SHA256/reset/174 796s ok 1103 /checksum/SHA256/reset/175 796s ok 1104 /checksum/SHA256/reset/176 796s ok 1105 /checksum/SHA256/reset/177 796s ok 1106 /checksum/SHA256/reset/178 796s ok 1107 /checksum/SHA256/reset/179 796s ok 1108 /checksum/SHA256/reset/180 796s ok 1109 /checksum/SHA256/reset/181 796s ok 1110 /checksum/SHA256/reset/182 796s ok 1111 /checksum/SHA256/reset/183 796s # End of reset tests 796s # End of SHA256 tests 796s # Start of SHA384 tests 796s ok 1112 /checksum/SHA384/0 796s ok 1113 /checksum/SHA384/1 796s ok 1114 /checksum/SHA384/2 796s ok 1115 /checksum/SHA384/3 796s ok 1116 /checksum/SHA384/4 796s ok 1117 /checksum/SHA384/5 796s ok 1118 /checksum/SHA384/6 796s ok 1119 /checksum/SHA384/7 796s ok 1120 /checksum/SHA384/8 796s ok 1121 /checksum/SHA384/9 796s ok 1122 /checksum/SHA384/10 796s ok 1123 /checksum/SHA384/11 796s ok 1124 /checksum/SHA384/12 796s ok 1125 /checksum/SHA384/13 796s ok 1126 /checksum/SHA384/14 796s ok 1127 /checksum/SHA384/15 796s ok 1128 /checksum/SHA384/16 796s ok 1129 /checksum/SHA384/17 796s ok 1130 /checksum/SHA384/18 796s ok 1131 /checksum/SHA384/19 796s ok 1132 /checksum/SHA384/20 796s ok 1133 /checksum/SHA384/21 796s ok 1134 /checksum/SHA384/22 796s ok 1135 /checksum/SHA384/23 796s ok 1136 /checksum/SHA384/24 796s ok 1137 /checksum/SHA384/25 796s ok 1138 /checksum/SHA384/26 796s ok 1139 /checksum/SHA384/27 796s ok 1140 /checksum/SHA384/28 796s ok 1141 /checksum/SHA384/29 796s ok 1142 /checksum/SHA384/30 796s ok 1143 /checksum/SHA384/31 796s ok 1144 /checksum/SHA384/32 796s ok 1145 /checksum/SHA384/33 796s ok 1146 /checksum/SHA384/34 796s ok 1147 /checksum/SHA384/35 796s ok 1148 /checksum/SHA384/36 796s ok 1149 /checksum/SHA384/37 796s ok 1150 /checksum/SHA384/38 796s ok 1151 /checksum/SHA384/39 796s ok 1152 /checksum/SHA384/40 796s ok 1153 /checksum/SHA384/41 796s ok 1154 /checksum/SHA384/42 796s ok 1155 /checksum/SHA384/43 796s ok 1156 /checksum/SHA384/44 796s ok 1157 /checksum/SHA384/45 796s ok 1158 /checksum/SHA384/46 796s ok 1159 /checksum/SHA384/47 796s ok 1160 /checksum/SHA384/48 796s ok 1161 /checksum/SHA384/49 796s ok 1162 /checksum/SHA384/50 796s ok 1163 /checksum/SHA384/51 796s ok 1164 /checksum/SHA384/52 796s ok 1165 /checksum/SHA384/53 796s ok 1166 /checksum/SHA384/54 796s ok 1167 /checksum/SHA384/55 796s ok 1168 /checksum/SHA384/56 796s ok 1169 /checksum/SHA384/57 796s ok 1170 /checksum/SHA384/58 796s ok 1171 /checksum/SHA384/59 796s ok 1172 /checksum/SHA384/60 796s ok 1173 /checksum/SHA384/61 796s ok 1174 /checksum/SHA384/62 796s ok 1175 /checksum/SHA384/63 796s ok 1176 /checksum/SHA384/64 796s ok 1177 /checksum/SHA384/65 796s ok 1178 /checksum/SHA384/66 796s ok 1179 /checksum/SHA384/67 796s ok 1180 /checksum/SHA384/68 796s ok 1181 /checksum/SHA384/69 796s ok 1182 /checksum/SHA384/70 796s ok 1183 /checksum/SHA384/71 796s ok 1184 /checksum/SHA384/72 796s ok 1185 /checksum/SHA384/73 796s ok 1186 /checksum/SHA384/74 796s ok 1187 /checksum/SHA384/75 796s ok 1188 /checksum/SHA384/76 796s ok 1189 /checksum/SHA384/77 796s ok 1190 /checksum/SHA384/78 796s ok 1191 /checksum/SHA384/79 796s ok 1192 /checksum/SHA384/80 796s ok 1193 /checksum/SHA384/81 796s ok 1194 /checksum/SHA384/82 796s ok 1195 /checksum/SHA384/83 796s ok 1196 /checksum/SHA384/84 796s ok 1197 /checksum/SHA384/85 796s ok 1198 /checksum/SHA384/86 796s ok 1199 /checksum/SHA384/87 796s ok 1200 /checksum/SHA384/88 796s ok 1201 /checksum/SHA384/89 796s ok 1202 /checksum/SHA384/90 796s ok 1203 /checksum/SHA384/91 796s ok 1204 /checksum/SHA384/92 796s ok 1205 /checksum/SHA384/93 796s ok 1206 /checksum/SHA384/94 796s ok 1207 /checksum/SHA384/95 796s ok 1208 /checksum/SHA384/96 796s ok 1209 /checksum/SHA384/97 796s ok 1210 /checksum/SHA384/98 796s ok 1211 /checksum/SHA384/99 796s ok 1212 /checksum/SHA384/100 796s ok 1213 /checksum/SHA384/101 796s ok 1214 /checksum/SHA384/102 796s ok 1215 /checksum/SHA384/103 796s ok 1216 /checksum/SHA384/104 796s ok 1217 /checksum/SHA384/105 796s ok 1218 /checksum/SHA384/106 796s ok 1219 /checksum/SHA384/107 796s ok 1220 /checksum/SHA384/108 796s ok 1221 /checksum/SHA384/109 796s ok 1222 /checksum/SHA384/110 796s ok 1223 /checksum/SHA384/111 796s ok 1224 /checksum/SHA384/112 796s ok 1225 /checksum/SHA384/113 796s ok 1226 /checksum/SHA384/114 796s ok 1227 /checksum/SHA384/115 796s ok 1228 /checksum/SHA384/116 796s ok 1229 /checksum/SHA384/117 796s ok 1230 /checksum/SHA384/118 796s ok 1231 /checksum/SHA384/119 796s ok 1232 /checksum/SHA384/120 796s ok 1233 /checksum/SHA384/121 796s ok 1234 /checksum/SHA384/122 796s ok 1235 /checksum/SHA384/123 796s ok 1236 /checksum/SHA384/124 796s ok 1237 /checksum/SHA384/125 796s ok 1238 /checksum/SHA384/126 796s ok 1239 /checksum/SHA384/127 796s ok 1240 /checksum/SHA384/128 796s ok 1241 /checksum/SHA384/129 796s ok 1242 /checksum/SHA384/130 796s ok 1243 /checksum/SHA384/131 796s ok 1244 /checksum/SHA384/132 796s ok 1245 /checksum/SHA384/133 796s ok 1246 /checksum/SHA384/134 796s ok 1247 /checksum/SHA384/135 796s ok 1248 /checksum/SHA384/136 796s ok 1249 /checksum/SHA384/137 796s ok 1250 /checksum/SHA384/138 796s ok 1251 /checksum/SHA384/139 796s ok 1252 /checksum/SHA384/140 796s ok 1253 /checksum/SHA384/141 796s ok 1254 /checksum/SHA384/142 796s ok 1255 /checksum/SHA384/143 796s ok 1256 /checksum/SHA384/144 796s ok 1257 /checksum/SHA384/145 796s ok 1258 /checksum/SHA384/146 796s ok 1259 /checksum/SHA384/147 796s ok 1260 /checksum/SHA384/148 796s ok 1261 /checksum/SHA384/149 796s ok 1262 /checksum/SHA384/150 796s ok 1263 /checksum/SHA384/151 796s ok 1264 /checksum/SHA384/152 796s ok 1265 /checksum/SHA384/153 796s ok 1266 /checksum/SHA384/154 796s ok 1267 /checksum/SHA384/155 796s ok 1268 /checksum/SHA384/156 796s ok 1269 /checksum/SHA384/157 796s ok 1270 /checksum/SHA384/158 796s ok 1271 /checksum/SHA384/159 796s ok 1272 /checksum/SHA384/160 796s ok 1273 /checksum/SHA384/161 796s ok 1274 /checksum/SHA384/162 796s ok 1275 /checksum/SHA384/163 796s ok 1276 /checksum/SHA384/164 796s ok 1277 /checksum/SHA384/165 796s ok 1278 /checksum/SHA384/166 796s ok 1279 /checksum/SHA384/167 796s ok 1280 /checksum/SHA384/168 796s ok 1281 /checksum/SHA384/169 796s ok 1282 /checksum/SHA384/170 796s ok 1283 /checksum/SHA384/171 796s ok 1284 /checksum/SHA384/172 796s ok 1285 /checksum/SHA384/173 796s ok 1286 /checksum/SHA384/174 796s ok 1287 /checksum/SHA384/175 796s ok 1288 /checksum/SHA384/176 796s ok 1289 /checksum/SHA384/177 796s ok 1290 /checksum/SHA384/178 796s ok 1291 /checksum/SHA384/179 796s ok 1292 /checksum/SHA384/180 796s ok 1293 /checksum/SHA384/181 796s ok 1294 /checksum/SHA384/182 796s ok 1295 /checksum/SHA384/183 796s ok 1296 /checksum/SHA384/string 796s ok 1297 /checksum/SHA384/bytes 796s # Start of reset tests 796s ok 1298 /checksum/SHA384/reset/0 796s ok 1299 /checksum/SHA384/reset/1 796s ok 1300 /checksum/SHA384/reset/2 796s ok 1301 /checksum/SHA384/reset/3 796s ok 1302 /checksum/SHA384/reset/4 796s ok 1303 /checksum/SHA384/reset/5 796s ok 1304 /checksum/SHA384/reset/6 796s ok 1305 /checksum/SHA384/reset/7 796s ok 1306 /checksum/SHA384/reset/8 796s ok 1307 /checksum/SHA384/reset/9 796s ok 1308 /checksum/SHA384/reset/10 796s ok 1309 /checksum/SHA384/reset/11 796s ok 1310 /checksum/SHA384/reset/12 796s ok 1311 /checksum/SHA384/reset/13 796s ok 1312 /checksum/SHA384/reset/14 796s ok 1313 /checksum/SHA384/reset/15 796s ok 1314 /checksum/SHA384/reset/16 796s ok 1315 /checksum/SHA384/reset/17 796s ok 1316 /checksum/SHA384/reset/18 796s ok 1317 /checksum/SHA384/reset/19 796s ok 1318 /checksum/SHA384/reset/20 796s ok 1319 /checksum/SHA384/reset/21 796s ok 1320 /checksum/SHA384/reset/22 796s ok 1321 /checksum/SHA384/reset/23 796s ok 1322 /checksum/SHA384/reset/24 796s ok 1323 /checksum/SHA384/reset/25 796s ok 1324 /checksum/SHA384/reset/26 796s ok 1325 /checksum/SHA384/reset/27 796s ok 1326 /checksum/SHA384/reset/28 796s ok 1327 /checksum/SHA384/reset/29 796s ok 1328 /checksum/SHA384/reset/30 796s ok 1329 /checksum/SHA384/reset/31 796s ok 1330 /checksum/SHA384/reset/32 796s ok 1331 /checksum/SHA384/reset/33 796s ok 1332 /checksum/SHA384/reset/34 796s ok 1333 /checksum/SHA384/reset/35 796s ok 1334 /checksum/SHA384/reset/36 796s ok 1335 /checksum/SHA384/reset/37 796s ok 1336 /checksum/SHA384/reset/38 796s ok 1337 /checksum/SHA384/reset/39 796s ok 1338 /checksum/SHA384/reset/40 796s ok 1339 /checksum/SHA384/reset/41 796s ok 1340 /checksum/SHA384/reset/42 796s ok 1341 /checksum/SHA384/reset/43 796s ok 1342 /checksum/SHA384/reset/44 796s ok 1343 /checksum/SHA384/reset/45 796s ok 1344 /checksum/SHA384/reset/46 796s ok 1345 /checksum/SHA384/reset/47 796s ok 1346 /checksum/SHA384/reset/48 796s ok 1347 /checksum/SHA384/reset/49 796s ok 1348 /checksum/SHA384/reset/50 796s ok 1349 /checksum/SHA384/reset/51 796s ok 1350 /checksum/SHA384/reset/52 796s ok 1351 /checksum/SHA384/reset/53 796s ok 1352 /checksum/SHA384/reset/54 796s ok 1353 /checksum/SHA384/reset/55 796s ok 1354 /checksum/SHA384/reset/56 796s ok 1355 /checksum/SHA384/reset/57 796s ok 1356 /checksum/SHA384/reset/58 796s ok 1357 /checksum/SHA384/reset/59 796s ok 1358 /checksum/SHA384/reset/60 796s ok 1359 /checksum/SHA384/reset/61 796s ok 1360 /checksum/SHA384/reset/62 796s ok 1361 /checksum/SHA384/reset/63 796s ok 1362 /checksum/SHA384/reset/64 796s ok 1363 /checksum/SHA384/reset/65 796s ok 1364 /checksum/SHA384/reset/66 796s ok 1365 /checksum/SHA384/reset/67 796s ok 1366 /checksum/SHA384/reset/68 796s ok 1367 /checksum/SHA384/reset/69 796s ok 1368 /checksum/SHA384/reset/70 796s ok 1369 /checksum/SHA384/reset/71 796s ok 1370 /checksum/SHA384/reset/72 796s ok 1371 /checksum/SHA384/reset/73 796s ok 1372 /checksum/SHA384/reset/74 796s ok 1373 /checksum/SHA384/reset/75 796s ok 1374 /checksum/SHA384/reset/76 796s ok 1375 /checksum/SHA384/reset/77 796s ok 1376 /checksum/SHA384/reset/78 796s ok 1377 /checksum/SHA384/reset/79 796s ok 1378 /checksum/SHA384/reset/80 796s ok 1379 /checksum/SHA384/reset/81 796s ok 1380 /checksum/SHA384/reset/82 796s ok 1381 /checksum/SHA384/reset/83 796s ok 1382 /checksum/SHA384/reset/84 796s ok 1383 /checksum/SHA384/reset/85 796s ok 1384 /checksum/SHA384/reset/86 796s ok 1385 /checksum/SHA384/reset/87 796s ok 1386 /checksum/SHA384/reset/88 796s ok 1387 /checksum/SHA384/reset/89 796s ok 1388 /checksum/SHA384/reset/90 796s ok 1389 /checksum/SHA384/reset/91 796s ok 1390 /checksum/SHA384/reset/92 796s ok 1391 /checksum/SHA384/reset/93 796s ok 1392 /checksum/SHA384/reset/94 796s ok 1393 /checksum/SHA384/reset/95 796s ok 1394 /checksum/SHA384/reset/96 796s ok 1395 /checksum/SHA384/reset/97 796s ok 1396 /checksum/SHA384/reset/98 796s ok 1397 /checksum/SHA384/reset/99 796s ok 1398 /checksum/SHA384/reset/100 796s ok 1399 /checksum/SHA384/reset/101 796s ok 1400 /checksum/SHA384/reset/102 796s ok 1401 /checksum/SHA384/reset/103 796s ok 1402 /checksum/SHA384/reset/104 796s ok 1403 /checksum/SHA384/reset/105 796s ok 1404 /checksum/SHA384/reset/106 796s ok 1405 /checksum/SHA384/reset/107 796s ok 1406 /checksum/SHA384/reset/108 796s ok 1407 /checksum/SHA384/reset/109 796s ok 1408 /checksum/SHA384/reset/110 796s ok 1409 /checksum/SHA384/reset/111 796s ok 1410 /checksum/SHA384/reset/112 796s ok 1411 /checksum/SHA384/reset/113 796s ok 1412 /checksum/SHA384/reset/114 796s ok 1413 /checksum/SHA384/reset/115 796s ok 1414 /checksum/SHA384/reset/116 796s ok 1415 /checksum/SHA384/reset/117 796s ok 1416 /checksum/SHA384/reset/118 796s ok 1417 /checksum/SHA384/reset/119 796s ok 1418 /checksum/SHA384/reset/120 796s ok 1419 /checksum/SHA384/reset/121 796s ok 1420 /checksum/SHA384/reset/122 796s ok 1421 /checksum/SHA384/reset/123 796s ok 1422 /checksum/SHA384/reset/124 796s ok 1423 /checksum/SHA384/reset/125 796s ok 1424 /checksum/SHA384/reset/126 796s ok 1425 /checksum/SHA384/reset/127 796s ok 1426 /checksum/SHA384/reset/128 796s ok 1427 /checksum/SHA384/reset/129 796s ok 1428 /checksum/SHA384/reset/130 796s ok 1429 /checksum/SHA384/reset/131 796s ok 1430 /checksum/SHA384/reset/132 796s ok 1431 /checksum/SHA384/reset/133 796s ok 1432 /checksum/SHA384/reset/134 796s ok 1433 /checksum/SHA384/reset/135 796s ok 1434 /checksum/SHA384/reset/136 796s ok 1435 /checksum/SHA384/reset/137 796s ok 1436 /checksum/SHA384/reset/138 796s ok 1437 /checksum/SHA384/reset/139 796s ok 1438 /checksum/SHA384/reset/140 796s ok 1439 /checksum/SHA384/reset/141 796s ok 1440 /checksum/SHA384/reset/142 796s ok 1441 /checksum/SHA384/reset/143 796s ok 1442 /checksum/SHA384/reset/144 796s ok 1443 /checksum/SHA384/reset/145 796s ok 1444 /checksum/SHA384/reset/146 796s ok 1445 /checksum/SHA384/reset/147 796s ok 1446 /checksum/SHA384/reset/148 796s ok 1447 /checksum/SHA384/reset/149 796s ok 1448 /checksum/SHA384/reset/150 796s ok 1449 /checksum/SHA384/reset/151 796s ok 1450 /checksum/SHA384/reset/152 796s ok 1451 /checksum/SHA384/reset/153 796s ok 1452 /checksum/SHA384/reset/154 796s ok 1453 /checksum/SHA384/reset/155 796s ok 1454 /checksum/SHA384/reset/156 796s ok 1455 /checksum/SHA384/reset/157 796s ok 1456 /checksum/SHA384/reset/158 796s ok 1457 /checksum/SHA384/reset/159 796s ok 1458 /checksum/SHA384/reset/160 796s ok 1459 /checksum/SHA384/reset/161 796s ok 1460 /checksum/SHA384/reset/162 796s ok 1461 /checksum/SHA384/reset/163 796s ok 1462 /checksum/SHA384/reset/164 796s ok 1463 /checksum/SHA384/reset/165 796s ok 1464 /checksum/SHA384/reset/166 796s ok 1465 /checksum/SHA384/reset/167 796s ok 1466 /checksum/SHA384/reset/168 796s ok 1467 /checksum/SHA384/reset/169 796s ok 1468 /checksum/SHA384/reset/170 796s ok 1469 /checksum/SHA384/reset/171 796s ok 1470 /checksum/SHA384/reset/172 796s ok 1471 /checksum/SHA384/reset/173 796s ok 1472 /checksum/SHA384/reset/174 796s ok 1473 /checksum/SHA384/reset/175 796s ok 1474 /checksum/SHA384/reset/176 796s ok 1475 /checksum/SHA384/reset/177 796s ok 1476 /checksum/SHA384/reset/178 796s ok 1477 /checksum/SHA384/reset/179 796s ok 1478 /checksum/SHA384/reset/180 796s ok 1479 /checksum/SHA384/reset/181 796s ok 1480 /checksum/SHA384/reset/182 796s ok 1481 /checksum/SHA384/reset/183 796s # End of reset tests 796s # End of SHA384 tests 796s # Start of SHA512 tests 796s ok 1482 /checksum/SHA512/0 796s ok 1483 /checksum/SHA512/1 796s ok 1484 /checksum/SHA512/2 796s ok 1485 /checksum/SHA512/3 796s ok 1486 /checksum/SHA512/4 796s ok 1487 /checksum/SHA512/5 796s ok 1488 /checksum/SHA512/6 796s ok 1489 /checksum/SHA512/7 796s ok 1490 /checksum/SHA512/8 796s ok 1491 /checksum/SHA512/9 796s ok 1492 /checksum/SHA512/10 796s ok 1493 /checksum/SHA512/11 796s ok 1494 /checksum/SHA512/12 796s ok 1495 /checksum/SHA512/13 796s ok 1496 /checksum/SHA512/14 796s ok 1497 /checksum/SHA512/15 796s ok 1498 /checksum/SHA512/16 796s ok 1499 /checksum/SHA512/17 796s ok 1500 /checksum/SHA512/18 796s ok 1501 /checksum/SHA512/19 796s ok 1502 /checksum/SHA512/20 796s ok 1503 /checksum/SHA512/21 796s ok 1504 /checksum/SHA512/22 796s ok 1505 /checksum/SHA512/23 796s ok 1506 /checksum/SHA512/24 796s ok 1507 /checksum/SHA512/25 796s ok 1508 /checksum/SHA512/26 796s ok 1509 /checksum/SHA512/27 796s ok 1510 /checksum/SHA512/28 796s ok 1511 /checksum/SHA512/29 796s ok 1512 /checksum/SHA512/30 796s ok 1513 /checksum/SHA512/31 796s ok 1514 /checksum/SHA512/32 796s ok 1515 /checksum/SHA512/33 796s ok 1516 /checksum/SHA512/34 796s ok 1517 /checksum/SHA512/35 796s ok 1518 /checksum/SHA512/36 796s ok 1519 /checksum/SHA512/37 796s ok 1520 /checksum/SHA512/38 796s ok 1521 /checksum/SHA512/39 796s ok 1522 /checksum/SHA512/40 796s ok 1523 /checksum/SHA512/41 796s ok 1524 /checksum/SHA512/42 796s ok 1525 /checksum/SHA512/43 796s ok 1526 /checksum/SHA512/44 796s ok 1527 /checksum/SHA512/45 796s ok 1528 /checksum/SHA512/46 796s ok 1529 /checksum/SHA512/47 796s ok 1530 /checksum/SHA512/48 796s ok 1531 /checksum/SHA512/49 796s ok 1532 /checksum/SHA512/50 796s ok 1533 /checksum/SHA512/51 796s ok 1534 /checksum/SHA512/52 796s ok 1535 /checksum/SHA512/53 796s ok 1536 /checksum/SHA512/54 796s ok 1537 /checksum/SHA512/55 796s ok 1538 /checksum/SHA512/56 796s ok 1539 /checksum/SHA512/57 796s ok 1540 /checksum/SHA512/58 796s ok 1541 /checksum/SHA512/59 796s ok 1542 /checksum/SHA512/60 796s ok 1543 /checksum/SHA512/61 796s ok 1544 /checksum/SHA512/62 796s ok 1545 /checksum/SHA512/63 796s ok 1546 /checksum/SHA512/64 796s ok 1547 /checksum/SHA512/65 796s ok 1548 /checksum/SHA512/66 796s ok 1549 /checksum/SHA512/67 796s ok 1550 /checksum/SHA512/68 796s ok 1551 /checksum/SHA512/69 796s ok 1552 /checksum/SHA512/70 796s ok 1553 /checksum/SHA512/71 796s ok 1554 /checksum/SHA512/72 796s ok 1555 /checksum/SHA512/73 796s ok 1556 /checksum/SHA512/74 796s ok 1557 /checksum/SHA512/75 796s ok 1558 /checksum/SHA512/76 796s ok 1559 /checksum/SHA512/77 796s ok 1560 /checksum/SHA512/78 796s ok 1561 /checksum/SHA512/79 796s ok 1562 /checksum/SHA512/80 796s ok 1563 /checksum/SHA512/81 796s ok 1564 /checksum/SHA512/82 796s ok 1565 /checksum/SHA512/83 796s ok 1566 /checksum/SHA512/84 796s ok 1567 /checksum/SHA512/85 796s ok 1568 /checksum/SHA512/86 796s ok 1569 /checksum/SHA512/87 796s ok 1570 /checksum/SHA512/88 796s ok 1571 /checksum/SHA512/89 796s ok 1572 /checksum/SHA512/90 796s ok 1573 /checksum/SHA512/91 796s ok 1574 /checksum/SHA512/92 796s ok 1575 /checksum/SHA512/93 796s ok 1576 /checksum/SHA512/94 796s ok 1577 /checksum/SHA512/95 796s ok 1578 /checksum/SHA512/96 796s ok 1579 /checksum/SHA512/97 796s ok 1580 /checksum/SHA512/98 796s ok 1581 /checksum/SHA512/99 796s ok 1582 /checksum/SHA512/100 796s ok 1583 /checksum/SHA512/101 796s ok 1584 /checksum/SHA512/102 796s ok 1585 /checksum/SHA512/103 796s ok 1586 /checksum/SHA512/104 796s ok 1587 /checksum/SHA512/105 796s ok 1588 /checksum/SHA512/106 796s ok 1589 /checksum/SHA512/107 796s ok 1590 /checksum/SHA512/108 796s ok 1591 /checksum/SHA512/109 796s ok 1592 /checksum/SHA512/110 796s ok 1593 /checksum/SHA512/111 796s ok 1594 /checksum/SHA512/112 796s ok 1595 /checksum/SHA512/113 796s ok 1596 /checksum/SHA512/114 796s ok 1597 /checksum/SHA512/115 796s ok 1598 /checksum/SHA512/116 796s ok 1599 /checksum/SHA512/117 796s ok 1600 /checksum/SHA512/118 796s ok 1601 /checksum/SHA512/119 796s ok 1602 /checksum/SHA512/120 796s ok 1603 /checksum/SHA512/121 796s ok 1604 /checksum/SHA512/122 796s ok 1605 /checksum/SHA512/123 796s ok 1606 /checksum/SHA512/124 796s ok 1607 /checksum/SHA512/125 796s ok 1608 /checksum/SHA512/126 796s ok 1609 /checksum/SHA512/127 796s ok 1610 /checksum/SHA512/128 796s ok 1611 /checksum/SHA512/129 796s ok 1612 /checksum/SHA512/130 796s ok 1613 /checksum/SHA512/131 796s ok 1614 /checksum/SHA512/132 796s ok 1615 /checksum/SHA512/133 796s ok 1616 /checksum/SHA512/134 796s ok 1617 /checksum/SHA512/135 796s ok 1618 /checksum/SHA512/136 796s ok 1619 /checksum/SHA512/137 796s ok 1620 /checksum/SHA512/138 796s ok 1621 /checksum/SHA512/139 796s ok 1622 /checksum/SHA512/140 796s ok 1623 /checksum/SHA512/141 796s ok 1624 /checksum/SHA512/142 796s ok 1625 /checksum/SHA512/143 796s ok 1626 /checksum/SHA512/144 796s ok 1627 /checksum/SHA512/145 796s ok 1628 /checksum/SHA512/146 796s ok 1629 /checksum/SHA512/147 796s ok 1630 /checksum/SHA512/148 796s ok 1631 /checksum/SHA512/149 796s ok 1632 /checksum/SHA512/150 796s ok 1633 /checksum/SHA512/151 796s ok 1634 /checksum/SHA512/152 796s ok 1635 /checksum/SHA512/153 796s ok 1636 /checksum/SHA512/154 796s ok 1637 /checksum/SHA512/155 796s ok 1638 /checksum/SHA512/156 796s ok 1639 /checksum/SHA512/157 796s ok 1640 /checksum/SHA512/158 796s ok 1641 /checksum/SHA512/159 796s ok 1642 /checksum/SHA512/160 796s ok 1643 /checksum/SHA512/161 796s ok 1644 /checksum/SHA512/162 796s ok 1645 /checksum/SHA512/163 796s ok 1646 /checksum/SHA512/164 796s ok 1647 /checksum/SHA512/165 796s ok 1648 /checksum/SHA512/166 796s ok 1649 /checksum/SHA512/167 796s ok 1650 /checksum/SHA512/168 796s ok 1651 /checksum/SHA512/169 796s ok 1652 /checksum/SHA512/170 796s ok 1653 /checksum/SHA512/171 796s ok 1654 /checksum/SHA512/172 796s ok 1655 /checksum/SHA512/173 796s ok 1656 /checksum/SHA512/174 796s ok 1657 /checksum/SHA512/175 796s ok 1658 /checksum/SHA512/176 796s ok 1659 /checksum/SHA512/177 796s ok 1660 /checksum/SHA512/178 796s ok 1661 /checksum/SHA512/179 796s ok 1662 /checksum/SHA512/180 796s ok 1663 /checksum/SHA512/181 796s ok 1664 /checksum/SHA512/182 796s ok 1665 /checksum/SHA512/183 796s ok 1666 /checksum/SHA512/string 796s ok 1667 /checksum/SHA512/bytes 796s # Start of reset tests 796s ok 1668 /checksum/SHA512/reset/0 796s ok 1669 /checksum/SHA512/reset/1 796s ok 1670 /checksum/SHA512/reset/2 796s ok 1671 /checksum/SHA512/reset/3 796s ok 1672 /checksum/SHA512/reset/4 796s ok 1673 /checksum/SHA512/reset/5 796s ok 1674 /checksum/SHA512/reset/6 796s ok 1675 /checksum/SHA512/reset/7 796s ok 1676 /checksum/SHA512/reset/8 796s ok 1677 /checksum/SHA512/reset/9 796s ok 1678 /checksum/SHA512/reset/10 796s ok 1679 /checksum/SHA512/reset/11 796s ok 1680 /checksum/SHA512/reset/12 796s ok 1681 /checksum/SHA512/reset/13 796s ok 1682 /checksum/SHA512/reset/14 796s ok 1683 /checksum/SHA512/reset/15 796s ok 1684 /checksum/SHA512/reset/16 796s ok 1685 /checksum/SHA512/reset/17 796s ok 1686 /checksum/SHA512/reset/18 796s ok 1687 /checksum/SHA512/reset/19 796s ok 1688 /checksum/SHA512/reset/20 796s ok 1689 /checksum/SHA512/reset/21 796s ok 1690 /checksum/SHA512/reset/22 796s ok 1691 /checksum/SHA512/reset/23 796s ok 1692 /checksum/SHA512/reset/24 796s ok 1693 /checksum/SHA512/reset/25 796s ok 1694 /checksum/SHA512/reset/26 796s ok 1695 /checksum/SHA512/reset/27 796s ok 1696 /checksum/SHA512/reset/28 796s ok 1697 /checksum/SHA512/reset/29 796s ok 1698 /checksum/SHA512/reset/30 796s ok 1699 /checksum/SHA512/reset/31 796s ok 1700 /checksum/SHA512/reset/32 796s ok 1701 /checksum/SHA512/reset/33 796s ok 1702 /checksum/SHA512/reset/34 796s ok 1703 /checksum/SHA512/reset/35 796s ok 1704 /checksum/SHA512/reset/36 796s ok 1705 /checksum/SHA512/reset/37 796s ok 1706 /checksum/SHA512/reset/38 796s ok 1707 /checksum/SHA512/reset/39 796s ok 1708 /checksum/SHA512/reset/40 796s ok 1709 /checksum/SHA512/reset/41 796s ok 1710 /checksum/SHA512/reset/42 796s ok 1711 /checksum/SHA512/reset/43 796s ok 1712 /checksum/SHA512/reset/44 796s ok 1713 /checksum/SHA512/reset/45 796s ok 1714 /checksum/SHA512/reset/46 796s ok 1715 /checksum/SHA512/reset/47 796s ok 1716 /checksum/SHA512/reset/48 796s ok 1717 /checksum/SHA512/reset/49 796s ok 1718 /checksum/SHA512/reset/50 796s ok 1719 /checksum/SHA512/reset/51 796s ok 1720 /checksum/SHA512/reset/52 796s ok 1721 /checksum/SHA512/reset/53 796s ok 1722 /checksum/SHA512/reset/54 796s ok 1723 /checksum/SHA512/reset/55 796s ok 1724 /checksum/SHA512/reset/56 796s ok 1725 /checksum/SHA512/reset/57 796s ok 1726 /checksum/SHA512/reset/58 796s ok 1727 /checksum/SHA512/reset/59 796s ok 1728 /checksum/SHA512/reset/60 796s ok 1729 /checksum/SHA512/reset/61 796s ok 1730 /checksum/SHA512/reset/62 796s ok 1731 /checksum/SHA512/reset/63 796s ok 1732 /checksum/SHA512/reset/64 796s ok 1733 /checksum/SHA512/reset/65 796s ok 1734 /checksum/SHA512/reset/66 796s ok 1735 /checksum/SHA512/reset/67 796s ok 1736 /checksum/SHA512/reset/68 796s ok 1737 /checksum/SHA512/reset/69 796s ok 1738 /checksum/SHA512/reset/70 796s ok 1739 /checksum/SHA512/reset/71 796s ok 1740 /checksum/SHA512/reset/72 796s ok 1741 /checksum/SHA512/reset/73 796s ok 1742 /checksum/SHA512/reset/74 796s ok 1743 /checksum/SHA512/reset/75 796s ok 1744 /checksum/SHA512/reset/76 796s ok 1745 /checksum/SHA512/reset/77 796s ok 1746 /checksum/SHA512/reset/78 796s ok 1747 /checksum/SHA512/reset/79 796s ok 1748 /checksum/SHA512/reset/80 796s ok 1749 /checksum/SHA512/reset/81 796s ok 1750 /checksum/SHA512/reset/82 796s ok 1751 /checksum/SHA512/reset/83 796s ok 1752 /checksum/SHA512/reset/84 796s ok 1753 /checksum/SHA512/reset/85 796s ok 1754 /checksum/SHA512/reset/86 796s ok 1755 /checksum/SHA512/reset/87 796s ok 1756 /checksum/SHA512/reset/88 796s ok 1757 /checksum/SHA512/reset/89 796s ok 1758 /checksum/SHA512/reset/90 796s ok 1759 /checksum/SHA512/reset/91 796s ok 1760 /checksum/SHA512/reset/92 796s ok 1761 /checksum/SHA512/reset/93 796s ok 1762 /checksum/SHA512/reset/94 796s ok 1763 /checksum/SHA512/reset/95 796s ok 1764 /checksum/SHA512/reset/96 796s ok 1765 /checksum/SHA512/reset/97 796s ok 1766 /checksum/SHA512/reset/98 796s ok 1767 /checksum/SHA512/reset/99 796s ok 1768 /checksum/SHA512/reset/100 796s ok 1769 /checksum/SHA512/reset/101 796s ok 1770 /checksum/SHA512/reset/102 796s ok 1771 /checksum/SHA512/reset/103 796s ok 1772 /checksum/SHA512/reset/104 796s ok 1773 /checksum/SHA512/reset/105 796s ok 1774 /checksum/SHA512/reset/106 796s ok 1775 /checksum/SHA512/reset/107 796s ok 1776 /checksum/SHA512/reset/108 796s ok 1777 /checksum/SHA512/reset/109 796s ok 1778 /checksum/SHA512/reset/110 796s ok 1779 /checksum/SHA512/reset/111 796s ok 1780 /checksum/SHA512/reset/112 796s ok 1781 /checksum/SHA512/reset/113 796s ok 1782 /checksum/SHA512/reset/114 796s ok 1783 /checksum/SHA512/reset/115 796s ok 1784 /checksum/SHA512/reset/116 796s ok 1785 /checksum/SHA512/reset/117 796s ok 1786 /checksum/SHA512/reset/118 796s ok 1787 /checksum/SHA512/reset/119 796s ok 1788 /checksum/SHA512/reset/120 796s ok 1789 /checksum/SHA512/reset/121 796s ok 1790 /checksum/SHA512/reset/122 796s ok 1791 /checksum/SHA512/reset/123 796s ok 1792 /checksum/SHA512/reset/124 796s ok 1793 /checksum/SHA512/reset/125 796s ok 1794 /checksum/SHA512/reset/126 796s ok 1795 /checksum/SHA512/reset/127 796s ok 1796 /checksum/SHA512/reset/128 796s ok 1797 /checksum/SHA512/reset/129 796s ok 1798 /checksum/SHA512/reset/130 796s ok 1799 /checksum/SHA512/reset/131 796s ok 1800 /checksum/SHA512/reset/132 796s ok 1801 /checksum/SHA512/reset/133 796s ok 1802 /checksum/SHA512/reset/134 796s ok 1803 /checksum/SHA512/reset/135 796s ok 1804 /checksum/SHA512/reset/136 796s ok 1805 /checksum/SHA512/reset/137 796s ok 1806 /checksum/SHA512/reset/138 796s ok 1807 /checksum/SHA512/reset/139 796s ok 1808 /checksum/SHA512/reset/140 796s ok 1809 /checksum/SHA512/reset/141 796s ok 1810 /checksum/SHA512/reset/142 796s ok 1811 /checksum/SHA512/reset/143 796s ok 1812 /checksum/SHA512/reset/144 796s ok 1813 /checksum/SHA512/reset/145 796s ok 1814 /checksum/SHA512/reset/146 796s ok 1815 /checksum/SHA512/reset/147 796s ok 1816 /checksum/SHA512/reset/148 796s ok 1817 /checksum/SHA512/reset/149 796s ok 1818 /checksum/SHA512/reset/150 796s ok 1819 /checksum/SHA512/reset/151 796s ok 1820 /checksum/SHA512/reset/152 796s ok 1821 /checksum/SHA512/reset/153 796s ok 1822 /checksum/SHA512/reset/154 796s ok 1823 /checksum/SHA512/reset/155 796s ok 1824 /checksum/SHA512/reset/156 796s ok 1825 /checksum/SHA512/reset/157 796s ok 1826 /checksum/SHA512/reset/158 796s ok 1827 /checksum/SHA512/reset/159 796s ok 1828 /checksum/SHA512/reset/160 796s ok 1829 /checksum/SHA512/reset/161 796s ok 1830 /checksum/SHA512/reset/162 796s ok 1831 /checksum/SHA512/reset/163 796s ok 1832 /checksum/SHA512/reset/164 796s ok 1833 /checksum/SHA512/reset/165 796s ok 1834 /checksum/SHA512/reset/166 796s ok 1835 /checksum/SHA512/reset/167 796s ok 1836 /checksum/SHA512/reset/168 796s ok 1837 /checksum/SHA512/reset/169 796s ok 1838 /checksum/SHA512/reset/170 796s ok 1839 /checksum/SHA512/reset/171 796s ok 1840 /checksum/SHA512/reset/172 796s ok 1841 /checksum/SHA512/reset/173 796s ok 1842 /checksum/SHA512/reset/174 796s ok 1843 /checksum/SHA512/reset/175 796s ok 1844 /checksum/SHA512/reset/176 796s ok 1845 /checksum/SHA512/reset/177 796s ok 1846 /checksum/SHA512/reset/178 796s ok 1847 /checksum/SHA512/reset/179 796s ok 1848 /checksum/SHA512/reset/180 796s ok 1849 /checksum/SHA512/reset/181 796s ok 1850 /checksum/SHA512/reset/182 796s ok 1851 /checksum/SHA512/reset/183 796s # End of reset tests 796s # End of SHA512 tests 796s # End of checksum tests 796s ok - glib/checksum.test 796s # Running test: glib/throws.test 796s TAP version 13 796s # random seed: R02S9d7db9845b752d6eeb1e15e5d3cf1e3b 796s 1..3 796s # Start of throws tests 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FX62K2/throws/invoke-gerror/.dirs/runtime 796s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 796s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 796s ok 1 /throws/invoke-gerror 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FX62K2/throws/vfunc-can-throw-gerror/.dirs/runtime 796s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 796s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 796s ok 2 /throws/vfunc-can-throw-gerror 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FX62K2/throws/callback-can-throw-gerror/.dirs/runtime 796s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 796s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 796s ok 3 /throws/callback-can-throw-gerror 796s # End of throws tests 796s ok - glib/throws.test 796s # Running test: glib/buffered-input-stream.test 796s TAP version 13 796s # random seed: R02S8b7179ac8247141f3d7dedb751bf9447 796s 1..10 796s # Start of buffered-input-stream tests 796s ok 1 /buffered-input-stream/peek 796s ok 2 /buffered-input-stream/peek-buffer 796s ok 3 /buffered-input-stream/set-buffer-size 796s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 796s ok 4 /buffered-input-stream/read-byte 796s ok 5 /buffered-input-stream/read 796s ok 6 /buffered-input-stream/read-async 796s ok 7 /buffered-input-stream/skip 796s ok 8 /buffered-input-stream/skip-async 796s ok 9 /buffered-input-stream/seek 796s # End of buffered-input-stream tests 796s # Start of filter-input-stream tests 796s ok 10 /filter-input-stream/close 796s # End of filter-input-stream tests 796s ok - glib/buffered-input-stream.test 796s # Running test: glib/flags.test 796s TAP version 13 796s # random seed: R02S696f9bd39e5b2dae57ed3bcfb59219c4 796s 1..1 796s # Start of gobject tests 796s # Start of flags tests 796s ok 1 /gobject/flags/validate 796s # End of flags tests 796s # End of gobject tests 796s ok - glib/flags.test 796s # Running test: glib/thread.test 796s TAP version 13 796s # random seed: R02Sd90f0558533018d654fe2d54487d47f7 796s 1..7 796s # Start of thread tests 796s ok 1 /thread/thread1 796s ok 2 /thread/thread2 796s ok 3 /thread/thread3 796s ok 4 /thread/thread4 796s ok 5 /thread/thread5 796s ok 6 /thread/thread6 796s ok 7 /thread/thread7 796s # End of thread tests 796s ok - glib/thread.test 796s # Running test: glib/gdbus-non-socket.test 796s TAP version 13 796s # random seed: R02S949754612512a1339fe7d482cde22a58 796s 1..1 796s # Start of gdbus tests 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_8GM3K2/gdbus/non-socket/.dirs/runtime 796s ok 1 /gdbus/non-socket 796s # End of gdbus tests 796s ok - glib/gdbus-non-socket.test 796s # Running test: glib/spawn-path-search.test 796s TAP version 13 796s # random seed: R02Sd7995eedae58428b980b8cc542904acc 796s 1..7 796s # Start of spawn tests 796s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 796s # 796s # this is spawn-test-helper from glib/tests 796s # 796s ok 1 /spawn/do-not-search 796s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 796s # 796s # this is spawn-test-helper from path-test-subdir 796s # 796s ok 2 /spawn/search-path 796s # /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. 796s # 796s # this is spawn-test-helper from path-test-subdir 796s # 796s ok 3 /spawn/search-path-from-envp 796s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 796s # 796s # this is spawn-test-helper from path-test-subdir 796s # 796s ok 4 /spawn/search-path-ambiguous 796s # 796s # this is spawn-test-helper from path-test-subdir 796s # 796s ok 5 /spawn/search-path-heap-allocation 796s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 796s # 796s # this is spawn-test-helper from glib/tests 796s # 796s ok 6 /spawn/search-path-fallback-in-environ 796s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 796s # 796s # this is spawn-test-helper from glib/tests 796s # 796s ok 7 /spawn/search-path-fallback-in-envp 796s # End of spawn tests 796s ok - glib/spawn-path-search.test 796s # Running test: glib/node.test 796s TAP version 13 796s # random seed: R02Scada829e90ef9b334501b25938bf1805 796s 1..6 796s # Start of node tests 796s ok 1 /node/allocation 796s ok 2 /node/construction 796s ok 3 /node/traversal 796s ok 4 /node/misc 796s ok 5 /node/unlink 796s ok 6 /node/copy 796s # End of node tests 796s ok - glib/node.test 796s # Running test: glib/gdbus-proxy-unique-name.test 796s TAP version 13 796s # random seed: R02S9725382c3deae16ec838fb76e04a0a62 796s 1..1 796s # Start of gdbus tests 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_WK93K2/gdbus/proxy-unique-name/.dirs/runtime 796s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s ok 1 /gdbus/proxy-unique-name 796s # End of gdbus tests 796s ok - glib/gdbus-proxy-unique-name.test 796s # Running test: glib/data-output-stream.test 796s TAP version 13 796s # random seed: R02S84e60e9b636b7e53a83af907ca173279 796s 1..7 796s # Start of data-output-stream tests 796s ok 1 /data-output-stream/basic 796s ok 2 /data-output-stream/write-lines-LF 796s ok 3 /data-output-stream/write-lines-CR 796s ok 4 /data-output-stream/write-lines-CR-LF 796s ok 5 /data-output-stream/write-int 796s ok 6 /data-output-stream/seek 796s ok 7 /data-output-stream/truncate 796s # End of data-output-stream tests 796s ok - glib/data-output-stream.test 796s # Running test: glib/io-stream.test 796s TAP version 13 796s # random seed: R02Sd694ab33bf5a18556d251578fac379f4 796s 1..3 796s # Start of io-stream tests 796s ok 1 /io-stream/copy-chunks 796s # Start of close tests 796s # Start of async tests 796s ok 2 /io-stream/close/async/memory 796s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 796s ok 3 /io-stream/close/async/file 796s # End of async tests 796s # End of close tests 796s # End of io-stream tests 796s ok - glib/io-stream.test 796s # Running test: glib/date.test 796s TAP version 13 796s # random seed: R02Sf0f587d21f16b56758ae4addb91615c8 796s 1..121 796s # Start of date tests 796s ok 1 /date/basic 796s ok 2 /date/empty 796s ok 3 /date/dmy 796s ok 4 /date/julian 796s ok 5 /date/compare 796s ok 6 /date/dates 796s ok 7 /date/strftime 796s ok 8 /date/two-digit-years 796s ok 9 /date/parse 796s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 796s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 796s ok 11 /date/month_substring 796s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 796s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 796s ok 13 /date/clamp 796s ok 14 /date/order 796s ok 15 /date/copy 796s # Vector 0: 0000-00-00, invalid 796s # Vector 1: 0001-01-01, valid 796s # Vector 2: 0000-01-01, invalid 796s # Vector 3: 2000-02-30, invalid 796s # Vector 4: 2000-02-29, valid 796s # Vector 5: 2001-02-29, invalid 796s # Vector 6: 65535-01-01, valid 796s ok 16 /date/valid-dmy 796s # Start of parse tests 796s # Test 0 796s # Test 1 796s ok 17 /date/parse/invalid 796s # End of parse tests 796s # Start of year tests 796s ok 18 /date/year/1 796s ok 19 /date/year/2 796s ok 20 /date/year/3 796s # Executing: glib/date.test 796s ok 21 /date/year/4 796s ok 22 /date/year/5 796s ok 23 /date/year/6 796s ok 24 /date/year/7 796s ok 25 /date/year/8 796s ok 26 /date/year/9 796s ok 27 /date/year/10 796s ok 28 /date/year/11 796s ok 29 /date/year/12 796s ok 30 /date/year/13 796s ok 31 /date/year/14 796s ok 32 /date/year/98 796s ok 33 /date/year/99 796s ok 34 /date/year/100 796s ok 35 /date/year/101 796s ok 36 /date/year/102 796s ok 37 /date/year/103 796s ok 38 /date/year/397 796s ok 39 /date/year/398 796s ok 40 /date/year/399 796s ok 41 /date/year/400 796s ok 42 /date/year/401 796s ok 43 /date/year/402 796s ok 44 /date/year/403 796s ok 45 /date/year/404 796s ok 46 /date/year/405 796s ok 47 /date/year/406 796s ok 48 /date/year/1598 796s ok 49 /date/year/1599 796s ok 50 /date/year/1600 796s ok 51 /date/year/1601 796s ok 52 /date/year/1602 796s ok 53 /date/year/1650 796s ok 54 /date/year/1651 796s ok 55 /date/year/1897 796s ok 56 /date/year/1898 796s ok 57 /date/year/1899 796s ok 58 /date/year/1900 796s ok 59 /date/year/1901 796s ok 60 /date/year/1902 796s ok 61 /date/year/1903 796s ok 62 /date/year/1961 796s ok 63 /date/year/1962 796s ok 64 /date/year/1963 796s ok 65 /date/year/1964 796s ok 66 /date/year/1965 796s ok 67 /date/year/1967 796s ok 68 /date/year/1968 796s ok 69 /date/year/1969 796s ok 70 /date/year/1970 796s ok 71 /date/year/1971 796s ok 72 /date/year/1972 796s ok 73 /date/year/1973 796s ok 74 /date/year/1974 796s ok 75 /date/year/1975 796s ok 76 /date/year/1976 796s ok 77 /date/year/1977 796s ok 78 /date/year/1978 796s ok 79 /date/year/1979 796s ok 80 /date/year/1980 796s ok 81 /date/year/1981 796s ok 82 /date/year/1982 796s ok 83 /date/year/1983 796s ok 84 /date/year/1984 796s ok 85 /date/year/1985 796s ok 86 /date/year/1986 796s ok 87 /date/year/1987 796s ok 88 /date/year/1988 796s ok 89 /date/year/1989 796s ok 90 /date/year/1990 796s ok 91 /date/year/1991 796s ok 92 /date/year/1992 796s ok 93 /date/year/1993 796s ok 94 /date/year/1994 796s ok 95 /date/year/1995 796s ok 96 /date/year/1996 796s ok 97 /date/year/1997 796s ok 98 /date/year/1998 796s ok 99 /date/year/1999 796s ok 100 /date/year/2000 796s ok 101 /date/year/2001 796s ok 102 /date/year/2002 796s ok 103 /date/year/2003 796s ok 104 /date/year/2004 796s ok 105 /date/year/2005 796s ok 106 /date/year/2006 796s ok 107 /date/year/2007 796s ok 108 /date/year/2008 796s ok 109 /date/year/2009 796s ok 110 /date/year/2010 796s ok 111 /date/year/2011 796s ok 112 /date/year/2012 796s ok 113 /date/year/3000 796s ok 114 /date/year/3001 796s ok 115 /date/year/3002 796s ok 116 /date/year/3998 796s ok 117 /date/year/3999 796s ok 118 /date/year/4000 796s ok 119 /date/year/4001 796s ok 120 /date/year/4002 796s ok 121 /date/year/4003 796s # End of year tests 796s # End of date tests 796s ok - glib/date.test 796s # Running test: glib/contenttype.test 796s TAP version 13 796s # random seed: R02S2be877e30d879bfa2056678ab72e5323 796s 1..13 796s # Start of contenttype tests 796s ok 1 /contenttype/guess 796s ok 2 /contenttype/guess_svg_from_data 796s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 796s ok 4 /contenttype/unknown 796s ok 5 /contenttype/subtype 796s ok 6 /contenttype/list 796s ok 7 /contenttype/executable 796s ok 8 /contenttype/description 796s ok 9 /contenttype/icon 796s ok 10 /contenttype/symbolic-icon 796s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 796s ok 11 /contenttype/tree 796s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 796s ok 12 /contenttype/tree_invalid_encoding 796s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 796s ok 13 /contenttype/test_type_is_a_special_case 796s # End of contenttype tests 796s ok - glib/contenttype.test 796s # Running test: glib/srvtarget.test 796s TAP version 13 796s # random seed: R02S595ba28a88931bc9b0d1d101ad6ac754 796s 1..1 796s # Start of srvtarget tests 797s ok 1 /srvtarget/srv-target-ordering 797s # slow test /srvtarget/srv-target-ordering executed in 1.08 secs 797s # End of srvtarget tests 797s ok - glib/srvtarget.test 797s # Running test: glib/bookmarkfile.test 797s TAP version 13 797s # random seed: R02Sb2660d31d46e3b3bdc4082186c8cb80b 797s 1..96 797s # Start of bookmarks tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/load-from-data-dirs/.dirs/runtime 798s ok 1 /bookmarks/load-from-data-dirs 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/to-file/.dirs/runtime 798s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_9T0OK2/bookmarkfile-test-343OK2.xbel 798s # Roundtrip from a valid bookmark file 798s ok 2 /bookmarks/to-file 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/move-item/.dirs/runtime 798s ok 3 /bookmarks/move-item 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/corner-cases/.dirs/runtime 798s ok 4 /bookmarks/corner-cases 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/misc/.dirs/runtime 798s ok 5 /bookmarks/misc 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/deprecated/.dirs/runtime 798s ok 6 /bookmarks/deprecated 798s # Start of parse tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 798s ok 7 /bookmarks/parse/fail-36.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 798s ok 8 /bookmarks/parse/fail-10.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 798s ok 9 /bookmarks/parse/fail-41.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 798s ok 10 /bookmarks/parse/fail-24.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 798s ok 11 /bookmarks/parse/fail-12.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 798s ok 12 /bookmarks/parse/fail-06.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 798s ok 13 /bookmarks/parse/fail-32.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 798s ok 14 /bookmarks/parse/fail-38.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 798s ok 15 /bookmarks/parse/fail-08.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 798s ok 16 /bookmarks/parse/valid-03.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 798s ok 17 /bookmarks/parse/fail-25.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 798s ok 18 /bookmarks/parse/fail-34.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 798s ok 19 /bookmarks/parse/fail-04.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 798s ok 20 /bookmarks/parse/fail-03.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 798s ok 21 /bookmarks/parse/fail-35.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 798s ok 22 /bookmarks/parse/fail-26.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 798s ok 23 /bookmarks/parse/fail-18.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 798s ok 24 /bookmarks/parse/fail-21.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 798s ok 25 /bookmarks/parse/fail-01.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 798s ok 26 /bookmarks/parse/fail-28.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 798s ok 27 /bookmarks/parse/fail-33.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 798s ok 28 /bookmarks/parse/fail-07.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 798s ok 29 /bookmarks/parse/fail-09.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 798s ok 30 /bookmarks/parse/fail-40.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 798s ok 31 /bookmarks/parse/fail-22.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 798s ok 32 /bookmarks/parse/fail-39.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 798s ok 33 /bookmarks/parse/valid-01.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 798s ok 34 /bookmarks/parse/fail-17.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 798s ok 35 /bookmarks/parse/fail-42.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 798s ok 36 /bookmarks/parse/fail-02.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 798s ok 37 /bookmarks/parse/fail-31.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 798s ok 38 /bookmarks/parse/fail-23.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 798s ok 39 /bookmarks/parse/fail-11.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 798s ok 40 /bookmarks/parse/fail-37.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 798s ok 41 /bookmarks/parse/fail-16.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 798s ok 42 /bookmarks/parse/fail-15.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 798s ok 43 /bookmarks/parse/fail-19.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 798s ok 44 /bookmarks/parse/fail-13.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 798s ok 45 /bookmarks/parse/fail-30.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 798s ok 46 /bookmarks/parse/fail-29.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 798s ok 47 /bookmarks/parse/fail-27.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 798s ok 48 /bookmarks/parse/valid-02.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 798s ok 49 /bookmarks/parse/fail-14.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 798s ok 50 /bookmarks/parse/fail-05.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 798s ok 51 /bookmarks/parse/fail-20.xbel 798s # End of parse tests 798s # Start of copy tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 798s ok 52 /bookmarks/copy/fail-36.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 798s ok 53 /bookmarks/copy/fail-10.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 798s ok 54 /bookmarks/copy/fail-41.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 798s ok 55 /bookmarks/copy/fail-24.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 798s ok 56 /bookmarks/copy/fail-12.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 798s ok 57 /bookmarks/copy/fail-06.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 798s ok 58 /bookmarks/copy/fail-32.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 798s ok 59 /bookmarks/copy/fail-38.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 798s ok 60 /bookmarks/copy/fail-08.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 798s ok 61 /bookmarks/copy/valid-03.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 798s ok 62 /bookmarks/copy/fail-25.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 798s ok 63 /bookmarks/copy/fail-34.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 798s ok 64 /bookmarks/copy/fail-04.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 798s ok 65 /bookmarks/copy/fail-03.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 798s ok 66 /bookmarks/copy/fail-35.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 798s ok 67 /bookmarks/copy/fail-26.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 798s ok 68 /bookmarks/copy/fail-18.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 798s ok 69 /bookmarks/copy/fail-21.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 798s ok 70 /bookmarks/copy/fail-01.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 798s ok 71 /bookmarks/copy/fail-28.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 798s ok 72 /bookmarks/copy/fail-33.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 798s ok 73 /bookmarks/copy/fail-07.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 798s ok 74 /bookmarks/copy/fail-09.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 798s ok 75 /bookmarks/copy/fail-40.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 798s ok 76 /bookmarks/copy/fail-22.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 798s ok 77 /bookmarks/copy/fail-39.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 798s ok 78 /bookmarks/copy/valid-01.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 798s ok 79 /bookmarks/copy/fail-17.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 798s ok 80 /bookmarks/copy/fail-42.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 798s ok 81 /bookmarks/copy/fail-02.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 798s ok 82 /bookmarks/copy/fail-31.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 798s ok 83 /bookmarks/copy/fail-23.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 798s ok 84 /bookmarks/copy/fail-11.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 798s ok 85 /bookmarks/copy/fail-37.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 798s ok 86 /bookmarks/copy/fail-16.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 798s ok 87 /bookmarks/copy/fail-15.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 798s ok 88 /bookmarks/copy/fail-19.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 798s ok 89 /bookmarks/copy/fail-13.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 798s ok 90 /bookmarks/copy/fail-30.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 798s ok 91 /bookmarks/copy/fail-29.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 798s ok 92 /bookmarks/copy/fail-27.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 798s ok 93 /bookmarks/copy/valid-02.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 798s ok 94 /bookmarks/copy/fail-14.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 798s ok 95 /bookmarks/copy/fail-05.xbel 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9T0OK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 798s ok 96 /bookmarks/copy/fail-20.xbel 798s # End of copy tests 798s # End of bookmarks tests 798s ok - glib/bookmarkfile.test 798s # Running test: glib/properties-introspection.test 798s TAP version 13 798s # random seed: R02S9d5cc0ad19329049820a557f88e6cac7 798s 1..2 798s # Start of properties tests 798s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 798s ok 1 /properties/introspection 798s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 798s ok 2 /properties/collision 798s # End of properties tests 798s ok - glib/properties-introspection.test 798s # Running test: glib/tls-bindings.test 798s TAP version 13 798s # random seed: R02S150dc25018c11702399dee021b956609 798s 1..2 798s # Start of tls-connection tests 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 798s ok 1 /tls-connection/get-tls-channel-binding 798s ok 2 /tls-connection/get-dtls-channel-binding 798s # End of tls-connection tests 798s ok - glib/tls-bindings.test 798s # Running test: glib/repository.test 798s TAP version 13 798s # random seed: R02Sf7576db8612934d664ea1030be22a156 798s 1..21 798s # Start of repository tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/basic/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/basic/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/basic/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/basic/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/basic/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/basic/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/basic/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/basic/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/basic/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/basic/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 798s ok 1 /repository/basic 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/info/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/info/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/info/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/info/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/info/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/info/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/info/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/info/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/info/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/info/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/info summary: Test retrieving some basic info blobs from a typelib 798s ok 2 /repository/info 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/dependencies/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/dependencies/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/dependencies/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/dependencies/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/dependencies/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/dependencies/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/dependencies/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/dependencies/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 798s ok 3 /repository/dependencies 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/arg-info/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/arg-info/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/arg-info/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/arg-info/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/arg-info/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/arg-info/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/arg-info/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/arg-info/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 798s ok 4 /repository/arg-info 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/callable-info/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/callable-info/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/callable-info/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/callable-info/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/callable-info/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/callable-info/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/callable-info/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/callable-info/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 798s ok 5 /repository/callable-info 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/callback-info/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/callback-info/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/callback-info/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/callback-info/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/callback-info/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/callback-info/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/callback-info/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/callback-info/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 798s ok 6 /repository/callback-info 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/char-types/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/char-types/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/char-types/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/char-types/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/char-types/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/char-types/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/char-types/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/char-types/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 798s ok 7 /repository/char-types 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/constructor-return-type/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 798s ok 8 /repository/constructor-return-type 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/enum-info-c-identifier/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 798s ok 9 /repository/enum-info-c-identifier 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/enum-info-static-methods/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/enum-info-static-methods summary: Test an enum with methods 798s ok 10 /repository/enum-info-static-methods 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/error-quark/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/error-quark/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/error-quark/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/error-quark/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/error-quark/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/error-quark/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/error-quark/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/error-quark/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/error-quark summary: Test finding an error quark by error domain 798s ok 11 /repository/error-quark 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/flags-info-c-identifier/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 798s ok 12 /repository/flags-info-c-identifier 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/fundamental-ref-func/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 798s ok 13 /repository/fundamental-ref-func 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/instance-method-ownership-transfer/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 798s ok 14 /repository/instance-method-ownership-transfer 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/object-gtype-interfaces/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 798s ok 15 /repository/object-gtype-interfaces 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/signal-info-with-array-length-arg/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 798s ok 16 /repository/signal-info-with-array-length-arg 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/type-info-name/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 798s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 798s ok 17 /repository/type-info-name 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 798s ok 18 /repository/vfunc-info-with-no-invoker 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 798s ok 19 /repository/vfunc-info-with-invoker-on-interface 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 798s ok 20 /repository/vfunc-info-with-invoker-on-object 798s # Start of base-info tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6WUWK2/repository/base-info/clear/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 798s ok 21 /repository/base-info/clear 798s # End of base-info tests 798s # End of repository tests 798s ok - glib/repository.test 798s # Running test: glib/mapping.test 798s TAP version 13 798s # random seed: R02S49c66e202605ab8400bb7f2404169a5d 798s 1..3 798s # Start of mapping tests 798s # test_mapping: ok 798s ok 1 /mapping/flags 798s ok 2 /mapping/private 798s # Subtest: /usr/libexec/installed-tests/glib/mapping 798s # test_child_private: child spawned 798s # # random seed: R02Sdf887cafb77930624b79b7e47da0c894 798s # test_child_private: received first child signal 798s # # test_child_private: received parent signal 798s # test_child_private: received second child signal 798s ok 3 /mapping/private-child 798s # End of mapping tests 798s ok - glib/mapping.test 798s # Running test: glib/memory-monitor.test 798s TAP version 13 798s # random seed: R02S835d530dd88d04c64ac1b119668ad869 798s 1..1 798s # Start of memory-monitor tests 798s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 798s ok 1 /memory-monitor/default 798s # End of memory-monitor tests 798s ok - glib/memory-monitor.test 798s # Running test: glib/tls-interaction.test 798s TAP version 13 798s # random seed: R02S9223312d8c71181183c9276d2f9591de 798s 1..42 798s # Start of tls-interaction tests 798s # Start of ask-password tests 798s # Start of invoke-with-loop tests 798s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 798s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 798s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 798s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 798s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 798s # End of invoke-with-loop tests 798s # Start of invoke-without-loop tests 798s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 798s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 798s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 798s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 798s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 798s # End of invoke-without-loop tests 798s # Start of invoke-in-loop tests 798s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 798s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 798s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 798s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 798s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 798s # End of invoke-in-loop tests 798s # Start of sync tests 798s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 798s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 798s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 798s # End of sync tests 798s # Start of async tests 798s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 798s ok 20 /tls-interaction/ask-password/async/async-implementation-success 798s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 798s # End of async tests 798s # End of ask-password tests 798s # Start of request-certificate tests 798s # Start of invoke-with-loop tests 798s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 798s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 798s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 798s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 798s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 798s # End of invoke-with-loop tests 798s # Start of invoke-without-loop tests 798s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 798s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 798s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 798s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 798s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 798s # End of invoke-without-loop tests 798s # Start of invoke-in-loop tests 798s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 798s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 798s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 798s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 798s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 798s # End of invoke-in-loop tests 798s # Start of sync tests 798s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 798s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 798s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 798s # End of sync tests 798s # Start of async tests 798s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 798s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 798s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 798s # End of async tests 798s # End of request-certificate tests 798s # End of tls-interaction tests 798s ok - glib/tls-interaction.test 798s # Running test: glib/gdbus-error.test 798s TAP version 13 798s # random seed: R02S5e87955252d1fa100ed3fd91bf55b238 798s 1..4 798s # Start of gdbus tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_NTXXK2/gdbus/registered-errors/.dirs/runtime 798s ok 1 /gdbus/registered-errors 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_NTXXK2/gdbus/unregistered-errors/.dirs/runtime 798s ok 2 /gdbus/unregistered-errors 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_NTXXK2/gdbus/transparent-gerror/.dirs/runtime 798s ok 3 /gdbus/transparent-gerror 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_NTXXK2/gdbus/register-error/.dirs/runtime 798s ok 4 /gdbus/register-error 798s # End of gdbus tests 798s ok - glib/gdbus-error.test 798s # Running test: glib/642026-ec.test 798s TAP version 13 798s # random seed: R02Sbb422a6738fe7058e54f98bff8aba50f 798s 1..1 798s # Start of glib tests 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 798s ok 1 /glib/642026 798s # End of glib tests 798s ok - glib/642026-ec.test 798s # Running test: glib/refcount-macro.test 798s TAP version 13 798s # random seed: R02S876d66f94b3be0b736ea6b828395dfec 798s 1..4 798s # Start of refcount tests 798s ok 1 /refcount/grefcount 798s ok 2 /refcount/gatomicrefcount 798s # Start of grefcount tests 798s ok 3 /refcount/grefcount/saturation 798s # End of grefcount tests 798s # Start of gatomicrefcount tests 798s ok 4 /refcount/gatomicrefcount/saturation 798s # End of gatomicrefcount tests 798s # End of refcount tests 798s ok - glib/refcount-macro.test 798s # Running test: glib/option-context.test 798s TAP version 13 798s # random seed: R02S4197c0ea36721688220ffa5123c33f3e 798s 1..57 798s # Start of option tests 798s ok 1 /option/basic 798s ok 2 /option/translate 798s ok 3 /option/strict-posix 798s # Start of help tests 798s ok 4 /option/help/options 798s ok 5 /option/help/no-options 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 798s ok 6 /option/help/no-help-options 798s # End of help tests 798s # Start of group tests 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 798s ok 7 /option/group/captions 798s ok 8 /option/group/main 798s ok 9 /option/group/error-hook 798s ok 10 /option/group/parse 798s # Start of captions tests 798s # Start of subprocess tests 798s # End of subprocess tests 798s # End of captions tests 798s # End of group tests 798s # Start of restoration tests 798s ok 11 /option/restoration/int 798s ok 12 /option/restoration/string 798s ok 13 /option/restoration/boolean 798s # End of restoration tests 798s # Start of arg tests 798s ok 14 /option/arg/reverse-string 798s ok 15 /option/arg/optional-int 798s # Start of repetition tests 798s ok 16 /option/arg/repetition/int 798s ok 17 /option/arg/repetition/string 798s ok 18 /option/arg/repetition/filename 798s ok 19 /option/arg/repetition/double 798s ok 20 /option/arg/repetition/locale 798s ok 21 /option/arg/repetition/int64 798s # End of repetition tests 798s # Start of array tests 798s ok 22 /option/arg/array/string 798s # End of array tests 798s # Start of callback tests 798s ok 23 /option/arg/callback/string 798s ok 24 /option/arg/callback/count 798s ok 25 /option/arg/callback/optional1 798s ok 26 /option/arg/callback/optional2 798s ok 27 /option/arg/callback/optional3 798s ok 28 /option/arg/callback/optional4 798s ok 29 /option/arg/callback/optional5 798s ok 30 /option/arg/callback/optional6 798s ok 31 /option/arg/callback/optional7 798s ok 32 /option/arg/callback/optional8 798s # End of callback tests 798s # Start of remaining tests 798s ok 33 /option/arg/remaining/callback 798s ok 34 /option/arg/remaining/callback-false 798s ok 35 /option/arg/remaining/non-option 798s ok 36 /option/arg/remaining/separator 798s ok 37 /option/arg/remaining/array 798s # End of remaining tests 798s # Start of ignore tests 798s ok 38 /option/arg/ignore/long 798s ok 39 /option/arg/ignore/short 798s ok 40 /option/arg/ignore/arg 798s # End of ignore tests 798s # Start of rest tests 798s ok 41 /option/arg/rest/non-option 798s ok 42 /option/arg/rest/separator1 798s ok 43 /option/arg/rest/separator2 798s ok 44 /option/arg/rest/separator3 798s ok 45 /option/arg/rest/separator4 798s ok 46 /option/arg/rest/separator5 798s # End of rest tests 798s # End of arg tests 798s # Start of context tests 798s ok 47 /option/context/add 798s ok 48 /option/context/empty2 798s ok 49 /option/context/empty3 798s # End of context tests 798s # Start of bug tests 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 798s ok 50 /option/bug/unknown-short 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 798s ok 51 /option/bug/lonely-dash 798s ok 52 /option/bug/triple-dash 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 798s ok 53 /option/bug/missing-arg 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 798s ok 54 /option/bug/dash-arg 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 798s ok 55 /option/bug/short-remaining 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 798s ok 56 /option/bug/double-free 798s ok 57 /option/bug/double-zero 798s # End of bug tests 798s # End of option tests 798s ok - glib/option-context.test 798s # Running test: glib/gdbus-exit-on-close.test 798s TAP version 13 798s # random seed: R02S71a485f10162df960c247629cdc2e0b8 798s 1..4 798s # Start of gdbus tests 798s # Start of exit-on-close tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/default/.dirs/runtime 798s ok 1 /gdbus/exit-on-close/default 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/true/.dirs/runtime 798s ok 2 /gdbus/exit-on-close/true 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/false/.dirs/runtime 798s ok 3 /gdbus/exit-on-close/false 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_D4ZYK2/gdbus/exit-on-close/we-close/.dirs/runtime 798s ok 4 /gdbus/exit-on-close/we-close 798s # Start of default tests 798s # End of default tests 798s # Start of true tests 798s # End of true tests 798s # Start of false tests 798s # End of false tests 798s # Start of we-close tests 798s # End of we-close tests 798s # End of exit-on-close tests 798s # End of gdbus tests 798s ok - glib/gdbus-exit-on-close.test 798s # Running test: glib/performance-threaded.test 798s Running test "liststore-is-a" 799s 8762 runs, min/avg/max = 0.106/0.114/1.176 ms 799s Running test "liststore-interface-peek" 800s 17756 runs, min/avg/max = 0.050/0.056/1.574 ms 800s Running test "liststore-interface-peek-same" 801s # Executing: glib/performance-threaded.test 801s 17688 runs, min/avg/max = 0.049/0.056/1.275 ms 801s ok - glib/performance-threaded.test 801s # Running test: glib/mutex.test 801s TAP version 13 801s # random seed: R02Sdf81b0b1283e5d90a53473989292ad85 801s 1..17 801s # Start of thread tests 801s ok 1 /thread/mutex1 801s ok 2 /thread/mutex2 801s ok 3 /thread/mutex3 801s ok 4 /thread/mutex4 806s # Executing: glib/mutex.test 808s ok 5 /thread/mutex5 808s # slow test /thread/mutex5 executed in 7.48 secs 808s # Start of mutex tests 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 808s # /thread/mutex/errno summary: Validates that errno is not touched upon return 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s # /thread/mutex/errno summary: Validates that errno is not touched upon return 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 809s ok 6 /thread/mutex/errno 809s # Start of perf tests 809s # max perf: inf mips 809s ok 7 /thread/mutex/perf/uncontended 809s # Start of contended tests 809s # max perf: inf mips 809s ok 8 /thread/mutex/perf/contended/1 809s # max perf: inf mips 809s ok 9 /thread/mutex/perf/contended/2 809s # max perf: inf mips 809s ok 10 /thread/mutex/perf/contended/3 809s # max perf: inf mips 809s ok 11 /thread/mutex/perf/contended/4 809s # max perf: 6.000000 mips 809s ok 12 /thread/mutex/perf/contended/5 809s # max perf: inf mips 809s ok 13 /thread/mutex/perf/contended/6 809s # max perf: 8.000000 mips 809s ok 14 /thread/mutex/perf/contended/7 809s # max perf: inf mips 809s ok 15 /thread/mutex/perf/contended/8 809s # max perf: 0.172414 mips 809s ok 16 /thread/mutex/perf/contended/9 809s # max perf: 11.000000 mips 809s ok 17 /thread/mutex/perf/contended/10 809s # End of contended tests 809s # End of perf tests 809s # End of mutex tests 809s # End of thread tests 809s ok - glib/mutex.test 809s # Running test: glib/win32-appinfo.test 809s TAP version 13 809s # random seed: R02S1f34de66f0057a0e43ae1f4bfca0328b 809s 1..5 809s # Start of appinfo tests 809s ok 1 /appinfo/utf16-strfuncs 809s ok 2 /appinfo/win32-extract-executable 809s ok 3 /appinfo/win32-rundll32-fixup 809s ok 4 /appinfo/win32-parse-filename 809s ok 5 /appinfo/win32-utf16-conversion-fail 809s # Start of subprocess tests 809s # End of subprocess tests 809s # End of appinfo tests 809s ok - glib/win32-appinfo.test 809s # Running test: glib/tree.test 809s TAP version 13 809s # random seed: R02S53a750b726d693624aea793706b305a7 809s 1..7 809s # Start of tree tests 809s ok 1 /tree/search 809s ok 2 /tree/remove 809s ok 3 /tree/destroy 809s ok 4 /tree/traverse 809s ok 5 /tree/insert 809s ok 6 /tree/bounds 809s ok 7 /tree/remove-all 809s # End of tree tests 809s ok - glib/tree.test 809s # Running test: glib/power-profile-monitor-portal.test 809s TAP version 13 809s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 809s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 809s 1..2 809s ok - glib/power-profile-monitor-portal.test 809s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=158.8s; system=39.7s; maxrss=300372 810s autopkgtest [21:59:37]: test installed-tests: -----------------------] 811s autopkgtest [21:59:38]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 811s installed-tests PASS 812s autopkgtest [21:59:39]: test closure-refcount: preparing testbed 813s Reading package lists... 814s Building dependency tree... 814s Reading state information... 814s Starting pkgProblemResolver with broken count: 0 814s Starting 2 pkgProblemResolver with broken count: 0 814s Done 814s The following NEW packages will be installed: 814s autopkgtest-satdep 814s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 814s Need to get 0 B/776 B of archives. 814s After this operation, 0 B of additional disk space will be used. 814s Get:1 /tmp/autopkgtest.bRsZmz/4-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 815s Selecting previously unselected package autopkgtest-satdep. 815s (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 ... 53626 files and directories currently installed.) 815s Preparing to unpack .../4-autopkgtest-satdep.deb ... 815s Unpacking autopkgtest-satdep (0) ... 815s Setting up autopkgtest-satdep (0) ... 817s (Reading database ... 53626 files and directories currently installed.) 817s Removing autopkgtest-satdep (0) ... 817s autopkgtest [21:59:44]: test closure-refcount: [----------------------- 818s Running test: glib/closure-refcount.test 818s TAP version 13 818s # random seed: R02S4ac592f1c35a8100ba1eb8054e1adeec 818s 1..1 818s # Start of closure tests 818s # Init 0x2aa07f7f0a0 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from main thread 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from main thread 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from thread2 818s # Yielding from thread1 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread2 818s # Yielding from thread1 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread2 818s # Yielding from thread1 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from thread2 818s # Yielding from main thread 818s # Yielding from main thread 818s # Yielding from thread1 818s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from main thread 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from thread2 819s # Yielding from thread1 819s # Yielding from main thread 819s # Yielding from main thread 819s # Yielding from main thread 820s # Yielding from thread2 820s # Yielding from main thread 820s # Yielding from thread1 820s # Yielding from main thread 820s # Yielding from thread2 820s # Yielding from thread1 820s # Yielding from main thread 820s # Yielding from main thread 820s # Yielding from main thread 820s # Yielding from main thread 820s # Yielding from thread2 820s # Yielding from thread1 820s # Yielding from main thread 820s # Yielding from thread1 820s # Yielding from thread2 820s # Yielding from main thread 820s # Yielding from main thread 820s # Yielding from main thread 820s # Yielding from thread1 820s # Yielding from thread2 820s # Yielding from thread2 820s # Yielding from main thread 820s # Stopping 820s # Yielding from thread1 820s # Stopped 820s ok 1 /closure/refcount 820s # slow test /closure/refcount executed in 2.02 secs 820s # End of closure tests 820s PASS: glib/closure-refcount.test 820s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.9s; system=0.0s; maxrss=3456 820s autopkgtest [21:59:47]: test closure-refcount: -----------------------] 822s autopkgtest [21:59:48]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 822s closure-refcount PASS 823s autopkgtest [21:59:50]: test debugcontroller: preparing testbed 824s Reading package lists... 824s Building dependency tree... 824s Reading state information... 825s Starting pkgProblemResolver with broken count: 0 825s Starting 2 pkgProblemResolver with broken count: 0 825s Done 825s The following NEW packages will be installed: 825s autopkgtest-satdep 825s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 825s Need to get 0 B/772 B of archives. 825s After this operation, 0 B of additional disk space will be used. 825s Get:1 /tmp/autopkgtest.bRsZmz/5-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 825s Selecting previously unselected package autopkgtest-satdep. 825s (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 ... 53626 files and directories currently installed.) 825s Preparing to unpack .../5-autopkgtest-satdep.deb ... 825s Unpacking autopkgtest-satdep (0) ... 825s Setting up autopkgtest-satdep (0) ... 828s (Reading database ... 53626 files and directories currently installed.) 828s Removing autopkgtest-satdep (0) ... 829s autopkgtest [21:59:56]: test debugcontroller: [----------------------- 829s Running test: glib/debugcontroller.test 829s TAP version 13 829s # random seed: R02S5bb7da738e7ed1e8db28b716e9553d8f 829s 1..3 829s # Start of debug-controller tests 829s # Start of dbus tests 829s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 829s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 829s # GLib-GIO-DEBUG: Debug output enabled 829s # GLib-GIO-DEBUG: Debug output disabled 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s ok 1 /debug-controller/dbus/basic 829s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 829s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s ok 2 /debug-controller/dbus/duplicate 829s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 829s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 829s # GLib-GIO-DEBUG: Debug output enabled 829s # GLib-GIO-DEBUG: Debug output disabled 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 829s ok 3 /debug-controller/dbus/properties 829s # End of dbus tests 829s # End of debug-controller tests 829s PASS: glib/debugcontroller.test 829s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6144 829s autopkgtest [21:59:56]: test debugcontroller: -----------------------] 830s autopkgtest [21:59:57]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 830s debugcontroller PASS 830s autopkgtest [21:59:57]: test gdbus-server-auth: preparing testbed 833s Reading package lists... 833s Building dependency tree... 833s Reading state information... 833s Starting pkgProblemResolver with broken count: 0 833s Starting 2 pkgProblemResolver with broken count: 0 833s Done 833s The following NEW packages will be installed: 833s autopkgtest-satdep 834s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 834s Need to get 0 B/776 B of archives. 834s After this operation, 0 B of additional disk space will be used. 834s Get:1 /tmp/autopkgtest.bRsZmz/6-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 834s Selecting previously unselected package autopkgtest-satdep. 834s (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 ... 53626 files and directories currently installed.) 834s Preparing to unpack .../6-autopkgtest-satdep.deb ... 834s Unpacking autopkgtest-satdep (0) ... 834s Setting up autopkgtest-satdep (0) ... 836s (Reading database ... 53626 files and directories currently installed.) 836s Removing autopkgtest-satdep (0) ... 837s autopkgtest [22:00:04]: test gdbus-server-auth: [----------------------- 837s Running test: glib/gdbus-server-auth.test 837s TAP version 13 837s # random seed: R02S0eee2f8e1e1015f2904563a2d8d909fb 837s 1..9 837s # Start of gdbus tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/.dirs/runtime 837s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-Y5MMK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 837s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-Y5MMK2/dbus-2M98TuFv 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16863 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_DLMMK2/gdbus/server-auth/abstract/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/abstract/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/abstract/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/abstract/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/abstract/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/abstract/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/abstract/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/abstract/.dirs/runtime 837s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-XK0MK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 837s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-XK0MK2/dbus-cyV5uCHH 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16863 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=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16863 837s ok 2 /gdbus/server-auth/abstract 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/tcp/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/tcp/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/tcp/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/tcp/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/tcp/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/tcp/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/tcp/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DLMMK2/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 # Connectable address: tcp:host=127.0.0.1,port=39521 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=0 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 837s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 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=0 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 837s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 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=0 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 837s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 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=0 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 837s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 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=0 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 837s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 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=0 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 837s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 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=0 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 837s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 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=0 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 837s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 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=0 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 838s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 838s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 838s ok 3 /gdbus/server-auth/tcp 838s # slow test /gdbus/server-auth/tcp executed in 1.03 secs 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/.dirs/runtime 838s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-SMRNK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 838s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-SMRNK2/dbus-XjYMrf7H 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16863 838s ok 4 /gdbus/server-auth/anonymous 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/.dirs/runtime 838s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-A9DIK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 838s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-A9DIK2/dbus-aIQ6nFKl 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 838s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16863 838s ok 5 /gdbus/server-auth/external 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/.dirs/runtime 838s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-JLPIK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 838s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-JLPIK2/dbus-SIEbFnSD 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16863 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 838s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16863 838s ok 6 /gdbus/server-auth/sha1 838s # Start of anonymous tests 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 838s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 838s # Connectable address: tcp:host=127.0.0.1,port=33685 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 838s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 838s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 838s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 839s ok 7 /gdbus/server-auth/anonymous/tcp 839s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.99 secs 839s # End of anonymous tests 839s # Start of external tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 839s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-1XIJK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 839s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DLMMK2/gdbus-server-auth-1XIJK2/dbus-GjOEq8Wt 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16863 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 839s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16863,uid=1000,gid=1000 839s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16863 839s ok 8 /gdbus/server-auth/external/require-same-user 839s # End of external tests 839s # Start of sha1 tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DLMMK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 839s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 839s # Connectable address: tcp:host=127.0.0.1,port=44697 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 839s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 839s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 839s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 840s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 840s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 840s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 840s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 840s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 840s ok 9 /gdbus/server-auth/sha1/tcp 840s # slow test /gdbus/server-auth/sha1/tcp executed in 1.00 secs 840s # End of sha1 tests 840s # End of server-auth tests 840s # End of gdbus tests 840s PASS: glib/gdbus-server-auth.test 840s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8960 841s autopkgtest [22:00:08]: test gdbus-server-auth: -----------------------] 841s autopkgtest [22:00:08]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 841s gdbus-server-auth PASS 842s autopkgtest [22:00:09]: test gdbus-threading: preparing testbed 844s Reading package lists... 844s Building dependency tree... 844s Reading state information... 845s Starting pkgProblemResolver with broken count: 0 845s Starting 2 pkgProblemResolver with broken count: 0 845s Done 845s The following NEW packages will be installed: 845s autopkgtest-satdep 845s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 845s Need to get 0 B/776 B of archives. 845s After this operation, 0 B of additional disk space will be used. 845s Get:1 /tmp/autopkgtest.bRsZmz/7-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 845s Selecting previously unselected package autopkgtest-satdep. 845s (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 ... 53626 files and directories currently installed.) 846s Preparing to unpack .../7-autopkgtest-satdep.deb ... 846s Unpacking autopkgtest-satdep (0) ... 846s Setting up autopkgtest-satdep (0) ... 848s (Reading database ... 53626 files and directories currently installed.) 848s Removing autopkgtest-satdep (0) ... 849s autopkgtest [22:00:16]: test gdbus-threading: [----------------------- 849s Running test: glib/gdbus-threading.test 849s TAP version 13 849s # random seed: R02Sa45635daf3b314978a75c1adf03b7b25 849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 849s 1..3 849s # Start of gdbus tests 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_EWDKK2/gdbus/delivery-in-thread/.dirs/runtime 849s ok 1 /gdbus/delivery-in-thread 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_EWDKK2/gdbus/method-calls-in-thread/.dirs/runtime 850s # GLib-GIO-DEBUG: refcount of 0x2aa3ee8d0c0 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping 850s ok 2 /gdbus/method-calls-in-thread 850s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_EWDKK2/gdbus/threaded-singleton/.dirs/runtime 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: refcount of 0x3ff7c000ed0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: refcount of 0x3ff7c0051f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 850s # GLib-GIO-DEBUG: refcount of 0x3ff7c0051f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: refcount of 0x3ff7c003ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: refcount of 0x3ff7c003ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-GIO-DEBUG: refcount of 0x3ff7c003ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 850s # GLib-GIO-DEBUG: refcount of 0x3ff7c003ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c003ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c003ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c0066d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c0066d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c0066d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c0066d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c005f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c002500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c002500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c0010e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c0010e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c0050e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c0050e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c001850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c003000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c003000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c003000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c003000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-GIO-DEBUG: refcount of 0x3ff7c003000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c006420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c006420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c006420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c0018a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c0018a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c0018a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c0018a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c0018a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c002df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-GIO-DEBUG: refcount of 0x3ff7c002df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c002df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c0063f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c0063f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c003e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c003ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c0076c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c003970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c0084d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s # GLib-GIO-DEBUG: refcount of 0x3ff7c007e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c007e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c0071a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c0071a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c0071a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c0071a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c007340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c007340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c007340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c007340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c007340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c007340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c000fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c000fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c000fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c008370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c008370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 854s # GLib-GIO-DEBUG: refcount of 0x3ff7c007cd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0088b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0088b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s Executing: glib/gdbus-threading.test 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0088b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c002120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0020f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0020f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c001850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c001850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c001850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c001850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c001850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c001850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0020f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0020f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0020f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0020f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0020f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # GLib-GIO-DEBUG: refcount of 0x3ff7c0020f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 856s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c0084d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c0084d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c008490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c003970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c003970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c0024d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c007650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 858s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: refcount of 0x3ff7c008cd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 859s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c0068f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s Executing: glib/gdbus-threading.test 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c004c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c007420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c007420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c007420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c007420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c008e50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c0087e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c001510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c001510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c009230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c0036e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: refcount of 0x3ff7c0036e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0036e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0070d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0090b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0090b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0089e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0089e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0089e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c0073a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c001080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: refcount of 0x3ff7c001080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c0073a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c0073a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c0073a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c009270 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c006250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c006250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c006250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c006250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c006120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c006120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c001570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c001930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c001930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c001930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c001930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s # GLib-GIO-DEBUG: refcount of 0x3ff7c008b00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: refcount of 0x3ff7c0088c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: refcount of 0x3ff7c0091b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 865s Executing: glib/gdbus-threading.test 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: refcount of 0x3ff7c008b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: refcount of 0x3ff7c008b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: refcount of 0x3ff7c008b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: refcount of 0x3ff7c008b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s ok 3 /gdbus/threaded-singleton 865s # slow test /gdbus/threaded-singleton executed in 14.76 secs 865s # End of gdbus tests 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s PASS: glib/gdbus-threading.test 865s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.2s; maxrss=6144 865s autopkgtest [22:00:32]: test gdbus-threading: -----------------------] 866s autopkgtest [22:00:33]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 866s gdbus-threading PASS 866s autopkgtest [22:00:33]: test gmenumodel: preparing testbed 868s Reading package lists... 868s Building dependency tree... 868s Reading state information... 868s Starting pkgProblemResolver with broken count: 0 868s Starting 2 pkgProblemResolver with broken count: 0 868s Done 869s The following NEW packages will be installed: 869s autopkgtest-satdep 869s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 869s Need to get 0 B/772 B of archives. 869s After this operation, 0 B of additional disk space will be used. 869s Get:1 /tmp/autopkgtest.bRsZmz/8-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 869s Selecting previously unselected package autopkgtest-satdep. 869s (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 ... 53626 files and directories currently installed.) 869s Preparing to unpack .../8-autopkgtest-satdep.deb ... 869s Unpacking autopkgtest-satdep (0) ... 869s Setting up autopkgtest-satdep (0) ... 871s (Reading database ... 53626 files and directories currently installed.) 871s Removing autopkgtest-satdep (0) ... 872s autopkgtest [22:00:39]: test gmenumodel: [----------------------- 872s Running test: glib/gmenumodel.test 872s TAP version 13 872s # random seed: R02Sec128c3496d9f7b0c54a7287d83f75b7 872s 1..14 872s # Start of gmenu tests 873s ok 1 /gmenu/equality 873s # slow test /gmenu/equality executed in 0.70 secs 874s ok 2 /gmenu/random 874s # slow test /gmenu/random executed in 0.89 secs 874s ok 3 /gmenu/attributes 874s ok 4 /gmenu/links 874s ok 5 /gmenu/mutable 874s ok 6 /gmenu/convenience 874s ok 7 /gmenu/menuitem 874s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 874s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 874s ok 8 /gmenu/input-validation 874s # Start of dbus tests 874s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 875s ok 9 /gmenu/dbus/roundtrip 875s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 875s ok 10 /gmenu/dbus/subscriptions 877s ok 11 /gmenu/dbus/threaded 877s # slow test /gmenu/dbus/threaded executed in 1.29 secs 877s # Start of peer tests 878s Executing: glib/gmenumodel.test 878s ok 12 /gmenu/dbus/peer/roundtrip 878s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 878s ok 13 /gmenu/dbus/peer/subscriptions 878s # End of peer tests 878s # End of dbus tests 878s # Start of attributes tests 878s ok 14 /gmenu/attributes/iterate 878s # End of attributes tests 878s # End of gmenu tests 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s cleaning up pid 18390 878s PASS: glib/gmenumodel.test 878s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.8s; system=0.1s; maxrss=44800 878s autopkgtest [22:00:45]: test gmenumodel: -----------------------] 879s autopkgtest [22:00:46]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 879s gmenumodel PASS 879s autopkgtest [22:00:46]: test mainloop: preparing testbed 881s Reading package lists... 882s Building dependency tree... 882s Reading state information... 882s Starting pkgProblemResolver with broken count: 0 882s Starting 2 pkgProblemResolver with broken count: 0 882s Done 882s The following NEW packages will be installed: 882s autopkgtest-satdep 882s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 882s Need to get 0 B/776 B of archives. 882s After this operation, 0 B of additional disk space will be used. 882s Get:1 /tmp/autopkgtest.bRsZmz/9-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 882s Selecting previously unselected package autopkgtest-satdep. 883s (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 ... 53626 files and directories currently installed.) 883s Preparing to unpack .../9-autopkgtest-satdep.deb ... 883s Unpacking autopkgtest-satdep (0) ... 883s Setting up autopkgtest-satdep (0) ... 885s (Reading database ... 53626 files and directories currently installed.) 885s Removing autopkgtest-satdep (0) ... 886s autopkgtest [22:00:53]: test mainloop: [----------------------- 886s Running test: glib/mainloop.test 886s TAP version 13 886s # random seed: R02Se0ce75b5d51e08626ae1217546d7166f 886s 1..45 886s # Start of maincontext tests 886s ok 1 /maincontext/basic 887s # Add same-priority sources: 26 887s # Find each source: 4 887s # Remove in random order: 47 887s ok 2 /maincontext/nsources_same_priority 887s # Add different-priority sources: 26 887s # Find each source: 2 887s # Remove in random order: 45 887s ok 3 /maincontext/nsources_different_priority 887s # Add sources from threads: 76 887s # Remove sources from threads: 101 887s ok 4 /maincontext/nsources_threadpool 887s ok 5 /maincontext/source_finalization 887s # /maincontext/idle-once summary: Test g_idle_add_once() works 887s ok 6 /maincontext/idle-once 887s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 887s ok 7 /maincontext/timeout-once 887s # Start of source_finalization_from_source tests 887s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 8 /maincontext/source_finalization_from_source/0 887s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 9 /maincontext/source_finalization_from_source/1 887s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 10 /maincontext/source_finalization_from_source/2 887s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 11 /maincontext/source_finalization_from_source/3 887s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 12 /maincontext/source_finalization_from_source/4 887s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 13 /maincontext/source_finalization_from_source/5 887s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 14 /maincontext/source_finalization_from_source/6 887s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 15 /maincontext/source_finalization_from_source/7 887s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 16 /maincontext/source_finalization_from_source/8 887s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 887s ok 17 /maincontext/source_finalization_from_source/9 887s # End of source_finalization_from_source tests 887s # Start of source_finalization_from_dispatch tests 887s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 887s ok 18 /maincontext/source_finalization_from_dispatch/0 887s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 887s ok 19 /maincontext/source_finalization_from_dispatch/1 887s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 887s ok 20 /maincontext/source_finalization_from_dispatch/2 887s # End of source_finalization_from_dispatch tests 887s # End of maincontext tests 887s # Start of mainloop tests 887s ok 21 /mainloop/basic 887s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 887s ok 23 /mainloop/priorities 888s ok 24 /mainloop/invoke 888s # slow test /mainloop/invoke executed in 0.50 secs 889s ok 25 /mainloop/child_sources 889s # slow test /mainloop/child_sources executed in 1.22 secs 891s ok 26 /mainloop/recursive_child_sources 891s # slow test /mainloop/recursive_child_sources executed in 2.24 secs 891s ok 27 /mainloop/recursive_loop_child_sources 891s ok 28 /mainloop/swapping_child_sources 891s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 891s ok 29 /mainloop/blocked_child_sources 892s Executing: glib/mainloop.test 892s ok 30 /mainloop/source_time 892s # slow test /mainloop/source_time executed in 1.00 secs 892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 892s ok 31 /mainloop/overflow 893s ok 32 /mainloop/ready-time 893s # slow test /mainloop/ready-time executed in 0.51 secs 893s ok 33 /mainloop/wakeup 893s ok 34 /mainloop/remove-invalid 893s ok 35 /mainloop/unref-while-pending 893s ok 36 /mainloop/unix-fd 893s # slow test /mainloop/unix-fd executed in 0.57 secs 893s ok 37 /mainloop/unix-fd-source 893s ok 38 /mainloop/source-unix-fd-api 893s ok 39 /mainloop/wait 893s ok 40 /mainloop/unix-file-poll 893s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 893s ok 41 /mainloop/unix-fd-priority 893s ok 42 /mainloop/nfds 893s ok 43 /mainloop/steal-fd 893s # Start of ownerless-polling tests 893s ok 44 /mainloop/ownerless-polling/attach-first 893s ok 45 /mainloop/ownerless-polling/pop-first 893s # End of ownerless-polling tests 893s # End of mainloop tests 893s PASS: glib/mainloop.test 893s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.5s; maxrss=16040 894s autopkgtest [22:01:01]: test mainloop: -----------------------] 894s autopkgtest [22:01:01]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 894s mainloop PASS 895s autopkgtest [22:01:02]: test memory-monitor-dbus: preparing testbed 897s Reading package lists... 897s Building dependency tree... 897s Reading state information... 897s Starting pkgProblemResolver with broken count: 0 897s Starting 2 pkgProblemResolver with broken count: 0 897s Done 898s The following NEW packages will be installed: 898s autopkgtest-satdep 898s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 898s Need to get 0 B/776 B of archives. 898s After this operation, 0 B of additional disk space will be used. 898s Get:1 /tmp/autopkgtest.bRsZmz/10-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 898s Selecting previously unselected package autopkgtest-satdep. 898s (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 ... 53626 files and directories currently installed.) 898s Preparing to unpack .../10-autopkgtest-satdep.deb ... 898s Unpacking autopkgtest-satdep (0) ... 898s Setting up autopkgtest-satdep (0) ... 900s (Reading database ... 53626 files and directories currently installed.) 900s Removing autopkgtest-satdep (0) ... 901s autopkgtest [22:01:08]: test memory-monitor-dbus: [----------------------- 901s Running test: glib/memory-monitor-dbus.test 902s TAP version 13 902s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 902s # Received memory warning signal, level 902s # Received memory warning signal, level 902s # Received memory warning signal, level 902s 1..1 902s PASS: glib/memory-monitor-dbus.test 902s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=25692 902s autopkgtest [22:01:09]: test memory-monitor-dbus: -----------------------] 903s autopkgtest [22:01:10]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 903s memory-monitor-dbus PASS 903s autopkgtest [22:01:10]: test socket: preparing testbed 905s Reading package lists... 905s Building dependency tree... 905s Reading state information... 906s Starting pkgProblemResolver with broken count: 0 906s Starting 2 pkgProblemResolver with broken count: 0 906s Done 906s The following NEW packages will be installed: 906s autopkgtest-satdep 906s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 906s Need to get 0 B/776 B of archives. 906s After this operation, 0 B of additional disk space will be used. 906s Get:1 /tmp/autopkgtest.bRsZmz/11-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 907s Selecting previously unselected package autopkgtest-satdep. 907s (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 ... 53626 files and directories currently installed.) 907s Preparing to unpack .../11-autopkgtest-satdep.deb ... 907s Unpacking autopkgtest-satdep (0) ... 907s Setting up autopkgtest-satdep (0) ... 909s (Reading database ... 53626 files and directories currently installed.) 909s Removing autopkgtest-satdep (0) ... 909s autopkgtest [22:01:16]: test socket: [----------------------- 910s Running test: glib/socket.test 910s TAP version 13 910s # random seed: R02S2aaf17c6f90b3b0744f4b8ce297d8a09 910s 1..28 910s # Start of socket tests 911s ok 1 /socket/ipv4_sync 911s # slow test /socket/ipv4_sync executed in 1.00 secs 912s ok 2 /socket/ipv4_async 912s # slow test /socket/ipv4_async executed in 1.00 secs 912s ok 3 /socket/ipv6_sync 912s ok 4 /socket/ipv6_async 912s ok 5 /socket/ipv6_v4mapped 913s ok 6 /socket/close_graceful 913s # slow test /socket/close_graceful executed in 1.00 secs 913s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 913s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 913s ok 8 /socket/fd_reuse 913s ok 9 /socket/address 913s ok 10 /socket/unix-from-fd 913s ok 11 /socket/unix-connection 913s ok 12 /socket/unix-connection-ancillary-data 913s ok 13 /socket/source-postmortem 913s ok 14 /socket/read_write 913s ok 15 /socket/read_writev 913s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 913s ok 16 /socket/receive_bytes 913s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 913s ok 17 /socket/receive_bytes_from 913s # Start of ipv4_sync tests 913s ok 18 /socket/ipv4_sync/datagram 913s # Start of datagram tests 914s ok 19 /socket/ipv4_sync/datagram/timeouts 914s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 914s # End of datagram tests 914s # End of ipv4_sync tests 914s # Start of ipv6_sync tests 914s ok 20 /socket/ipv6_sync/datagram 914s # Start of datagram tests 915s Executing: glib/socket.test 915s ok 21 /socket/ipv6_sync/datagram/timeouts 915s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 915s # End of datagram tests 915s # End of ipv6_sync tests 915s # Start of reuse tests 915s ok 22 /socket/reuse/tcp 915s ok 23 /socket/reuse/udp 915s # End of reuse tests 915s # Start of get_available tests 915s ok 24 /socket/get_available/datagram 915s ok 25 /socket/get_available/stream 915s # End of get_available tests 915s # Start of credentials tests 915s # Supported on this OS: GCredentials:linux-ucred:pid=0 915s ok 26 /socket/credentials/tcp_client 915s # Supported on this OS: GCredentials:linux-ucred:pid=0 915s ok 27 /socket/credentials/tcp_server 915s # Supported on this OS: GCredentials:linux-ucred:pid=19215,uid=1000,gid=1000 915s ok 28 /socket/credentials/unix_socketpair 915s # End of credentials tests 915s # End of socket tests 915s PASS: glib/socket.test 915s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5504 915s autopkgtest [22:01:22]: test socket: -----------------------] 916s socket PASS 916s autopkgtest [22:01:23]: test socket: - - - - - - - - - - results - - - - - - - - - - 916s autopkgtest [22:01:23]: test testfilemonitor: preparing testbed 918s Reading package lists... 918s Building dependency tree... 918s Reading state information... 919s Starting pkgProblemResolver with broken count: 0 919s Starting 2 pkgProblemResolver with broken count: 0 919s Done 919s The following NEW packages will be installed: 919s autopkgtest-satdep 919s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 919s Need to get 0 B/780 B of archives. 919s After this operation, 0 B of additional disk space will be used. 919s Get:1 /tmp/autopkgtest.bRsZmz/12-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [780 B] 920s Selecting previously unselected package autopkgtest-satdep. 920s (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 ... 53626 files and directories currently installed.) 920s Preparing to unpack .../12-autopkgtest-satdep.deb ... 920s Unpacking autopkgtest-satdep (0) ... 920s Setting up autopkgtest-satdep (0) ... 923s (Reading database ... 53626 files and directories currently installed.) 923s Removing autopkgtest-satdep (0) ... 923s autopkgtest [22:01:30]: test testfilemonitor: [----------------------- 924s Running test: glib/testfilemonitor.test 924s TAP version 13 924s # random seed: R02Sbaa52269e98ca059b9dabd1dab5bbb9b 924s 1..8 924s # Start of monitor tests 924s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 924s # Using temporary directory: /tmp/gio-test-testfilemonitor_5KZTK2 924s # Using GFileMonitor GInotifyFileMonitor 926s ok 1 /monitor/atomic-replace 926s # slow test /monitor/atomic-replace executed in 2.00 secs 926s # Using temporary directory: /tmp/gio-test-testfilemonitor_OS3TK2 926s # Using GFileMonitor GInotifyFileMonitor 928s ok 2 /monitor/file-changes 928s # slow test /monitor/file-changes executed in 2.51 secs 928s # Using temporary directory: /tmp/gio-test-testfilemonitor_G2IIK2 928s # Using GFileMonitor GInotifyFileMonitor 929s Executing: glib/testfilemonitor.test 932s ok 3 /monitor/dir-monitor 932s # slow test /monitor/dir-monitor executed in 3.51 secs 932s # Using temporary directory: /tmp/gio-test-testfilemonitor_KLCUK2 932s # Using GFileMonitor GInotifyFileMonitor 934s Executing: glib/testfilemonitor.test 939s Executing: glib/testfilemonitor.test 944s Executing: glib/testfilemonitor.test 949s Executing: glib/testfilemonitor.test 954s Executing: glib/testfilemonitor.test 957s ok 4 /monitor/dir-not-existent 957s # slow test /monitor/dir-not-existent executed in 25.02 secs 957s # Using temporary directory: /tmp/gio-test-testfilemonitor_SKXUK2 957s # Using GFileMonitor 0 GInotifyFileMonitor 957s # Using GFileMonitor 1 GInotifyFileMonitor 959s Executing: glib/testfilemonitor.test 959s ok 5 /monitor/cross-dir-moves 959s # slow test /monitor/cross-dir-moves executed in 2.00 secs 959s # Using temporary directory: /tmp/gio-test-testfilemonitor_TK0UK2 959s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 959s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 959s ok 6 /monitor/finalize-in-callback 959s # Using temporary directory: /tmp/gio-test-testfilemonitor_F62UK2 959s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 959s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 959s ok 7 /monitor/root 959s # Start of file tests 959s # Using temporary directory: /tmp/gio-test-testfilemonitor_L82UK2 959s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 959s # Running with hard link tests 959s # Using GFileMonitor GInotifyFileMonitor 962s # Event 0 at expected index 7 skipped because it is marked as optional 962s # Event 2 at expected index 11 skipped because it is marked as optional 962s ok 8 /monitor/file/hard-links 962s # slow test /monitor/file/hard-links executed in 3.51 secs 962s # End of file tests 962s # End of monitor tests 962s PASS: glib/testfilemonitor.test 962s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5632 963s autopkgtest [22:02:10]: test testfilemonitor: -----------------------] 963s testfilemonitor PASS 963s autopkgtest [22:02:10]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 964s autopkgtest [22:02:11]: test thread-pool-slow: preparing testbed 965s Reading package lists... 966s Building dependency tree... 966s Reading state information... 966s Starting pkgProblemResolver with broken count: 0 966s Starting 2 pkgProblemResolver with broken count: 0 966s Done 967s The following NEW packages will be installed: 967s autopkgtest-satdep 967s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 967s Need to get 0 B/780 B of archives. 967s After this operation, 0 B of additional disk space will be used. 967s Get:1 /tmp/autopkgtest.bRsZmz/13-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [780 B] 967s Selecting previously unselected package autopkgtest-satdep. 967s (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 ... 53626 files and directories currently installed.) 967s Preparing to unpack .../13-autopkgtest-satdep.deb ... 967s Unpacking autopkgtest-satdep (0) ... 967s Setting up autopkgtest-satdep (0) ... 970s (Reading database ... 53626 files and directories currently installed.) 970s Removing autopkgtest-satdep (0) ... 971s autopkgtest [22:02:18]: test thread-pool-slow: [----------------------- 971s Running test: glib/thread-pool-slow.test 971s TAP version 13 971s # random seed: R02S22091f25452417ed00781782f227c9a8 971s 1..7 971s # Start of threadpool tests 971s ok 1 /threadpool/functions 971s ok 2 /threadpool/stop-unused 971s # slow test /threadpool/stop-unused executed in 0.51 secs 972s ok 3 /threadpool/pools 972s # [unsorted] ===> pushed new thread with id:27, number of threads:1, unprocessed:0 972s # [unsorted] ===> pushed new thread with id:64, number of threads:2, unprocessed:1 972s # [unsorted] ===> pushed new thread with id:63, number of threads:3, unprocessed:0 972s # [unsorted] ===> pushed new thread with id:14, number of threads:4, unprocessed:1 972s # [unsorted] ===> pushed new thread with id:38, number of threads:5, unprocessed:1 972s # [unsorted] ===> pushed new thread with id:28, number of threads:6, unprocessed:1 972s # [unsorted] ===> pushed new thread with id:69, number of threads:7, unprocessed:1 972s # [unsorted] ===> pushed new thread with id:87, number of threads:8, unprocessed:1 972s # [unsorted] ===> pushed new thread with id:53, number of threads:9, unprocessed:0 972s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:0 972s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:1 972s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:2 972s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:3 972s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:4 972s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:5 972s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:6 972s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:7 972s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:8 972s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:9 972s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:10 972s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:11 972s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:12 972s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:13 972s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:14 972s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:15 972s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:16 972s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:17 972s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:18 972s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:19 972s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:20 972s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:21 972s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:22 972s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:23 972s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:24 972s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:25 972s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:26 972s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:27 972s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:28 972s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:29 972s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:30 972s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:31 972s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:32 972s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:33 972s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:34 972s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:35 972s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:36 972s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:37 972s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:38 972s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:39 972s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:40 972s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:41 972s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:42 972s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:43 972s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:44 972s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:45 972s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:46 972s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:47 972s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:48 972s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:49 972s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:50 972s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:51 972s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:52 972s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:53 972s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:54 972s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:55 972s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:56 972s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:57 972s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:58 972s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:59 972s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:60 972s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:61 972s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:62 972s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:63 972s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:64 972s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:65 972s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:66 972s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:67 972s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:68 972s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:69 972s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:70 972s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:71 972s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:72 972s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:73 972s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:74 972s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:75 972s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:76 972s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:77 972s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:78 972s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:79 972s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:80 972s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:81 972s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:82 972s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:83 972s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:84 972s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:85 972s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:86 972s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:87 972s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:88 972s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:89 972s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:90 972s ok 4 /threadpool/no-sort 972s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:1 972s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:2 972s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:3 972s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:4 972s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:5 972s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:6 972s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:7 972s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:8 972s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:9 972s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:10 972s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:11 972s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:12 972s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:13 972s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:14 972s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:15 972s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:16 972s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:17 972s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:18 972s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:19 972s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:20 972s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:21 972s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:22 972s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:23 972s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:24 972s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:25 972s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:26 972s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:27 972s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:28 972s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:29 972s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:30 972s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:31 972s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:32 972s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:33 972s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:34 972s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:35 972s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:36 972s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:37 972s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:38 972s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:39 972s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:40 972s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:41 972s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:42 972s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:43 972s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:44 972s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:45 972s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:46 972s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:47 972s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:48 972s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:49 972s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:50 972s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:51 972s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:52 972s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:53 972s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:54 972s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:55 972s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:56 972s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:57 972s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:58 972s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:59 972s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:60 972s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:61 972s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:62 972s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:63 972s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:64 972s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:65 972s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:66 972s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:67 972s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:68 972s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:69 972s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:70 972s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:71 972s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:72 972s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:73 972s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:74 972s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:75 972s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:76 972s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:77 972s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:78 972s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:79 972s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:80 972s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:81 972s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:82 972s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:83 972s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:84 972s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:85 972s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:86 972s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:87 972s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:88 972s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:89 972s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:90 972s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:91 972s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:92 972s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:93 972s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:94 972s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:95 972s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:96 972s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:97 972s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:98 972s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:99 972s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:100 972s # Starting thread pool processing 972s ok 5 /threadpool/sort 972s ok 6 /threadpool/stop-unused-multiple 972s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 972s # Pool idle thread count: 0, unprocessed jobs: 47 973s # Pool idle thread count: 0, unprocessed jobs: 0 973s # Pool idle thread count: 0, unprocessed jobs: 0 973s # Pool idle thread count: 10, unprocessed jobs: 0 973s # Pool idle thread count: 10, unprocessed jobs: 0 974s # Pool idle thread count: 10, unprocessed jobs: 0 974s # Pool idle thread count: 10, unprocessed jobs: 0 974s # Pool idle thread count: 10, unprocessed jobs: 0 974s # Pool idle thread count: 10, unprocessed jobs: 0 975s # Pool idle thread count: 10, unprocessed jobs: 0 975s # Pool idle thread count: 10, unprocessed jobs: 0 975s # Pool idle thread count: 10, unprocessed jobs: 0 975s # Pool idle thread count: 10, unprocessed jobs: 0 976s # Pool idle thread count: 10, unprocessed jobs: 0 976s # Pool idle thread count: 10, unprocessed jobs: 0 976s # Pool idle thread count: 10, unprocessed jobs: 0 976s # Pool idle thread count: 10, unprocessed jobs: 0 977s Executing: glib/thread-pool-slow.test 977s # Pool idle thread count: 10, unprocessed jobs: 0 977s # Pool idle thread count: 10, unprocessed jobs: 0 977s # Pool idle thread count: 10, unprocessed jobs: 0 977s # Pool idle thread count: 10, unprocessed jobs: 0 978s # Pool idle thread count: 10, unprocessed jobs: 0 978s # Pool idle thread count: 10, unprocessed jobs: 0 978s # Pool idle thread count: 10, unprocessed jobs: 0 978s # Pool idle thread count: 10, unprocessed jobs: 0 979s # Pool idle thread count: 10, unprocessed jobs: 0 979s # Pool idle thread count: 10, unprocessed jobs: 0 979s # Pool idle thread count: 10, unprocessed jobs: 0 979s # Pool idle thread count: 10, unprocessed jobs: 0 980s # Pool idle thread count: 10, unprocessed jobs: 0 980s # Pool idle thread count: 10, unprocessed jobs: 0 980s # Pool idle thread count: 10, unprocessed jobs: 0 980s # Pool idle thread count: 10, unprocessed jobs: 0 981s # Pool idle thread count: 10, unprocessed jobs: 0 981s # Pool idle thread count: 10, unprocessed jobs: 0 981s # Pool idle thread count: 10, unprocessed jobs: 2 981s # Pool idle thread count: 8, unprocessed jobs: 0 981s # Pool idle thread count: 8, unprocessed jobs: 0 981s # Pool idle thread count: 8, unprocessed jobs: 0 982s Executing: glib/thread-pool-slow.test 982s # Pool idle thread count: 10, unprocessed jobs: 0 982s # Pool idle thread count: 10, unprocessed jobs: 0 982s # Pool idle thread count: 10, unprocessed jobs: 0 982s # Pool idle thread count: 10, unprocessed jobs: 0 983s # Pool idle thread count: 10, unprocessed jobs: 0 983s # Pool idle thread count: 10, unprocessed jobs: 0 983s # Pool idle thread count: 2, unprocessed jobs: 0 983s # Pool idle thread count: 2, unprocessed jobs: 0 984s # Pool idle thread count: 2, unprocessed jobs: 0 984s # Pool idle thread count: 2, unprocessed jobs: 0 984s # Pool idle thread count: 2, unprocessed jobs: 0 984s # Pool idle thread count: 2, unprocessed jobs: 0 985s # Pool idle thread count: 2, unprocessed jobs: 0 985s # Pool idle thread count: 2, unprocessed jobs: 0 985s # Pool idle thread count: 2, unprocessed jobs: 0 985s # Pool idle thread count: 2, unprocessed jobs: 0 986s # Pool idle thread count: 2, unprocessed jobs: 0 986s # Pool idle thread count: 2, unprocessed jobs: 0 986s # Pool idle thread count: 2, unprocessed jobs: 0 986s # Pool idle thread count: 2, unprocessed jobs: 0 987s Executing: glib/thread-pool-slow.test 987s # Pool idle thread count: 2, unprocessed jobs: 0 987s # Pool idle thread count: 2, unprocessed jobs: 0 987s # Pool idle thread count: 2, unprocessed jobs: 0 987s # Pool idle thread count: 2, unprocessed jobs: 0 988s # Pool idle thread count: 2, unprocessed jobs: 0 988s # Pool idle thread count: 2, unprocessed jobs: 0 988s # Pool idle thread count: 2, unprocessed jobs: 0 988s # Pool idle thread count: 2, unprocessed jobs: 0 989s # Pool idle thread count: 2, unprocessed jobs: 0 989s # Pool idle thread count: 2, unprocessed jobs: 0 989s # Pool idle thread count: 2, unprocessed jobs: 0 989s # Pool idle thread count: 2, unprocessed jobs: 0 990s # Pool idle thread count: 2, unprocessed jobs: 0 990s # Pool idle thread count: 2, unprocessed jobs: 0 990s # Pool idle thread count: 2, unprocessed jobs: 0 990s # Pool idle thread count: 2, unprocessed jobs: 0 991s # Pool idle thread count: 2, unprocessed jobs: 0 991s # Pool idle thread count: 2, unprocessed jobs: 0 991s # Pool idle thread count: 2, unprocessed jobs: 0 991s # Pool idle thread count: 2, unprocessed jobs: 0 992s Executing: glib/thread-pool-slow.test 992s ok 7 /threadpool/idle-time 992s # slow test /threadpool/idle-time executed in 19.54 secs 992s # End of threadpool tests 992s PASS: glib/thread-pool-slow.test 992s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3712 992s autopkgtest [22:02:39]: test thread-pool-slow: -----------------------] 993s autopkgtest [22:02:40]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 993s thread-pool-slow PASS 993s autopkgtest [22:02:40]: test threadtests: preparing testbed 995s Reading package lists... 995s Building dependency tree... 995s Reading state information... 996s Starting pkgProblemResolver with broken count: 0 996s Starting 2 pkgProblemResolver with broken count: 0 996s Done 996s The following NEW packages will be installed: 996s autopkgtest-satdep 996s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 996s Need to get 0 B/776 B of archives. 996s After this operation, 0 B of additional disk space will be used. 996s Get:1 /tmp/autopkgtest.bRsZmz/14-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 997s Selecting previously unselected package autopkgtest-satdep. 997s (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 ... 53626 files and directories currently installed.) 997s Preparing to unpack .../14-autopkgtest-satdep.deb ... 997s Unpacking autopkgtest-satdep (0) ... 997s Setting up autopkgtest-satdep (0) ... 999s (Reading database ... 53626 files and directories currently installed.) 999s Removing autopkgtest-satdep (0) ... 1000s autopkgtest [22:02:47]: test threadtests: [----------------------- 1000s Running test: glib/threadtests.test 1000s TAP version 13 1000s # random seed: R02S274a15f522632013c82ee6c1620fe729 1000s 1..5 1000s # Start of GObject tests 1000s ok 1 /GObject/threaded-object-init 1001s ok 2 /GObject/threaded-weak-ref 1001s # slow test /GObject/threaded-weak-ref executed in 0.94 secs 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1001s # /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 1001s ok 3 /GObject/threaded-toggle-notify 1001s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1001s # Start of threaded-weak-ref tests 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1001s # /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. 1001s ok 5 /GObject/threaded-weak-ref/on-finalization 1001s # End of threaded-weak-ref tests 1001s # End of GObject tests 1001s PASS: glib/threadtests.test 1001s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.4s; maxrss=3584 1001s autopkgtest [22:02:48]: test threadtests: -----------------------] 1002s threadtests PASS 1002s autopkgtest [22:02:49]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1002s autopkgtest [22:02:49]: test timeout: preparing testbed 1005s Reading package lists... 1005s Building dependency tree... 1005s Reading state information... 1005s Starting pkgProblemResolver with broken count: 0 1005s Starting 2 pkgProblemResolver with broken count: 0 1005s Done 1006s The following NEW packages will be installed: 1006s autopkgtest-satdep 1006s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1006s Need to get 0 B/776 B of archives. 1006s After this operation, 0 B of additional disk space will be used. 1006s Get:1 /tmp/autopkgtest.bRsZmz/15-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 1006s Selecting previously unselected package autopkgtest-satdep. 1006s (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 ... 53626 files and directories currently installed.) 1006s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1006s Unpacking autopkgtest-satdep (0) ... 1006s Setting up autopkgtest-satdep (0) ... 1009s (Reading database ... 53626 files and directories currently installed.) 1009s Removing autopkgtest-satdep (0) ... 1009s autopkgtest [22:02:56]: test timeout: [----------------------- 1010s Running test: glib/timeout.test 1010s TAP version 13 1010s # random seed: R02S7b3b4e23f0fcbfb687dc2c67acdd3602 1010s 1..5 1010s # Start of timeout tests 1010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1012s ok 1 /timeout/seconds 1012s # slow test /timeout/seconds executed in 2.10 secs 1014s ok 2 /timeout/seconds-once 1014s # slow test /timeout/seconds-once executed in 2.10 secs 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1015s Executing: glib/timeout.test 1016s ok 3 /timeout/weeks-overflow 1016s # slow test /timeout/weeks-overflow executed in 2.10 secs 1016s ok 4 /timeout/far-future-ready-time 1020s Executing: glib/timeout.test 1025s Executing: glib/timeout.test 1027s ok 5 /timeout/rounding 1027s # slow test /timeout/rounding executed in 10.76 secs 1027s # End of timeout tests 1027s PASS: glib/timeout.test 1027s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2816 1027s autopkgtest [22:03:14]: test timeout: -----------------------] 1028s autopkgtest [22:03:15]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1028s timeout PASS 1028s autopkgtest [22:03:15]: test timer: preparing testbed 1033s Reading package lists... 1034s Building dependency tree... 1034s Reading state information... 1034s Starting pkgProblemResolver with broken count: 0 1034s Starting 2 pkgProblemResolver with broken count: 0 1034s Done 1034s The following NEW packages will be installed: 1034s autopkgtest-satdep 1034s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1034s Need to get 0 B/780 B of archives. 1034s After this operation, 0 B of additional disk space will be used. 1034s Get:1 /tmp/autopkgtest.bRsZmz/16-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [780 B] 1035s Selecting previously unselected package autopkgtest-satdep. 1035s (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 ... 53626 files and directories currently installed.) 1035s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1035s Unpacking autopkgtest-satdep (0) ... 1035s Setting up autopkgtest-satdep (0) ... 1038s (Reading database ... 53626 files and directories currently installed.) 1038s Removing autopkgtest-satdep (0) ... 1039s autopkgtest [22:03:26]: test timer: [----------------------- 1039s Running test: glib/timer.test 1039s TAP version 13 1039s # random seed: R02S34d43c805ff56964bed4b130e304ebe5 1039s 1..10 1039s # Start of timer tests 1039s ok 1 /timer/basic 1039s ok 2 /timer/stop 1039s ok 3 /timer/continue 1039s ok 4 /timer/reset 1039s ok 5 /timer/is_active 1039s # End of timer tests 1039s # Start of timeval tests 1039s ok 6 /timeval/add 1039s ok 7 /timeval/from-iso8601 1039s ok 8 /timeval/to-iso8601 1039s # Start of to-iso8601 tests 1039s ok 9 /timeval/to-iso8601/overflow 1039s # End of to-iso8601 tests 1039s # End of timeval tests 1039s # Start of usleep tests 1039s ok 10 /usleep/with-zero-wait 1039s # End of usleep tests 1039s PASS: glib/timer.test 1039s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2816 1039s autopkgtest [22:03:26]: test timer: -----------------------] 1040s autopkgtest [22:03:27]: test timer: - - - - - - - - - - results - - - - - - - - - - 1040s timer PASS 1040s autopkgtest [22:03:27]: test 1065022-futureproofing: preparing testbed 1146s autopkgtest [22:05:13]: testbed dpkg architecture: s390x 1146s autopkgtest [22:05:13]: testbed apt version: 2.7.12 1146s autopkgtest [22:05:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1147s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 1147s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 1148s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.7 kB] 1148s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3797 kB] 1148s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [492 kB] 1148s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [648 kB] 1148s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 1148s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 1148s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 1148s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3981 kB] 1148s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 1148s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [34.4 kB] 1148s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 1150s Fetched 9141 kB in 3s (3465 kB/s) 1151s Reading package lists... 1153s Reading package lists... 1153s Building dependency tree... 1154s Reading state information... 1154s Calculating upgrade... 1154s The following packages will be REMOVED: 1154s libglib2.0-0 1154s The following NEW packages will be installed: 1154s libglib2.0-0t64 xdg-user-dirs 1154s The following packages will be upgraded: 1154s gir1.2-glib-2.0 libglib2.0-data 1154s 2 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1154s Need to get 1811 kB of archives. 1154s After this operation, 159 kB of additional disk space will be used. 1154s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-glib-2.0 s390x 2.79.3-3ubuntu5 [180 kB] 1155s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-0t64 s390x 2.79.3-3ubuntu5 [1566 kB] 1156s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 1156s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x xdg-user-dirs s390x 0.18-1 [18.5 kB] 1156s Fetched 1811 kB in 2s (814 kB/s) 1156s (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 ... 52171 files and directories currently installed.) 1156s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_s390x.deb ... 1156s Unpacking gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 1156s dpkg: libglib2.0-0:s390x: dependency problems, but removing anyway as you requested: 1156s udisks2 depends on libglib2.0-0 (>= 2.77.0). 1156s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 1156s s390-tools depends on libglib2.0-0 (>= 2.77.0). 1156s python3-gi depends on libglib2.0-0 (>= 2.77.0). 1156s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 1156s netplan.io depends on libglib2.0-0 (>= 2.70.0). 1156s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 1156s libxmlb2:s390x depends on libglib2.0-0 (>= 2.54.0). 1156s libvolume-key1:s390x depends on libglib2.0-0 (>= 2.18.0). 1156s libudisks2-0:s390x depends on libglib2.0-0 (>= 2.75.3). 1156s libqrtr-glib0:s390x depends on libglib2.0-0 (>= 2.56). 1156s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 1156s libqmi-glib5:s390x depends on libglib2.0-0 (>= 2.54.0). 1156s libpolkit-gobject-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 1156s libpolkit-agent-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 1156s libnetplan0:s390x depends on libglib2.0-0 (>= 2.75.3). 1156s libmm-glib0:s390x depends on libglib2.0-0 (>= 2.62.0). 1156s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 1156s libmbim-glib4:s390x depends on libglib2.0-0 (>= 2.56). 1156s libjson-glib-1.0-0:s390x depends on libglib2.0-0 (>= 2.75.3). 1156s libjcat1:s390x depends on libglib2.0-0 (>= 2.75.3). 1156s libgusb2:s390x depends on libglib2.0-0 (>= 2.75.3). 1156s libgudev-1.0-0:s390x depends on libglib2.0-0 (>= 2.38.0). 1156s libgirepository-1.0-1:s390x depends on libglib2.0-0 (>= 2.79.0). 1156s libfwupd2:s390x depends on libglib2.0-0 (>= 2.79.0). 1156s libblockdev3:s390x depends on libglib2.0-0 (>= 2.42.2). 1156s libblockdev-utils3:s390x depends on libglib2.0-0 (>= 2.75.3). 1156s libblockdev-swap3:s390x depends on libglib2.0-0 (>= 2.42.2). 1156s libblockdev-part3:s390x depends on libglib2.0-0 (>= 2.42.2). 1156s libblockdev-nvme3:s390x depends on libglib2.0-0 (>= 2.42.2). 1156s libblockdev-mdraid3:s390x depends on libglib2.0-0 (>= 2.42.2). 1156s libblockdev-loop3:s390x depends on libglib2.0-0 (>= 2.42.2). 1156s libblockdev-fs3:s390x depends on libglib2.0-0 (>= 2.42.2). 1156s libblockdev-crypto3:s390x depends on libglib2.0-0 (>= 2.42.2). 1156s fwupd depends on libglib2.0-0 (>= 2.79.0). 1156s bolt depends on libglib2.0-0 (>= 2.56.0). 1156s 1156s (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 ... 52171 files and directories currently installed.) 1156s Removing libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 1156s Selecting previously unselected package libglib2.0-0t64:s390x. 1157s (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 ... 52146 files and directories currently installed.) 1157s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_s390x.deb ... 1157s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:s390x.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 1157s removed '/var/lib/dpkg/info/libglib2.0-0:s390x.postrm' 1157s Unpacking libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 1157s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 1157s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 1157s Selecting previously unselected package xdg-user-dirs. 1157s Preparing to unpack .../xdg-user-dirs_0.18-1_s390x.deb ... 1157s Unpacking xdg-user-dirs (0.18-1) ... 1157s Setting up xdg-user-dirs (0.18-1) ... 1157s Setting up libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 1157s No schema files found: doing nothing. 1157s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 1157s Setting up gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) ... 1157s Processing triggers for man-db (2.12.0-3) ... 1157s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1157s Reading package lists... 1157s Building dependency tree... 1157s Reading state information... 1158s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1158s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 1158s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 1158s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 1159s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 1160s Reading package lists... 1160s Reading package lists... 1160s Building dependency tree... 1160s Reading state information... 1160s Calculating upgrade... 1160s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1160s Reading package lists... 1160s Building dependency tree... 1160s Reading state information... 1161s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1170s Reading package lists... 1171s Building dependency tree... 1171s Reading state information... 1171s Starting pkgProblemResolver with broken count: 0 1171s Starting 2 pkgProblemResolver with broken count: 0 1171s Done 1171s The following additional packages will be installed: 1171s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1171s libdconf1 session-migration 1171s Suggested packages: 1171s fakeroot 1171s The following NEW packages will be installed: 1171s autopkgtest-satdep dconf-gsettings-backend dconf-service dpkg-repack 1171s gsettings-desktop-schemas libdconf1 session-migration 1171s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 1171s Need to get 144 kB/145 kB of archives. 1171s After this operation, 667 kB of additional disk space will be used. 1171s Get:1 /tmp/autopkgtest.bRsZmz/17-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [752 B] 1171s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libdconf1 s390x 0.40.0-4 [38.9 kB] 1172s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x dconf-service s390x 0.40.0-4 [27.0 kB] 1172s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x dconf-gsettings-backend s390x 0.40.0-4 [21.6 kB] 1172s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x dpkg-repack all 1.52 [12.1 kB] 1172s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x session-migration s390x 0.3.6 [9488 B] 1172s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x gsettings-desktop-schemas all 46~beta-3ubuntu1 [35.3 kB] 1172s Fetched 144 kB in 1s (179 kB/s) 1172s Selecting previously unselected package libdconf1:s390x. 1172s (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 ... 52185 files and directories currently installed.) 1172s Preparing to unpack .../0-libdconf1_0.40.0-4_s390x.deb ... 1172s Unpacking libdconf1:s390x (0.40.0-4) ... 1172s Selecting previously unselected package dconf-service. 1172s Preparing to unpack .../1-dconf-service_0.40.0-4_s390x.deb ... 1172s Unpacking dconf-service (0.40.0-4) ... 1172s Selecting previously unselected package dconf-gsettings-backend:s390x. 1172s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4_s390x.deb ... 1172s Unpacking dconf-gsettings-backend:s390x (0.40.0-4) ... 1172s Selecting previously unselected package dpkg-repack. 1172s Preparing to unpack .../3-dpkg-repack_1.52_all.deb ... 1172s Unpacking dpkg-repack (1.52) ... 1172s Selecting previously unselected package session-migration. 1172s Preparing to unpack .../4-session-migration_0.3.6_s390x.deb ... 1172s Unpacking session-migration (0.3.6) ... 1172s Selecting previously unselected package gsettings-desktop-schemas. 1172s Preparing to unpack .../5-gsettings-desktop-schemas_46~beta-3ubuntu1_all.deb ... 1172s Unpacking gsettings-desktop-schemas (46~beta-3ubuntu1) ... 1172s Selecting previously unselected package autopkgtest-satdep. 1172s Preparing to unpack .../6-17-autopkgtest-satdep.deb ... 1172s Unpacking autopkgtest-satdep (0) ... 1172s Setting up session-migration (0.3.6) ... 1172s Created symlink /etc/systemd/user/graphical-session-pre.target.wants/session-migration.service → /usr/lib/systemd/user/session-migration.service. 1172s Setting up dpkg-repack (1.52) ... 1172s Setting up libdconf1:s390x (0.40.0-4) ... 1172s Setting up dconf-service (0.40.0-4) ... 1172s Setting up dconf-gsettings-backend:s390x (0.40.0-4) ... 1172s Setting up gsettings-desktop-schemas (46~beta-3ubuntu1) ... 1172s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1172s Processing triggers for man-db (2.12.0-3) ... 1173s Processing triggers for libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 1173s Setting up autopkgtest-satdep (0) ... 1175s (Reading database ... 52268 files and directories currently installed.) 1175s Removing autopkgtest-satdep (0) ... 1194s autopkgtest [22:06:01]: test 1065022-futureproofing: [----------------------- 1194s + export DEBIAN_FRONTEND=noninteractive 1194s + n=0 1194s + failed=0 1194s + binary_package=libglib2.0-0t64 1194s + future_binary_package=libglib2.0-0xyz 1194s + pwd 1194s + srcdir=/tmp/autopkgtest.bRsZmz/build.BmY/src 1194s + mktemp -d 1194s + tmpdir=/tmp/tmp.hqKVKuPo8w 1194s + cd /tmp/tmp.hqKVKuPo8w 1194s + [ -e /tmp/autopkgtest.bRsZmz/build.BmY/src/debian/tests/manual/local-1065022.sources ] 1194s + dpkg-query -W dpkg-repack 1194s dpkg-repack 1.52 1194s + dpkg-repack --generate libglib2.0-0t64 1194s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1194s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.xjkFp2 for libglib2.0-0t64 1194s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.xjkFp2 ." 1194s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.xjkFp2/DEBIAN/control 1194s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.xjkFp2/DEBIAN/control 1194s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.xjkFp2/DEBIAN/control 1194s + env binary_package=libglib2.0-0t64 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.xjkFp2/DEBIAN/control 1194s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.xjkFp2 libglib2.0-0xyz.deb 1194s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1196s + apt-get -y install ./libglib2.0-0xyz.deb 1196s Reading package lists... 1196s Building dependency tree... 1196s Reading state information... 1197s The following packages were automatically installed and are no longer required: 1197s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 1197s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 1197s python3-problem-report python3-pyparsing python3-six python3-systemd 1197s python3-wadllib 1197s Use 'sudo apt autoremove' to remove them. 1197s Suggested packages: 1197s low-memory-monitor 1197s The following packages will be REMOVED: 1197s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 1197s libglib2.0-0t64 networkd-dispatcher python3-gi 1197s The following NEW packages will be installed: 1197s libglib2.0-0xyz 1197s 0 upgraded, 1 newly installed, 7 to remove and 0 not upgraded. 1197s Need to get 0 B/1566 kB of archives. 1197s After this operation, 2861 kB disk space will be freed. 1197s Get:1 /tmp/tmp.hqKVKuPo8w/libglib2.0-0xyz.deb libglib2.0-0xyz s390x 2.79.3-3ubuntu5 [1566 kB] 1197s (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 ... 52268 files and directories currently installed.) 1197s Removing networkd-dispatcher (2.2.4-1) ... 1197s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 1198s Removing apport (2.28.0-0ubuntu1) ... 1198s Removing python3-gi (3.47.0-3) ... 1198s Removing gir1.2-girepository-2.0:s390x (1.79.1-1) ... 1198s Removing gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) ... 1198s dpkg: libglib2.0-0t64:s390x: dependency problems, but removing anyway as you requested: 1198s udisks2 depends on libglib2.0-0 (>= 2.77.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s shared-mime-info depends on libglib2.0-0 (>= 2.75.3); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s session-migration depends on libglib2.0-0 (>= 2.51.1); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s s390-tools depends on libglib2.0-0 (>= 2.77.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s python3-dbus depends on libglib2.0-0 (>= 2.16.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s netplan.io depends on libglib2.0-0 (>= 2.70.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s netplan-generator depends on libglib2.0-0 (>= 2.70.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libxmlb2:s390x depends on libglib2.0-0 (>= 2.54.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libvolume-key1:s390x depends on libglib2.0-0 (>= 2.18.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libudisks2-0:s390x depends on libglib2.0-0 (>= 2.75.3); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libqrtr-glib0:s390x depends on libglib2.0-0 (>= 2.56); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libqmi-glib5:s390x depends on libglib2.0-0 (>= 2.54.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libpolkit-gobject-1-0:s390x depends on libglib2.0-0 (>= 2.38.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libpolkit-agent-1-0:s390x depends on libglib2.0-0 (>= 2.38.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libnetplan0:s390x depends on libglib2.0-0 (>= 2.75.3); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libmm-glib0:s390x depends on libglib2.0-0 (>= 2.62.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libmbim-proxy depends on libglib2.0-0 (>= 2.56); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libmbim-glib4:s390x depends on libglib2.0-0 (>= 2.56); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libjson-glib-1.0-0:s390x depends on libglib2.0-0 (>= 2.75.3); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libjcat1:s390x depends on libglib2.0-0 (>= 2.75.3); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libgusb2:s390x depends on libglib2.0-0 (>= 2.75.3); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libgudev-1.0-0:s390x depends on libglib2.0-0 (>= 2.38.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libgirepository-1.0-1:s390x depends on libglib2.0-0 (>= 2.79.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libfwupd2:s390x depends on libglib2.0-0 (>= 2.79.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libdconf1:s390x depends on libglib2.0-0 (>= 2.55.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libblockdev3:s390x depends on libglib2.0-0 (>= 2.42.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libblockdev-utils3:s390x depends on libglib2.0-0 (>= 2.75.3); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libblockdev-swap3:s390x depends on libglib2.0-0 (>= 2.42.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libblockdev-part3:s390x depends on libglib2.0-0 (>= 2.42.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libblockdev-nvme3:s390x depends on libglib2.0-0 (>= 2.42.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libblockdev-mdraid3:s390x depends on libglib2.0-0 (>= 2.42.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libblockdev-loop3:s390x depends on libglib2.0-0 (>= 2.42.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libblockdev-fs3:s390x depends on libglib2.0-0 (>= 2.42.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s libblockdev-crypto3:s390x depends on libglib2.0-0 (>= 2.42.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s fwupd depends on libglib2.0-0 (>= 2.79.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s dconf-service depends on libglib2.0-0 (>= 2.55.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s dconf-gsettings-backend:s390x depends on libglib2.0-0 (>= 2.55.2); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s bolt depends on libglib2.0-0 (>= 2.56.0); however: 1198s Package libglib2.0-0:s390x is not installed. 1198s Package libglib2.0-0t64:s390x which provides libglib2.0-0 is to be removed. 1198s 1198s Removing libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 1198s Selecting previously unselected package libglib2.0-0xyz:s390x. 1198s (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 ... 52078 files and directories currently installed.) 1198s Preparing to unpack .../libglib2.0-0xyz.deb ... 1198s Unpacking libglib2.0-0xyz:s390x (2.79.3-3ubuntu5) ... 1198s Setting up libglib2.0-0xyz:s390x (2.79.3-3ubuntu5) ... 1198s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1198s Processing triggers for man-db (2.12.0-3) ... 1199s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1199s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1199s + n=1 1199s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1199s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1199s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1199s + n=2 1199s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1199s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1199s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1199s + ok 3 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1199s ok 4 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1199s ok 5 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1199s ok 6 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1199s Reading package lists... 1199s Building dependency tree...assert test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1199s + n=3 1199s + test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1199s + echo ok 3 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1199s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1199s + n=4 1199s + test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1199s + echo ok 4 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1199s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1199s + n=5 1199s + test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1199s + echo ok 5 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1199s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1199s + n=6 1199s + test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1199s + echo ok 6 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1199s + apt-get -y purge libglib2.0-0t64 1199s 1199s Reading state information... 1199s The following packages were automatically installed and are no longer required: 1199s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 1199s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 1199s python3-problem-report python3-pyparsing python3-six python3-systemd 1199s python3-wadllib 1199s Use 'sudo apt autoremove' to remove them. 1199s The following packages will be REMOVED: 1199s libglib2.0-0t64* 1200s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1200s After this operation, 0 B of additional disk space will be used. 1200s (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 ... 52099 files and directories currently installed.) 1200s Purging configuration files for libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 1200s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1200s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1200s ok 9 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1200s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1200s + n=7 1200s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1200s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1200s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1200s + n=8 1200s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1200s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1200s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1200s + n=9 1200s + test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1200s + echo ok 9 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1200s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1200s + n=10 1200s + test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1200s + echo ok 10 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1200s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1200s + n=11 1200s + test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1200s + echo ok 11 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1200s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1200s + n=12 1200s + test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1200s + echo ok 12 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1200s + apt-get -y purge libglib2.0-0xyz 1200s ok 10 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1200s ok 11 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1200s ok 12 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1200s Reading package lists... 1200s Building dependency tree... 1200s Reading state information... 1200s The following packages were automatically installed and are no longer required: 1200s apport-symptoms fuse3 jq libarchive13 libatasmart4 libbytesize-common 1200s libbytesize1 libcurl3-gnutls libflashrom1 libftdi1-2 libfuse3-3 1200s libglib2.0-data libgpgme11 libjq1 libjson-glib-1.0-common libnspr4 libnss3 1200s libnvme1 libonig5 libprotobuf-c1 python3-apport python3-blinker 1200s python3-certifi python3-cffi-backend python3-chardet python3-configobj 1200s python3-cryptography python3-debconf python3-httplib2 python3-jwt 1200s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 1200s python3-markdown-it python3-mdurl python3-netifaces python3-oauthlib 1200s python3-openssl python3-problem-report python3-pygments python3-pyparsing 1200s python3-requests python3-rich python3-six python3-systemd python3-urllib3 1200s python3-wadllib s390-tools-data s390-tools-signed xdg-user-dirs 1200s Use 'sudo apt autoremove' to remove them. 1200s The following packages will be REMOVED: 1200s bolt* cloud-init* dconf-gsettings-backend* dconf-service* fwupd* 1200s gsettings-desktop-schemas* libblockdev-crypto3* libblockdev-fs3* 1200s libblockdev-loop3* libblockdev-mdraid3* libblockdev-nvme3* 1200s libblockdev-part3* libblockdev-swap3* libblockdev-utils3* libblockdev3* 1200s libdconf1* libfwupd2* libgirepository-1.0-1* libglib2.0-0xyz* 1200s libgudev-1.0-0* libgusb2* libjcat1* libjson-glib-1.0-0* libmbim-glib4* 1200s libmbim-proxy* libmm-glib0* libnetplan0* libpolkit-agent-1-0* 1200s libpolkit-gobject-1-0* libqmi-glib5* libqmi-proxy* libqrtr-glib0* 1200s libudisks2-0* libvolume-key1* libxmlb2* netplan-generator* netplan.io* 1200s python3-dbus* python3-netplan* s390-tools* session-migration* 1200s shared-mime-info* sysconfig-hardware* ubuntu-minimal* udisks2* 1201s 0 upgraded, 0 newly installed, 45 to remove and 0 not upgraded. 1201s After this operation, 45.7 MB disk space will be freed. 1201s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52099 files and directories currently installed.) 1201s Removing bolt (0.9.6-2) ... 1201s Removing cloud-init (24.1.1-0ubuntu1) ... 1201s Removing gsettings-desktop-schemas (46~beta-3ubuntu1) ... 1201s Removing dconf-gsettings-backend:s390x (0.40.0-4) ... 1201s Removing dconf-service (0.40.0-4) ... 1201s Removing fwupd (1.9.14-1) ... 1202s Removing udisks2 (2.10.1-1ubuntu2) ... 1202s Removing libblockdev-crypto3:s390x (3.1.0-1) ... 1202s Removing libblockdev-fs3:s390x (3.1.0-1) ... 1202s Removing libblockdev-loop3:s390x (3.1.0-1) ... 1202s Removing libblockdev-mdraid3:s390x (3.1.0-1) ... 1202s Removing libblockdev-nvme3:s390x (3.1.0-1) ... 1202s Removing libblockdev-part3:s390x (3.1.0-1) ... 1202s Removing libblockdev-swap3:s390x (3.1.0-1) ... 1202s Removing libblockdev3:s390x (3.1.0-1) ... 1202s Removing libblockdev-utils3:s390x (3.1.0-1) ... 1202s Removing libdconf1:s390x (0.40.0-4) ... 1202s Removing libfwupd2:s390x (1.9.14-1) ... 1202s Removing libgirepository-1.0-1:s390x (1.79.1-1) ... 1202s Removing session-migration (0.3.6) ... 1202s Removing shared-mime-info (2.4-1) ... 1202s Removing sysconfig-hardware (0.0.14ubuntu2) ... 1202s Removing s390-tools (2.31.0-0ubuntu1) ... 1203s Removing ubuntu-minimal (1.536build1) ... 1203s Removing netplan.io (0.107.1-3) ... 1203s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1203s Removing python3-dbus (1.3.2-5build1) ... 1203s Removing libgudev-1.0-0:s390x (1:238-3) ... 1203s Removing libgusb2:s390x (0.4.8-1) ... 1203s Removing libjcat1:s390x (0.2.0-2) ... 1203s Removing libjson-glib-1.0-0:s390x (1.8.0-2) ... 1203s Removing libqmi-proxy (1.34.0-2) ... 1203s Removing libqmi-glib5:s390x (1.34.0-2) ... 1203s Removing libmbim-proxy (1.30.0-1) ... 1203s Removing libmbim-glib4:s390x (1.30.0-1) ... 1203s Removing libmm-glib0:s390x (1.22.0-3) ... 1203s Removing python3-netplan (0.107.1-3) ... 1203s dpkg: warning: while removing python3-netplan, directory '/usr/lib/python3/dist-packages/netplan' not empty so not removed 1203s Removing netplan-generator (0.107.1-3) ... 1203s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1203s Removing libnetplan0:s390x (0.107.1-3) ... 1203s Removing libpolkit-agent-1-0:s390x (124-1) ... 1203s Removing libpolkit-gobject-1-0:s390x (124-1) ... 1203s Removing libqrtr-glib0:s390x (1.2.2-1ubuntu2) ... 1203s Removing libudisks2-0:s390x (2.10.1-1ubuntu2) ... 1203s Removing libvolume-key1:s390x (0.3.12-5build2) ... 1203s Removing libxmlb2:s390x (0.3.15-1) ... 1203s Removing libglib2.0-0xyz:s390x (2.79.3-3ubuntu5) ... 1203s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1203s Processing triggers for man-db (2.12.0-3) ... 1203s Processing triggers for dbus (1.14.10-4ubuntu1) ... 1204s Processing triggers for initramfs-tools (0.142ubuntu20) ... 1204s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 1204s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1206s (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 ... 50938 files and directories currently installed.) 1206s Purging configuration files for udisks2 (2.10.1-1ubuntu2) ... 1207s Purging configuration files for session-migration (0.3.6) ... 1207s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 1207s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 1207s Purging configuration files for sysconfig-hardware (0.0.14ubuntu2) ... 1207s Purging configuration files for libglib2.0-0xyz:s390x (2.79.3-3ubuntu5) ... 1207s Purging configuration files for libblockdev3:s390x (3.1.0-1) ... 1207s Purging configuration files for shared-mime-info (2.4-1) ... 1207s Purging configuration files for s390-tools (2.31.0-0ubuntu1) ... 1208s Purging configuration files for fwupd (1.9.14-1) ... 1208s Purging configuration files for bolt (0.9.6-2) ... 1208s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 1208s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1208s + n=13 1208s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1208s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1208s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1208s + n=14 1208s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1208s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1208s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1208s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1208s + assert_notok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1208s test -e /usr/lib/*/gio/modules/libdconfsettings.so 1208s + n=15 1208s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1208s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1208s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1208s + n=16 1208s + test -e /usr/lib/*/gio/modules/giomodule.cache 1208s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1208s + echo 1..16 1208s + exit 0 1208s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1208s 1..16 1209s autopkgtest [22:06:16]: test 1065022-futureproofing: -----------------------] 1209s autopkgtest [22:06:16]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1209s 1065022-futureproofing PASS 1210s autopkgtest [22:06:17]: @@@@@@@@@@@@@@@@@@@@ summary 1210s build PASS (superficial) 1210s build-static PASS (superficial) 1210s installed-tests PASS 1210s closure-refcount PASS 1210s debugcontroller PASS 1210s gdbus-server-auth PASS 1210s gdbus-threading PASS 1210s gmenumodel PASS 1210s mainloop PASS 1210s memory-monitor-dbus PASS 1210s socket PASS 1210s testfilemonitor PASS 1210s thread-pool-slow PASS 1210s threadtests PASS 1210s timeout PASS 1210s timer PASS 1210s 1065022-futureproofing PASS 1221s Creating nova instance adt-noble-s390x-glib2.0-20240319-214607-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240319.img (UUID e548347a-8530-49a1-9caa-86a7013f2b8b)... 1221s Creating nova instance adt-noble-s390x-glib2.0-20240319-214607-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240319.img (UUID e548347a-8530-49a1-9caa-86a7013f2b8b)... 1221s Creating nova instance adt-noble-s390x-glib2.0-20240319-214607-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240319.img (UUID e548347a-8530-49a1-9caa-86a7013f2b8b)...